Skip to main content

attachment

Returns a single Attachment by ID.

Arguments

ArgumentTypeRequiredDescription
idIDNoGlobal node ID
attachmentIdIDNoAttachment-specific ID

Provide either id or attachmentId.

Return Type

Attachment

Example

query GetAttachment {
attachment(id: "YXR0YWNoMTIzNDU2") {
id
filename
description
created
createdBy
extension
autoAttach
link
}
}

Export This Article

Save a copy of this page as PDF or plain text.