Comment on page
Get Uploaded File
get
/api/v1/{entity-type}/{entity-id}/{property}/documents/{document-id}
Parameters
Path
entity-type*
Entity for which file was uploaded
entity-id*
Entity ID of corresponding entity
property*
any String for eg templates for uploading html template
document-id*
ID of document that was uploaded
Header
content-type*
Set to
application/octet-stream
authorization*
Set to
Bearer {access-token}
if roles
in schema config is not anonymous else this can be emptyResponses
200: OK
Success response of uploaded file
curl --location \
--request GET '{registry-url}/api/v1/{entity-type/{entity-id}/{property}/documents/{document-id}' \
--header 'Authorization: Bearer {access-token}'
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 theregistry
section in thedocker-compose.yml
file and is usually8081
.
Last modified 1yr ago