GET https://qa-api.bentley.com/issues/{id}/attachments/{attachmentId}
Retrieves the actual file contents for the attachment with the given ID. This API will attempt to infer the MIME type to return from the file's extension, but will return the default value of application/octet-stream
if it does not recognize the extension.
Permissions
To use this endpoint, the user is required to have the Forms View (Forms_ViewAccess
) permission for the iTwin, or for the issue's associated definition if form definition security is specified. (Having any other Forms permission automatically grants the View permission as well.)
Authentication
Requires Authorization
header with valid Bearer token for scope itwin-platform
.
For more documentation on authorization and how to get access token visit OAUTH2 Authorization page.