Get attachment without application check
This endpoint is deprecated. Please do not use it for new projects. The documentation remains here for legacy API consumers. Please use the Frontend API V3.
Get attachment without application check
For retrieving an attachment without validating against the application use the /applications/attachments/{attachmentId} endpoint.
By sending the following GET-request, one can obtain the requested attachment.
1 2 |
curl -i -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X GET "https://api.softgarden.io/api/rest/v2/frontend/applications/attachments/{attachmentId}" |
with TOKEN being the user access token of the user in question. It is used to determine the validity of this request. Moreover the {attachmentId} is the ID of the desired attachment.
Path parameters
Name | Description | Data Type |
---|---|---|
attachmentId | The ID of the desired attachment. | String |
Query parameters
– none –
Response values
Upon | Returned value | Description |
---|---|---|
success | n/a | User will be redirected to the requested file. |
failure | 500 – INTERNAL SERVER ERROR | When an error appears while processing your request. |
authorization error | 401 / 403 | See here for details. |