Get the data that makes up the specified attachment
Changed onGet the data that makes up the specified attachment. The output is the raw binary data.
Request
- Base URLhttps://example.com/api
- Auth
- OAuth 2Authorization codehttps://example.com/oauth2/authorizeToken URLhttps://example.com/api/oauth2/tokenScopesattachment:read
- or API key in header XF-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
OK
Changes
- breaking
removed the media type
application/jsonfor the response with the status - warning
deleted the
pathrequest parameterid - info
api operation id
get_attachments_id_dataremoved and replaced withgetAttachmentsIdData - info
the endpoint scheme security
XF-Api-Keywas added to the API - info
the endpoint scheme security
XF-OAuth2was added to the API - info
added the new optional
headerrequest parameterXF-Api-Userto all path's operations - info
added the new optional
queryrequest parameterapi_bypass_permissionsto all path's operations - info
added the media type
*/*for the response with the status
- breaking
- breaking
added the new path request parameter
id - breaking
removed the media type
*/*for the response with the status - warning
the optional response header
XF-Latest-Api-Versionremoved for the status200 - warning
the optional response header
XF-Request-Userremoved for the status200 - warning
the optional response header
XF-Request-User-Extrasremoved for the status200 - warning
the optional response header
XF-Used-Api-Versionremoved for the status200 - info
api operation id
getAttachmentsIdDataremoved and replaced withget_attachments_id_data - info
the endpoint scheme security
XF-Api-Keywas removed from the API - info
the endpoint scheme security
XF-OAuth2was removed from the API - info
added the media type
application/jsonfor the response with the status
- breaking