Skip to main content

attachmentLinks

List of attachment links

attachmentLinks(
sort: [Sort!] = [{ caseSensitive: true, direction: desc, field: "created_at" }]
mediaTypes: [AttachmentLinksMediaType!]
resourceIds: [ID!]
resourceType: AttachableType
after: String
before: String
first: Int
last: Int
): AttachmentLinkConnection

Arguments​

attachmentLinks.sort ● [Sort!] list input​

Sort result

attachmentLinks.mediaTypes ● [AttachmentLinksMediaType!] list enum​

Array of allowed media types for the attachment links

attachmentLinks.resourceIds ● [ID!] list scalar​

Input for searching attachment links by resource ids

attachmentLinks.resourceType ● AttachableType enum​

Input for searching attachment links by resource type

attachmentLinks.after ● String scalar​

Returns the elements in the list that come after the specified cursor.

attachmentLinks.before ● String scalar​

Returns the elements in the list that come before the specified cursor.

attachmentLinks.first ● Int scalar​

Returns the first _n_ elements from the list.

attachmentLinks.last ● Int scalar​

Returns the last _n_ elements from the list.

Type​

AttachmentLinkConnection object​

The connection type for AttachmentLink.