Add revision diff endpoint and progressive enhancement export/wiki UI.
Diff: GET /api/v1/revisions/{id}/diff/{other_id} — unified diff between two revisions.
UI: <details>-based export menus on thread and node views (works without JS).
UI: Revision history link for wiki-mode namespaces.
This commit is contained in:
parent
75bec564b2
commit
46bdf3a217
8 changed files with 258 additions and 0 deletions
|
|
@ -191,6 +191,12 @@ curl -s "$REMARKBOX/api/v1/nodes/$NODE_ID/revisions" | python3 -m json.tool
|
|||
curl -s "$REMARKBOX/api/v1/revisions/$REVISION_ID" | python3 -m json.tool
|
||||
```
|
||||
|
||||
### Diff Revisions
|
||||
|
||||
```bash
|
||||
curl -s "$REMARKBOX/api/v1/revisions/$REVISION_ID/diff/$OTHER_REVISION_ID" | python3 -m json.tool
|
||||
```
|
||||
|
||||
## Themes
|
||||
|
||||
### Get Namespace Theme CSS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue