Public Documents

Bnder API documentation for Public Documents. Read the API Overview to get started and learn more.

Get all public documents

Gets all public documents the specified guild to the domain. Can be filtered by project id and number of results limited. Defaults to 100 results maximum

GET/consumer/v1/page/pageDomain/documents
ParametersDescription
pageDomainThe public domain of a page
limitThe number of items to return
project_idThe ID of the project

Request body

empty

Response

Status: 200 - Documents retrieved

FieldTypeDescription
documentsarrayList of documents
topicsarrayList of topics related to the documents
projectsarrayList of projects related to the documents
workspace_namestringName of the workspace the documents belong to

Get a single public document

Gets a single public document by id

GET/consumer/v1/page/pageDomain/documents/documentId
ParametersDescription
pageDomainThe public domain of a page
documentIdThe ID of the document

Request body

empty

Response

Status: 200 - Document retrieved

FieldTypeDescription
idstringID of the document
project_idstringID of the project the document belongs to
titlestringTitle of the document
contentstringContent of the document
topic_idstringID of the topic the document belongs to
in_binbooleanWhether the document is in the bin
delete_datestringDate the document will be deleted if in the bin
last_modifiedstringDate the document was last modified
is_publicbooleanWhether the document is public