You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/API.md
+11-13Lines changed: 11 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,20 +14,11 @@
14
14
```
15
15
16
16
These have CRUD-able patterns:
17
-
GET /contribution/{id} to get
18
-
POST /contribution/ to create
17
+
GET /experimental-bouton-density/{id} to get
18
+
POST /experimental-bouton-density/ to create
19
+
PATCH /experimental-bouton-density/ to update
19
20
20
-
21
-
Note: the organizations will need to be filled in; they include ones that are not yet part of the OBI, so there isn't a one-to-one relationship with what is included virtual lab service.
22
-
Future work may include auto-additing organizations when one joins the OBI; alternatively the first time data is created, they could be added.
23
-
Currently, `Entity`s are immutable, with the exception of the `authorized_public` property (see Authorization).
24
-
25
-
TODO:
26
-
What are the ACLs on these operations?
27
-
contribution
28
-
organization
29
-
person
30
-
role
21
+
API reserved for the service admin group (see [Authorization](#Authorization)) will be prefixed by /admin/ .
31
22
32
23
# List views
33
24
The endpoint for returning the listing per type; including faceting; if no query parameter is passed, the traditional list view will be returned (ie: no filtering)
@@ -363,6 +354,13 @@ Members of the owning project can set the `authorized_public` on creation, to ma
363
354
In addition, this value can be changed by using the `PATCH` operation.
364
355
Once an `Entity` is made public, it can not be made private, since it could be already shared/used by others.
365
356
357
+
Users in the [service admin group](#service-admin-group) can read data from any project, and edit (read/update/delete) data in any project.
358
+
359
+
A resource without an authorized_project_id is called a global resource.
360
+
361
+
Global resources and public entities can be updated only by service admins.
0 commit comments