This call returns the members of a specific volume. The volume is specified as volume_id and consists of the owner and name of a volume (for example rfranklin/my-first-volume).
Request
https://cavatica-api.sbgenomics.com/v2/storage/volumes/{volume_id}/membersExample request
GET /v2/storage/volumes/rfranklin/my-first-volume/members HTTP/1.1
Host: api.sbgenomics.com
X-SBG-Auth-Token: 3259c50e1ac5426ea8f1273259740f75curl -s -H "X-SBG-Auth-Token: 6282d5e2121d43e7900e9d52b15845e7" -H "Content-type: application/json" -X GET "https://api.sbgenomics.com/storage/volumes/rfranklin/my-first-volume/members"Header Fields
Key | Description of value |
|---|---|
| Your CAVATICA authentication token. |
|
|
Path parameters
Key | Data type of value | Description of value |
|---|---|---|
| String | The volume that you want to query, which consists of username of the volume owner and volume name, for example |
Response
See a list of CAVATICA-specific response codes that may be contained in the body of the response.
Example response body
{
"username": "crickwatson",
"email": "[email protected]",
"permissions": {
"read": true,
"write": true,
"copy": true,
"admin": true
},
"joined_on": 1495107052,
"level": "USER"
},
{
"username": "rfranklin",
"email": "[email protected]",
"permissions": {
"read": false,
"write": true,
"copy": true,
"admin": false
},
"joined_on": 1495629139,
"level": "USER"
}Interpreting the response body
Volume members have the following permissions:
Key | Data type | Description |
|---|---|---|
| String | Set this to |
| String | Set this to |
| String | Set this to |
| String | Set this to |
