-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaccounting.json
1 lines (1 loc) · 4.63 KB
/
accounting.json
1
{"swagger":"2.0","info":{"title":"XSEDE Accounting Service (params in:formData)","description":"\n\u003cp\u003eEach HTTP request must have the following request headers set:\u003c/p\u003e\n\n\u003cpre\u003eXA-REQUESTER: requester\nXA-API-KEY: api-key\u003c/pre\u003e\n","version":"1.0","x-copyright":null},"basePath":"","consumes":["application/x-www-form-urlencoded","multipart/form-data"],"paths":{"/v1/requests/request/\u003crequestNumber\u003e":{"get":{"tags":["requests"],"consumes":["application/x-www-form-urlencoded","multipart/form-data"],"operationId":"get_v1_requests_request_\u003crequestNumber\u003e","summary":"get requests by request number","parameters":[],"responses":{"200":{"description":"ok"}},"description":""}},"/v1/requests/user/\u003cusername\u003e":{"get":{"tags":["requests"],"consumes":["application/x-www-form-urlencoded","multipart/form-data"],"operationId":"get_v1_requests_user_\u003cusername\u003e","summary":"get requests for a user","parameters":[],"responses":{"200":{"description":"ok"}},"description":""}},"/v1/requests/role/pi/\u003cusername\u003e":{"get":{"tags":["requests"],"consumes":["application/x-www-form-urlencoded","multipart/form-data"],"operationId":"get_v1_requests_role_pi_\u003cusername\u003e","summary":"get requests for a PI","parameters":[],"responses":{"200":{"description":"ok"}},"description":""}},"/v1/requests/role/co_pi/\u003cusername\u003e":{"get":{"tags":["requests"],"consumes":["application/x-www-form-urlencoded","multipart/form-data"],"operationId":"get_v1_requests_role_co_pi_\u003cusername\u003e","summary":"get requests for a CO-PI","parameters":[],"responses":{"200":{"description":"ok"}},"description":""}},"/v1/requests/role/allocation_manager/\u003cusername\u003e":{"get":{"tags":["requests"],"consumes":["application/x-www-form-urlencoded","multipart/form-data"],"operationId":"get_v1_requests_role_allocation_manager_\u003cusername\u003e","summary":"get requests for an allocation manager","parameters":[],"responses":{"200":{"description":"ok"}},"description":""}},"/v1/dates/requests/rn1,rn2,...":{"get":{"tags":["dates"],"consumes":["application/x-www-form-urlencoded","multipart/form-data"],"operationId":"get_v1_dates_requests_rn1,rn2,...","summary":"get start/end dates for a list of request numbers","parameters":[],"responses":{"200":{"description":"ok"}},"description":""}},"/v1/actions":{"post":{"tags":["actions"],"consumes":["application/x-www-form-urlencoded","multipart/form-data"],"operationId":"post_v1_actions","summary":"post actions","parameters":[],"responses":{"200":{"description":"ok"}},"description":""}},"/v1/roles/\u003crequestNumber\u003e/pi/\u003cusername\u003e":{"post":{"tags":["roles"],"consumes":["application/x-www-form-urlencoded","multipart/form-data"],"operationId":"post_v1_roles_\u003crequestNumber\u003e_pi_\u003cusername\u003e","summary":"set PI","parameters":[],"responses":{"200":{"description":"ok"}},"description":""}},"/v1/roles/\u003crequestNumber\u003e/co_pi/\u003cusername\u003e":{"post":{"tags":["roles"],"consumes":["application/x-www-form-urlencoded","multipart/form-data"],"operationId":"post_v1_roles_\u003crequestNumber\u003e_co_pi_\u003cusername\u003e","summary":"add CO-PI","parameters":[],"responses":{"200":{"description":"ok"}},"description":""},"delete":{"tags":["roles"],"consumes":["application/x-www-form-urlencoded","multipart/form-data"],"operationId":"delete_v1_roles_\u003crequestNumber\u003e_co_pi_\u003cusername\u003e","summary":"remove CO-PI","parameters":[],"responses":{"200":{"description":"ok"}},"description":""}},"/v1/roles/\u003crequestNumber\u003e/allocation_manager/\u003cusername\u003e":{"post":{"tags":["roles"],"consumes":["application/x-www-form-urlencoded","multipart/form-data"],"operationId":"post_v1_roles_\u003crequestNumber\u003e_allocation_manager_\u003cusername\u003e","summary":"add Allocation Manager","parameters":[],"responses":{"200":{"description":"ok"}},"description":""},"delete":{"tags":["roles"],"consumes":["application/x-www-form-urlencoded","multipart/form-data"],"operationId":"delete_v1_roles_\u003crequestNumber\u003e_allocation_manager_\u003cusername\u003e","summary":"remove Allocation Manager","parameters":[],"responses":{"200":{"description":"ok"}},"description":""}},"/v1/usage/by_month/\u003crequestNumber\u003e/\u003cfirstDate\u003e/\u003clastDate\u003e":{"get":{"tags":["usage"],"consumes":["application/x-www-form-urlencoded","multipart/form-data"],"operationId":"get_v1_usage_by_month_\u003crequestNumber\u003e_\u003cfirstDate\u003e_\u003clastDate\u003e","summary":"get monthly usage. date format is yyyy-mm-dd","parameters":[],"responses":{"200":{"description":"ok"}},"description":""}}},"definitions":{},"tags":[],"host":"localhost:3000"}