e-Próspera
Reference

List documents for a consented legal entity

View as Markdown
GET
/api/v1/me/legal-entities/{id}/documents

Authorization

oauth2 eprospera:entity.documents.read
AuthorizationBearer <token>

In: header

Scope: eprospera:entity.documents.read

Path Parameters

id*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/me/legal-entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "slug": "string",      "version": "string",      "fileUrl": "http://example.com",      "createdAt": "2019-08-24T14:15:22Z"    }  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}