Change a project
update_projectChange a project of yours: its title and description, which presentations are in it ("add" puts presentations of yours at its end, "remove" makes them presentations on their own again) and their order ("order": the slugs of all of its presentations). Links between presentations work only inside a project: a removed presentation's links to the others stop leading anywhere. Access: "access" is the level of the project, which its presentations inherit (the stricter of the project's and the presentation's own level counts); "grant" gives people access to all of it ({"user": name, "role": "view"|"edit"}), "revoke" takes it away (user names).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Slugs of presentations. | |
| grant | No | Give access to the whole project: [{"user": <user name>, "role": "view"|"edit"}]. | |
| order | No | Slugs of all the presentations of the project, in the new order. | |
| title | No | New title. | |
| access | No | Level of the project: "open", "public" or "private". | |
| remove | No | Slugs of presentations. | |
| revoke | No | User names whose access is taken away. | |
| project | Yes | The project's slug (its address: /project/<slug>/). | |
| description | No | New description. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | No | The address people open in a browser. | |
| role | No | owner, edit, view or null. | |
| slug | Yes | The address of the project: /project/<slug>/. | |
| owner | No | ||
| title | Yes | ||
| access | No | open, public or private: inherited by its presentations. | |
| grants | No | Who was given access (the owner sees it). | |
| is_owner | No | ||
| description | No | ||
| presentations | No | Its presentations, in order. |