POST
/
documents
/
get-document-info

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
collection_name
string
required

The name of the collection.

path
string
required

The filepath of the document that you're requesting. A 404 Not Found status code will be returned if no document with this path was found.

include_content
boolean
default:
false

If true, then the document response will have the content attribute be a string, rather than null. This string will contain the full contents of the document.

Response

200 - application/json
document
object
required