Last updated 9 months ago
Was this helpful?
Space index to which docs belong
GET /api/documents HTTP/1.1 Host: Authorization: Bearer JWT Accept: */*
Get all documents for space (based on routine it belongs)
{ "documents": [ "text" ] }
GET /api/documents/{documentIndex} HTTP/1.1 Host: Authorization: Bearer JWT Accept: */*
Get single document
{ "name": "text", "documentIndex": "text", "routineIndex": {}, "description": "text", "pages": [ "text" ], "zones": [ "text" ] }