Skip to content

List an article's revisions

GET
/v1/articles/{id}/revisions
curl --request GET \
--url https://api.orator.space/v1/articles/example/revisions \
--header 'Authorization: Bearer <token>'
id
required
string
cursor
string
<= 200 characters

The id of the last item on the previous page

limit
integer
>= 1 <= 100

List an article's revisions

Media typeapplication/json
object
items
required
Array<object>
object
id
required

A 26-character Crockford base32 identifier

string
>= 26 characters <= 26 characters
title
required
string
content_hash
required
string
content_bytes
required
integer
>= -9007199254740991 <= 9007199254740991
parent_revision_id
required
Any of:

A 26-character Crockford base32 identifier

string
>= 26 characters <= 26 characters
created_by
required

A 26-character Crockford base32 identifier

string
>= 26 characters <= 26 characters
signed
required
boolean
created_at
required

RFC 3339, UTC, milliseconds

string
next_cursor
required
Any of:
string
Examplegenerated
{
"items": [
{
"id": "example",
"title": "example",
"content_hash": "example",
"content_bytes": 1,
"parent_revision_id": "example",
"created_by": "example",
"signed": true,
"created_at": "example"
}
],
"next_cursor": "example"
}

Not-found

Media typeapplication/problem+json

RFC 9457 Problem Details (SPEC 45).

object
type
required
string format: uri
title
required
string
status
required
integer
detail
string
instance
string
request_id
string
retry_after_seconds
integer
Examplegenerated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"request_id": "example",
"retry_after_seconds": 1
}