Context

Get a context document revision

Returns a single revision including its captured title and markdown content. Unknown or deleted slugs, and uncaptured revisions, respond 404.

get/api/v1/context/{slug}/revisions/{revision}

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/context/{slug}/revisions/{revision}
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

slugstring required
revisioninteger required

Response

The revision record, including its snapshot content.

revisioninteger required
titlestring required
authorType'agent' | 'api' | 'user' required
authorIdstring required
changeSummarystring nullable required

Optional note recorded with the revision.

createdAtstring required
contentstring required

The captured markdown snapshot at this revision.

propertiesobject required

The document properties captured at this revision.

Changes

No recorded changes to this operation across all 1 revision of this API.