View documents
Get list of documents
get
Authorizations
Query parameters
spaceIndexstringOptional
Space index to which docs belong
Responses
200
Get all documents for space (based on routine it belongs)
application/json
get
GET /api/documents HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
200
Get all documents for space (based on routine it belongs)
{
"documents": [
"text"
]
}
Get single document
get
Authorizations
Path parameters
documentIndexstringRequired
Responses
200
Get single document
application/json
get
GET /api/documents/{documentIndex} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
200
Get single document
{
"name": "text",
"documentIndex": "text",
"routineIndex": {},
"description": "text",
"pages": [
"text"
],
"zones": [
"text"
]
}
Last updated
Was this helpful?