Get Uploaded File

GET /api/v1/{entity-type}/{entity-id}/{property}/documents/{document-id}

Path Parameters

Headers

{file contents that was uploaded}

Usage

cURL

curl --location \
    --request GET '{registry-url}/api/v1/{entity-type/{entity-id}/{property}/documents/{document-id}' \
    --header 'Authorization: Bearer {access-token}'

HTTPie

http '{registry-url}/api/v1/{entity-type/{entity-id}/{property}/documents/{document-id}' \
 Authorization:'Bearer {access-token}'

{registry-url} is usually http://localhost:{port}. The port can be found under the registry section in the docker-compose.yml file and is usually 8081.

Last updated