[API Request]: Page Revisions Endpoint #2526

Open
opened 2026-02-05 04:24:49 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @amelszg on GitHub (Dec 13, 2021).

API Endpoint or Feature

Read-only, stand-alone Revisions Endpoint (preferable) or returning revisions collection per page detail in /api/pages/{id}

Use-Case

Properly determine via API when page content has exactly changed (updated_at page property doesn't necessarily reflect page content change) and for which reason (changelog).

Additional context

Stand-alone /api/revisions endpoint would be preferred for performance reasons, to be able to fetch all revisions at once and then do necessary calculations and groupings per book/page on API client side.

Needed minimal data per revision record:

  • id
  • page_id
  • created_by
  • revision_date
  • changelog
  • revision_number (optional, can be infered by revision_date asc sorting)
Originally created by @amelszg on GitHub (Dec 13, 2021). ### API Endpoint or Feature Read-only, stand-alone Revisions Endpoint (preferable) or returning revisions collection per page detail in /api/pages/{id} ### Use-Case Properly determine via API when page content has exactly changed (updated_at page property doesn't necessarily reflect page content change) and for which reason (changelog). ### Additional context Stand-alone /api/revisions endpoint would be preferred for performance reasons, to be able to fetch all revisions at once and then do necessary calculations and groupings per book/page on API client side. Needed minimal data per revision record: - id - page_id - created_by - revision_date - changelog - revision_number (optional, can be infered by revision_date asc sorting)
OVERLORD added the 🔩 API Request label 2026-02-05 04:24:49 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2526