List Directories (POST)
Lists directories matching the request.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
created_by
Filters for directories created by any of the provided users.
cursor
The cursor to resume iteration from. If not provided, then
iteration starts from the beginning.
limit
The maximum number of directories to return. The default is '50'.
mode
The iteration mode to use. If “after”, then entries after the provided cursor will be returned, or if no cursor is provided, then from the beginning. If “before”, then entries before the provided cursor will be returned, or if no cursor is provided, then from the end. Entries will always be returned in the specified sort-by order.
Allowed values:
modified_by
Filters for directories modified by any of the provided users.
Response
List directory response.
directories
The list of directories.
next_cursor
The cursor used to iterate subsequent results in accordance to the
sort order. If not set, then no later elements exist.
prev_cursor
The cursor used to iterate preceding results in accordance to the
sort order. If not set, then no prior elements exist.