Get human-readable attachment expansion
Tries to expand an attachment. Output is human-readable and subject to change.
/api/2/attachment/{id}/expand/humanAuthorizationBasic 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.
entriesobjectidinteger<int64>mediaTypestringnamestringtotalEntryCountinteger<int64>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