Feature #8128

Updated by Tom Clegg over 4 years ago

See [[Container dispatch#Arvados-API-support]] ("Arvados API support")

Some of the required APIs don't exist yet:
* "Locked" state
* auth_uuid container_auth_uuid field: created automatically when container changes to state="Running"
* arvados.v1.containers.auth(uuid=container.uuid): arvados.v1.containers.container_auth(uuid=container.uuid): retrieve the api_client_authentication record corresponding to auth_uuid the container_auth_uuid
* api_client_authorizations.current: retrieve UUID of current token (similar to users.current). This avoids having to put the secret token anywhere other than the Authorization header.

We do have:
* Filter containers list by API token: @containers.list?filters=[[locked_by_uuid,=,my_token_uuid],[state,in,[Running,Locked]]]@
* Get list of queued containers: @containers.list?filters=[[state,=,Queued]]@
* Get UUID of current token: @api_client_authorizations.list?filters=[[api_token,=,my_token]]@