Get a Revision by Article ID and Revision ID

PropertyDescription
MethodGET
Path/open/v1/spaces/$me/articles/{articleId}/revisions/{revisionId}
Accept-
Content-Typeapplication/json
DescriptionRetrieves a revision of an article specified by article and revision ID.
  • Request
    • Query
      (empty)
    • Body
      // (empty)
      
  • Response
    type RevisionView = {
      revision: Revision
      author: Author
    }
    

Batch Get Revisions by Article ID and Revision IDs

PropertyDescription
MethodGET
Path/open/v1/spaces/$me/articles/{articleId}/revisions/batch
Accept-
Content-Typeapplication/json
DescriptionRetrieves multiple revisions of an article by IDs. Can fetch up to 25 revisions at once.
  • Request

    • Query

      ParamRequired?DefaultTypeDescriptionExample
      ids[]O-string[]IDs of revisions to fetch.?ids[]=42&ids[]=37
    • Body

      // (empty)
      
  • Response

    type RevisionView = {
      revisions: Revision[]
      authors: Author[]
    }
    

List by Article ID and Language

PropertyDescription
MethodGET
Path/open/v1/spaces/$me/articles/{articleId}/revisions
Accept-
Content-Typeapplication/json
DescriptionRetrieves a paginated list of revisions of an article, ordered by update timestamp.
  • Request

    • Query

      ParamRequired?DefaultTypeDescriptionExample
      languageO-stringRequested languageko
      limitX25numberUsed for pagination25
      sinceXstringUsed for pagination1707017182188
      orderXasc‘asc’ | 'desc'Sort orderasc
    • Body

      // (empty)
      
  • Response

    type RevisionListView = {
      revisions: Revision[]
      authors: Author[]
      next?: string
    }