latestOpenAPI 3.1.02026-08-20723176475.4 KB

c2b39b2c43c5

Project Attachments

Get a download URL for a project attachment

Returns a pre-signed URL the client can stream or download the file from directly. The URL is valid for 24 hours and needs no authorization header of its own.

get/v1/spaces/{spaceId}/projects/{projectId}/attachments/{attachmentId}/download-url

Path parameters

spaceIdinteger required

ID of the space

projectIdinteger required

ID of the project

attachmentIdinteger required

ID of the attachment

Headers

X-Org-Idinteger required

Organization ID

Response

Download URL generated successfully

successboolean

Indicates if the operation was successful

messagestring

Message describing the result of the operation

codeinteger

HTTP status code of the response

datastring

Payload containing the response data

timestampstring date-time

Timestamp of the response

Example response

{
  "success": true,
  "message": "Operation completed successfully",
  "code": 200,
  "timestamp": "2023-01-01T12:00:00Z"
}