200 - Success
Success
HTTP 200
Returns delegates of the delegator as JSON.
{ "delegator":"user1", "asOf":"2021-08-27 05:45:36 +0000", "category":"Expense", "delegates":[ "user2", "user3" ] }
400 - Invalid parameter
Invalid Parameter
HTTP 400
When one of the required parameters is missing or one of the supplied parameter values is invalid.
{ "status":400, "message":"category is required.", "timestamp":1630043290559, "errors":{ "category":"category is required." } }
403 - Missing Permission
Missing Permission
HTTP 403
When the querying user does not have the necessary permissions.
{ "status":403, "message":"You do not have permission to view delegations.", "timestamp":1630044510592 }
{ "status":403, "message":"You do not have permission to query delegations of other users.", "timestamp":1630044510592 }
404 - Not found
Not Found
HTTP 404
When one of the supplied parameter values is not found.
{ "status":404, "message":"Category with name \"test\" could not be found.", "timestamp":1630043572503 }