Each HTTP request must have the following request headers set:

XA-AGENT:     agent
XA-RESOURCE:  resource
XA-API-KEY:   api-key

Resources

Gateway

Resource Description
POST /acdb/gateway/v2/job_attributes Stage job attributes
GET /acdb/gateway/v2/jobs/by_res_user_dates/<resource>/<username>/<start_date>/<end_date> All jobs by a person (found by resource and username), for all resources, in a date range
GET /acdb/gateway/v2/jobs/by_proj_dates/<grant_number>/<start_date>/<end_date> All jobs run for a project in a date range
GET /acdb/gateway/v2/jobs Last n jobs from an apikey, human-readable

Spacct

Resource Description
GET /acdb/spacct/auth_test
GET /acdb/spacct/v2/users/resource/<resource>
GET /acdb/spacct/v2/user/by_portal_login/<portal_login>
GET /acdb/spacct/v2/projects/resource/<resource>?active_only

Userinfo

Resource Description
GET /acdb/userinfo/auth_test
GET /acdb/userinfo/v2/people/by_username/<resource>/<username>
GET /acdb/userinfo/v2/people/by_portal_login/<portal_login>
GET /acdb/userinfo/v2/people/search
GET /acdb/userinfo/v2/resources/usernames/<resource>

Usermanagement

Resource Description
GET /acdb/usermanagement/auth_test
GET /acdb/usermanagement/v1/users/<request_number>/<resource_repository_key> List users for a request and resource
POST /acdb/usermanagement/v1/users/<request_number>/<resource_repository_key> Update users for a request and resource
GET /acdb/usermanagement/v1/users/<request_number>/<resource_repository_key>/<username> Check whether a user has access to a resource for a request
POST /acdb/usermanagement/v1/users/<request_number>/<resource_repository_key>/<username> Add a user to a resource for a request
DELETE /acdb/usermanagement/v1/users/<request_number>/<resource_repository_key>/<username> Remove a user from a resource for a request

Xdusage

Resource Description
GET /acdb/xdusage/auth_test
GET /acdb/xdusage/v2/api/production
GET /acdb/xdusage/v2/people/by_username/<resource>/<username>
GET /acdb/xdusage/v2/people/by_portal_username/<username>
GET /acdb/xdusage/v2/people/by_lastname/<lastname>
GET /acdb/xdusage/v2/resources/<resource_name>
GET /acdb/xdusage/v2/projects
GET /acdb/xdusage/v2/accounts/<project_id>/<resource_id>
GET /acdb/xdusage/v2/counts/by_dates/<project_id>/<resource_id>/<start_date>/<end_date>
GET /acdb/xdusage/v2/usage/by_dates/<project_id>/<resource_id>/<start_date>/<end_date>
GET /acdb/xdusage/v2/jobs/by_dates/<project_id>/<resource_id>/<start_date>/<end_date>
GET /acdb/xdusage/v2/counts/by_request_resource/<request_resource_id>
GET /acdb/xdusage/v2/usage/by_request_resource/<request_resource_id>
GET /acdb/xdusage/v2/jobs/by_request_resource/<request_resource_id>
GET /acdb/xdusage/v2/jobs/attributes/<job_id>
GET /acdb/xdusage/v2/credits_debits/by_dates/<project_id>/<resource_id>/<start_date>/<end_date>
GET /acdb/xdusage/v2/credits_debits/by_request_resource/<request_resource_id>
GET /acdb/xdusage/v2/request_resource/current/<project_id>/<resource_id>
GET /acdb/xdusage/v2/request_resource/previous/<project_id>/<resource_id>