ApiKnowledge bases
Lists immutable snapshots of a document, newest revision first.
Each row contains the complete title and Markdown body after one content change, together with its cause and independent person, agent, and execution attribution. Adjacent rows are sufficient for a review client to render the exact before/after diff.
Authorization
Bearer AuthorizationBearer <token>
JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
knowledgeBase*string
The knowledge base id.
Format
uuiddocument*string
The document id.
Format
uuidtenant*string
The tenant identifier
Query Parameters
PageSize?integer
The maximum number of items to return per page
Format
int32PageToken.Skip?integer
Format
int32PageToken.Cursor?string
Opaque pagination token returned by an external service. Pass it back unchanged rather than interpreting it as an offset.
Response Body
curl -X GET "https://api.fruxon.com/v1/tenants/string/knowledgeBases/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/revisions"{
"items": [
{
"id": "00000000-0000-0000-0000-000000000000",
"knowledgeBaseId": "00000000-0000-0000-0000-000000000000",
"knowledgeDocumentId": "00000000-0000-0000-0000-000000000000",
"revision": 0,
"title": "string",
"bodyMarkdown": "string",
"cause": "AUTHORED",
"actorId": "string",
"agentId": "string",
"executionRecordId": "00000000-0000-0000-0000-000000000000",
"reviewRequired": false,
"reviewReason": "string",
"reviewReasonLabel": "string",
"createdAt": 0
}
],
"nextPageToken": "string",
"totalCount": 0
}Empty
Empty
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}