Table of Contents | ||||
---|---|---|---|---|
|
...
Request to process the request using a token in the headers
Access to the resource is also managed by ABAC rules .
Headers
Наприклад:
Content-Type:application/json
Authorization:Bearer mF_9.B5f-4.1JqM
api-key:aFBLVTZ6Z2dON1V
...
API paragraph not found
Processing
...
Service logic
Service returns all Service requests related to the person filtered by submitted parameters:
Get all Service requests by person_id from service_request (MongoDB)
Validate data consistency:
Ensure that requested Service requests have ABAC context
Return 403 ('Access denied') in case of error
Filter list above by submitted search parameters
Render a response according to specification with found Service requests entities.
Response structure
See on Apiary
...