Get Uploaded File
GET
/api/v1/{entity-type}/{entity-id}/{property}/documents/{document-id}
Path Parameters
Name
Type
Description
entity-type*
String
Entity for which file was uploaded
entity-id*
String
Entity ID of corresponding entity
property*
String
any String for eg templates for uploading html template
document-id*
String
ID of document that was uploaded
Headers
Name
Type
Description
content-type*
String
Set to application/octet-stream
authorization*
String
Set to Bearer {access-token}
if roles
in schema config is not anonymous else this can be empty
Usage
cURL
HTTPie
{registry-url}
is usually http://localhost:{port}. The port can be found under theregistry
section in thedocker-compose.yml
file and is usually8081
.
Last updated