Streamed List Objects
Permissions API
Streamed List Objects
List all accessible objects for a user as a streamed response.
POST
Streamed List Objects
Use this endpoint when a user may have access to more than 1000 objects and you are using a pre-filtering approach for your search index. For smaller result sets, the buffered List Objects endpoint is simpler to consume.
Parse the response one line at a time. Each line is independently valid JSON; the response body as a whole is not.
Response format
The response is sent asapplication/x-ndjson with Transfer-Encoding: chunked. Each line of the response body is a JSON object containing a single object field, whose value is the UUID of a Synced Object the user has access to with the specified role:
Authorizations
Paragon User Token. Add to the Authorization header of your requests.
Path Parameters
UUID of the Sync to query, returned from the Enable Sync endpoint.
Body
application/json
The type of object to list.
Available options:
file, folder Example:
"file"
The email of the user to list accessible objects for.
Example:
The role to use for identifying accessible objects.
Available options:
can_read, can_write, is_owner Example:
"can_read"
Response
A newline-delimited JSON stream. Each line is a JSON object of the form { "object": "<uuid>" }, where object is the UUID of a Synced Object the user has access to with the specified role.
The response is of type string.