getAttachmentMeta method
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.
Implementation
Future<AttachmentSettings> getAttachmentMeta() async {
return AttachmentSettings.fromJson(await _client.send(
'get',
'rest/api/3/attachment/meta',
));
}