Get raw attachment expansion
Tries to expand an attachment. Output is raw and should be backwards-compatible through the course of time.
/api/2/attachment/{id}/expand/rawAuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
AuthorizationBearer token · headerrequiredPersonal Access Token — Administration > Profile > Personal Access Tokens
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
idstringrequiredthe id of the attachment to expand.
JSON representation of the attachment expanded contents. Empty entry list means that attachment cannot be expanded. It's either empty, corrupt or not an archive at all.
entriesAttachmentArchiveEntry[]Show propertiesHide properties
AttachmentArchiveEntryabbreviatedNamestringentryIndexinteger<int64>mediaTypestringnamestringsizeinteger<int64>totalEntryCountinteger<int32>Total number of entries available (can be larger that what was asked for)
The calling user is not permitted to view the requested attachment.
Any of: there is no attachment with the requested id, attachments feature is disabled
The archive format is not supported. since v6.4