| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| media type | data type | description |
|---|---|---|
| application/json | array of string (JSON) |
GET /groups
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
...
| name | type | description | default | constraints |
|---|---|---|---|---|
| accessType | formdata | "ADMINISTRATOR" or "READ_ONLY" or "WRITE_ALL" or "WRITE_OWNER" | ||
| folderOwner | formdata | |||
| group | formdata | |||
| useDefaultStorage | formdata | true | boolean | |
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| media type | data type |
|---|---|
| multipart/form-data | (custom) |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) |
POST /groups
Content-Type: multipart/form-data
Accept: application/json
Authorization: ...
...
HTTP/1.1 201 Created
Content-Type: application/json
...
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| group | path |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) |
DELETE /groups/{group}
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 204 No Content
Content-Type: application/json
...
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| groupId | path |
| media type | data type | description |
|---|---|---|
| application/json | array of string (JSON) |
GET /groups/{groupId}/admins
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
...
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| groupId | path |
| media type | data type | description |
|---|---|---|
| application/json | array of string (JSON) |
GET /groups/{groupId}/users
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 200 OK
Content-Type: application/json
...
| name | type | description |
|---|---|---|
| userId | form | |
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| id | path |
| media type | data type |
|---|---|
| application/x-www-form-urlencoded | (custom) |
PUT /groups/{id}/admins
Content-Type: application/x-www-form-urlencoded
Authorization: ...
...
HTTP/1.1 204 No Content
| name | type | description |
|---|---|---|
| userId | form | |
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| id | path |
| media type | data type |
|---|---|
| application/x-www-form-urlencoded | (custom) |
| media type | data type | description |
|---|---|---|
| application/json | boolean (JSON) |
PUT /groups/{id}/users
Content-Type: application/x-www-form-urlencoded
Accept: application/json
Authorization: ...
...
HTTP/1.1 204 No Content
Content-Type: application/json
...
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| groupId | path | |
| userId | path |
| media type | data type | description |
|---|---|---|
| application/json | boolean (JSON) |
DELETE /groups/{groupId}/users/{userId}
Content-Type: */*
Accept: application/json
Authorization: ...
...
HTTP/1.1 204 No Content
Content-Type: application/json
...
| name | type | description |
|---|---|---|
| Authorization | header | Bearer token, see https://dev.d4science.org/how-to-access-resources |
| id | path | |
| userId | path |
| media type | data type |
|---|---|
| application/x-www-form-urlencoded | (custom) |
DELETE /groups/{id}/admins/{userId}
Content-Type: application/x-www-form-urlencoded
Authorization: ...
...
HTTP/1.1 204 No Content