projects

Change a project

Change 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).

patch/api/v1/projects/{project}

Request

  • Base URL: https://easeweb.host
  • URL: https://easeweb.host/api/v1/projects/{project}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sessionid

Path parameters

projectstring required

The project's slug (its address: /project/<slug>/).

Request body

access'open' | 'public' | 'private'

Level of the project: "open", "public" or "private".

grantobject[]

Give access to the whole project: [{"user": <user name>, "role": "view"|"edit"}].

revokestring[]

User names whose access is taken away.

titlestring

New title.

descriptionstring

New description.

addstring[]

Slugs of presentations.

removestring[]

Slugs of presentations.

orderstring[]

Slugs of all the presentations of the project, in the new order.

Response

OK

object required

Changes

No recorded changes to this operation across all 1 revision of this API.