VO Rest API¶
Overview
Resource |
Operation |
Description |
---|---|---|
RecoverVO |
Recover VO root identity. |
|
VO |
Add a VOs. |
|
Update a VOs. |
||
VOs |
List all VOs. |
Details
-
GET
/vos/
¶ List all VOs.
- Response Headers
Content-Type – application/x-json-stream
- Status Codes
200 OK – VOs found.
401 Unauthorized – Invalid Auth Token.
409 Conflict – Unsupported operation.
500 Internal Server Error – Internal Error.
- Returns
A list containing all VOs.
-
POST
/vos/
(vo)/recover
¶ Recover root identity for a given VO
- Parameters
root_vo – VO to be recovered.
- Request JSON Object
identity (string) – Identity key to use.
authtype (string) – Type of identity.
email (string) – Admin email for VO.
email – Password for identity.
default (bool) – Whether to use identity as account default.
- Status Codes
201 Created – VO recovered successfully.
401 Unauthorized – Invalid Auth Token.
404 Not Found – Account not found.
409 Conflict – Unsupported operation.
500 Internal Server Error – Internal Error.
-
POST
/vos/
(vo)¶ Add a VO with a given name.
- Parameters
new_vo – VO to be added.
- Request JSON Object
description (string) – Desciption of VO.
email (string) – Admin email for VO.
- Status Codes
201 Created – VO created successfully.
401 Unauthorized – Invalid Auth Token.
409 Conflict – Unsupported operation.
500 Internal Server Error – Internal Error.
-
PUT
/vos/
(vo)¶ Update the details for a given VO
- Parameters
updated_vo – VO to be updated.
- Request JSON Object
description (string) – Desciption of VO.
email (string) – Admin email for VO.
- Status Codes
200 OK – VO updated successfully.
401 Unauthorized – Invalid Auth Token.
404 Not Found – VO not found.
409 Conflict – Unsupported operation.
500 Internal Server Error – Internal Error.