Returns the attachment settings, that is, whether attachments are enabled and the maximum attachment size allowed.Note that there are also project permissions that restrict whether users can create and delete attachments.This operation can be accessed anonymously.Permissions required: None.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'http://jira.local:8080/jira/rest//rest/api/3/attachment/meta'
Response Response Example
200 - Success
{"enabled":true,"uploadLimit":1000000}
Request
None
Responses
🟢200Returned if the request is successful.
application/json
Body
Details of the instance's attachment settings.
enabled
booleanÂ
read-onlyoptional
Whether the ability to add attachments is enabled.
uploadLimit
integer <int64>
read-onlyoptional
The maximum size of attachments permitted, in bytes.
🟠401Returned if the authentication credentials are incorrect or missing.