Skip to content
English
  • There are no suggestions because the search field is empty.

Download attachment

GET /api/v1/attachments/{attachmentId} Select code sample Fetch cURL
const url = 'https://localhost:10001/api/v1/attachments/1';const options = {method: 'GET', headers: {Authorization: '
  
   '}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}
  
curl --request GET \  --url https://localhost:10001/api/v1/attachments/1 \  --header 'Authorization: 
  
   '
  

Retrieve and stream the stored file for the given attachment

Authorizations

Section titled “Authorizations ”

Parameters

Section titled “ Parameters ”

Path Parameters

Section titled “Path Parameters ” attachmentId required integer

Attachment ID

Responses

Section titled “ Responses ”

200

Section titled “200 ”

Attachment file stream

Media type application/octet-stream file

400

Section titled “400 ”

Bad request - Invalid attachment ID

Media type application/octet-stream object key additional properties string

401

Section titled “401 ”

Unauthorized - Missing or invalid token

Media type application/octet-stream object key additional properties string

403

Section titled “403 ”

Forbidden - Insufficient permissions

Media type application/octet-stream object key additional properties string

404

Section titled “404 ”

Attachment not found

Media type application/octet-stream object key additional properties string

500

Section titled “500 ”

Internal server error

Media type application/octet-stream object key additional properties string Previous
List activity logs by project
Next
Download attachment public URL