attachment
Returns a single Attachment by ID.
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
id | ID | No | Global node ID |
attachmentId | ID | No | Attachment-specific ID |
Provide either id or attachmentId.
Return Type
Example
query GetAttachment {
attachment(id: "YXR0YWNoMTIzNDU2") {
id
filename
description
created
createdBy
extension
autoAttach
link
}
}