v1

latestOpenAPI 3.0.02026-07-1717466209.0 KB
Collections

Get user's collection permissions

Get all collections with user's permission levels for view, edit, and admin access

get/collections/permissions

Response

successful operation

statusstring

Response status

user_idinteger

User ID requesting permissions

is_adminboolean

Whether user has admin privileges

admin_type'global' | 'collection' | 'none'

Type of admin access (global, collection, none)

collectionsobject

Collection permissions keyed by collection ID

Example response

{
  "status": "success",
  "user_id": 123,
  "admin_type": "collection"
}