Aller au contenu principal

List Access Rights

GET 

/v1/access-rights/:folder_id/:resource_type

List the grants on one kind of content in one folder.

A folder holds a separate list per resource type, so every grant on a folder is the sum of one call per type; the answer echoes resourceType and folderId, and total counts that pair only. enforced: false marks a type no grant governs: its rows, if any, change nothing.

Cursor-paginated: pass nextKey back as exclusiveStartKey; nextKey: null is the last page.

Cursor-paginated. The wire query parameter is exclusiveStartKey (what the cURL tab and the parameter table show); the TypeScript SDK takes it as the exclusiveStartKey option and the Python SDK as the exclusive_start_key keyword — one parameter, spelled per language. Pass the previous page's nextKey and stop when it comes back null — or let iterAll() / iter_all() drive the cursor for you (see the SDKs page, "Pagination").

Request​

Responses​

Successful Response