... | ... | @@ -40,8 +40,8 @@ Operations: |
|
|
|
|
|
|
|
|
## Delegation functionality.
|
|
|
\<base URL\>/delegations
|
|
|
Operations:
|
|
|
\<base URL\>/delegations
|
|
|
Operations:
|
|
|
- GET - retrieves list of delegations belonging to authenticated user (consider paging through URL options) as text/html, application/xml or application/json.
|
|
|
- HEAD - supported.
|
|
|
- PUT - not supported.
|
... | ... | @@ -50,8 +50,8 @@ Operations: |
|
|
|
|
|
|
|
|
## Delegation as resource
|
|
|
\<base URL\>/delegations/\<delegation id\> - only available to owner of delegation
|
|
|
Operations:
|
|
|
\<base URL\>/delegations/\<delegation id\> - only available to owner of delegation
|
|
|
Operations:
|
|
|
- GET - returns public part of the stored delegation as application/x-pem-file.
|
|
|
- HEAD - supported.
|
|
|
- PUT - stores public part of delegated certificate to finish delegation procedure or to re-new delegation.
|
... | ... | @@ -59,9 +59,9 @@ Operations: |
|
|
- DELETE - removes delegation.
|
|
|
|
|
|
|
|
|
## Job control functionality:
|
|
|
\<base URL\>/jobs
|
|
|
Operations:
|
|
|
## Job control functionality
|
|
|
\<base URL\>/jobs
|
|
|
Operations:
|
|
|
- GET - retrieves list of jobs belonging to authenticated user (consider paging and filtering through URL options) as text/html, application/xml or application/json. Returned document contains minimal information about job - probably job state, references to selected sub-resources of the job. Also consider providing list of all jobs (or per-VO jobs) to special user identity (for monitoring).
|
|
|
- HEAD - supported.
|
|
|
- PUT - not supported.
|
... | ... | @@ -69,9 +69,10 @@ Operations: |
|
|
- DELETE - initiates clear request for all jobs belonging to authenticated user.
|
|
|
|
|
|
|
|
|
## Job as resource. Each job is represented by URL
|
|
|
\<base URL\>/jobs/\<job id\>
|
|
|
Operations:
|
|
|
## Job as resource.
|
|
|
Each job is represented by URL
|
|
|
\<base URL\>/jobs/\<job id\>
|
|
|
Operations:
|
|
|
- GET - Retrieves full information about job (famous XML file, possibly automatically converted to JSON).
|
|
|
- HEAD - supported.
|
|
|
- DELETE - initiates clear request for the job.
|
... | ... | @@ -79,9 +80,9 @@ Operations: |
|
|
|
|
|
|
|
|
## Sub-resources of the job.
|
|
|
### Session directory:
|
|
|
\<base URL\>/jobs/\<job id\>/session/...
|
|
|
Operations:
|
|
|
### Session directory
|
|
|
\<base URL\>/jobs/\<job id\>/session/...
|
|
|
Operations:
|
|
|
- GET,HEAD,PUT,DELETE - supported for files stored in job's session directory and perform usual actions.
|
|
|
- GET,HEAD - for directories retrieves list of stored files (consider WebDAV for format).
|
|
|
- DELETE - for directories removes whole directory.
|
... | ... | @@ -91,17 +92,17 @@ Operations: |
|
|
|
|
|
|
|
|
### Information about job.
|
|
|
\<base URL\>/jobs/\<job id\>/\<information type\>
|
|
|
For \<information type\> just follow controldir layout.
|
|
|
Operations:
|
|
|
\<base URL\>/jobs/\<job id\>/\<information type\>
|
|
|
For \<information type\> just follow controldir layout.
|
|
|
Operations:
|
|
|
- GET - retrieves content of corresponding controldir file with type text/plain or application/xml according to file type.
|
|
|
- HEAD - supported.
|
|
|
- PUT, POST, DELETE - not supported.
|
|
|
|
|
|
|
|
|
### Information about job's delegations.
|
|
|
\<base URL\>/jobs/\<job id\>/delegations
|
|
|
\<base URL\>/jobs/\<job id\>/delegations/\<delegation id\>
|
|
|
Provides read-only access to delegations associated with the job identically to <base URL>/delegations (only GET,HEAD methods supported)
|
|
|
### Information about job's delegations.
|
|
|
\<base URL\>/jobs/\<job id\>/delegations
|
|
|
\<base URL\>/jobs/\<job id\>/delegations/\<delegation id\>
|
|
|
Provides read-only access to delegations associated with the job identically to <base URL>/delegations (only GET,HEAD methods supported)
|
|
|
|
|
|
|