Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get attachment capabilities

Returns the meta information for an attachments, specifically if they are enabled and the maximum upload size allowed.

GET/api/2/attachment/meta
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Responses
200

JSON representation of the attachment capabilities. Consumers of this resource may also need to check if the logged in user has permission to upload or otherwise manipulate attachments using the com.atlassian.jira.rest.v2.permission.PermissionsResource

enabledboolean
uploadLimitinteger<int64>

Upload limit in bytes

Try it
Server
Authorization
Request
curl -X GET 'http://jira.example.com/rest/api/2/attachment/meta' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "enabled": true,
  "uploadLimit": 1000000
}

Was this page helpful?