list
abstract fun list(limit: Int = DEFAULT_LIMIT, page: Int = 1, template: String? = null, group: String? = null, stage: JoyStage = JoyStage.published): Later<List<Document>>
Get documents
Return
Parameters
limit
A limit on the number of objects to be returned. Limit can range between 1 and 100
page
For use with pagination. For instance, if limit is set to 25 and you set page to 2 then results 26-50 will be returned.
template
Specifies an original source template identifier to filter documents
group
Filter documents by a specific group identifier. Only documents that belong to the specified group will be returned