Retrieve content of an attachment.
Send the request
Review the endpoint and parameters:
HTTP URL:https://<your-instance>.yooi.io/api/attachment/{objectId}/{attachmentFieldId}/{revisionId}
HTTP method:GET
Parameters:objectId: instance id
attachmentFieldId: field id
revisionId: file revision id (can be found in Retrieve the list of attachments response)
Run the example
Use this cURL command:
curl -X 'GET' \
'https://<your-instance>.yooi.io/api/attachment/cc416276-73c4-4cb8-a090-d101422f36aa/51842f47-311c-47aa-90ea-947eb4722417/643cc691-bb77-439d-a7ca-cc66ef4fde57' \
-H 'Authorization: Bearer #yourtoken#'Review the response
file content