/
getAttachment
getAttachment
Description
Returns CAttachment with the following fields: id, pageId, spaceKey, version, creationDate, lastModificationDate, size, name.
Return Type
Returns CAttachment if the attachment was found and returns null if the page/attachment is missing.
Example
CAttachment attachmentInfo = getAttachment(11800, "attachment.txt");
return attachmentInfo.name;
See also
Peacock
, multiple selections available,
Related content
getAttachmentIds
getAttachmentIds
More like this
getAttachmentFromEvent
getAttachmentFromEvent
More like this
getAttachmentsForRequest
getAttachmentsForRequest
More like this
getAttachmentPath
getAttachmentPath
More like this
uploadAttachment
uploadAttachment
More like this
getPage
Read with this