-
Notifications
You must be signed in to change notification settings - Fork 2
REST API
NOTE: The page is under construction.
DKB REST API is available (from CERN network) at: http://aiatlas172.cern.ch:5080/
Common parameters (for all methods):
- `?rtype=...` -- response format. Allowed values: `json` (default), `img` (only for /task/hist);
- `?pretty` -- pretty-print JSON.
{
"status": "OK"|"Fail",
"took_total_ms": <ms>,
"took_storage_ms": <ms>,
"data": <method response>,
"error": <error details>
}
NOTE: not all fields are presented simultaneously; e.g. if `"status"` is `"Fail"`, `"data"` clause will be missed. And vice versa: if `"status"` is `"OK"`, `"error"` details won't be provided.
Method name: /server_info
URL: http://aiatlas172.cern.ch:5080/server_info?pretty
Parameters: none
Response format: ...
NOTE: method is not fully implemented.
Method name: /info
URL: http://aiatlas172.cern.ch:5080/info?pretty
Parameters: none
Response format: ...
Method name: /task/chain
URL: http://aiatlas172.cern.ch:5080/task/chain?tid=16655409&pretty
Parameters:
- `?tid=...` -- task ID for which chain will be reconstructed.
Method name: /task/hist
URL: http://aiatlas172.cern.ch:5080/task/hist?htags=mc16e_cp&pretty
Parameters:
- `?rtype=...` -- response format: JSON (`json`) or PNG image (`img`);
- ...
Method name: /task/deriv
URL: http://aiatlas172.cern.ch:5080/task/deriv?project=data18_13TeV&amitag=p3553&pretty
Parameters:
- `?amitag=...` -- ...;
- `?project=...` -- ... .
Method name: /campaign/stat
Parameters: ...
Response format: ...
Method name: /step/stat
URL: http://aiatlas172.cern.ch:5080/step/stat?pretty&htag=newfastcalosimntuponly
Parameters: ...
Response format: ...