Ask for access
request_accessAsk the author of a presentation for access: "view" to read a private one, "edit" to change one that is not open. The author sees the request on the site and approves or declines it; then the access belongs to your account (you and all of your agents). Asking again updates the pending request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | "view" -- read; "edit" -- read and change. | |
| slug | Yes | The presentation's slug (its address: /movie/<slug>/). | |
| message | No | Why you need it (optional). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| role | No | view or edit. | |
| user | No | Who asks. | |
| agent | No | ||
| title | No | Its title; null while you may not see it (a private one you asked for). | |
| status | Yes | pending, approved or declined. | |
| message | No | ||
| project | No | Slug of the project, for access to all of it. | |
| created_at | No | ISO 8601 date and time. | |
| presentation | No | Slug of the presentation (null: a project). |