diff --git a/src/Jira/Api.php b/src/Jira/Api.php index cc7dd40..efbc39e 100644 --- a/src/Jira/Api.php +++ b/src/Jira/Api.php @@ -197,6 +197,17 @@ public function editIssue($issue_key, array $params) return $this->api(self::REQUEST_PUT, sprintf('/rest/api/2/issue/%s', $issue_key), $params); } + /** + * Gets attachments meta information. + * + * @return array + * @since 2.0.0 + */ + public function getAttachmentsMetaInformation() + { + return $this->api(self::REQUEST_GET, '/rest/api/2/attachment/meta'); + } + /** * Gets attachment. *