scope.py

GET /scopes
List all scopes.

Example request:

GET /scopes HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type:
POST /scopes
Creates scope with given scope name.

Example request:

POST /scopes HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type:
Status Codes:
  • 409 – ‘Duplicate’: e.args[0][0]
  • 404 – ‘AccountNotFound’: e.args[0][0]
  • 500 – e.__class__.__name__: e.args[0][0]
GET /scopes
List all scopes for an account.

Example request:

GET /scopes HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: 'application/json'
Status Codes:
  • 404 – ‘AccountNotFound’: e.args[0][0]
  • 404 – ‘ScopeNotFound’: ‘no scopes found for account ID ‘%s’’ % account
Rucio logo

Previous topic

rule.py

Next topic

subscription.py

This Page