DocumentsApi

interface DocumentsApi

Functions

Link copied to clipboard
abstract fun create(document: Document): Later<Document>

Create a raw document

Link copied to clipboard
abstract fun delete(identifier: String): Later<String>

Delete a document

Link copied to clipboard
abstract fun list(limit: Int = DEFAULT_LIMIT, page: Int = 1, template: String? = null, group: String? = null, stage: Stage = Stage.published): Later<List<Document>>

Get documents

Link copied to clipboard
abstract fun update(document: Document): Later<Document>

Update a document with new information