Rate this page:
GET /gateway/api/compass/v1/component/{componentId}/app/{forgeAppId}/attachment/{key}
Get a file attached to a component
string
uuid
string
string
1 2 3 4
curl --request GET \
--url 'https://your-domain.atlassian.net/gateway/api/compass/v1/component/{componentId}/app/{forgeAppId}/attachment/{key}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Returned if the file exists.
Content type | Value |
---|---|
application/json |
PUT /gateway/api/compass/v1/component/{componentId}/app/{forgeAppId}/attachment/{key}
Upload a file to be attached to a component
string
uuid
string
string
Content type | Value |
---|---|
multipart/form-data |
1 2 3 4
curl --request PUT \
--url 'https://your-domain.atlassian.net/gateway/api/compass/v1/component/{componentId}/app/{forgeAppId}/attachment/{key}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Returned if the file upload is successful.
Content type | Value |
---|---|
application/json |
DELETE /gateway/api/compass/v1/component/{componentId}/app/{forgeAppId}/attachment/{key}
Delete file attached to a component
string
uuid
string
string
1 2 3
curl --request DELETE \
--url 'https://your-domain.atlassian.net/gateway/api/compass/v1/component/{componentId}/app/{forgeAppId}/attachment/{key}' \
--user 'email@example.com:<api_token>'
Returned if the file delete is successful.
A schema has not been defined for this response code.
Rate this page: