v1

latestOpenAPI 3.0.02026-07-14422039.0 KB
Permissions

Permissions: Story Authorization for a User

Check whether user have certain types of permissions. Use http status codes to understand if permission is granted - 204 = Granted, 403 = Forbidden

get/{id}/collaborators/authorize/{story_collaborator_userid}/{permissiontype}

Path parameters

idstring uuid required

the id from the story object

story_collaborator_useridstring uuid required

The presalytics userid (NOT the Id of the story_collaborator object)

permissiontypestring required

the type of permission requested. can be a permission_type object name (e.g., owner, editor, create, viewer, admin) or a permission type field (e.g., can_edit, can_view, can_add_collaborators, can_delete)

Response

Success