Attachment
Represents a attachment with its details.
type Attachment {
accessType: Access!
accountId: Int!
attachmentLinkIds: [Int!]
attachmentLinksCount: Int!
attachmentThumbnailIds: [Int!]
canBeDeleted: Boolean!
contentType: String
createdAt: ISO8601DateTime!
createdBy: User
createdById: Int
createdByName: String!
deletedAt: ISO8601DateTime
description: String
downloadUrl: String
expiresAt: ISO8601DateTime
fileId: String
folder: Folder
folderId: Int
hasResources: Boolean!
hidden: Boolean!
id: Int!
imported: Boolean!
lastUsedAt: ISO8601DateTime
metadata: JSON!
mimeType: String
name: String
originId: Int
size: Int
status: String!
tagIds: [Int!]
teamIds: [ID!]!
thumbnailUrls: ThumbnailUrls!
updatedAt: ISO8601DateTime!
userResourceIds: [ID!]!
verifiedAt: ISO8601DateTime
versionIds: [Int!]
versionsCount: Int!
}
Fields
Attachment.accessType ● Access! non-null enum
Access rights type
Attachment.accountId ● Int! non-null scalar
The account ID
Attachment.attachmentLinkIds ● [Int!] list scalar
The attachment link IDs
Attachment.attachmentLinksCount ● Int! non-null scalar
The count of the attachment links
Attachment.attachmentThumbnailIds ● [Int!] list scalar
The attachment thumbnail IDs
Attachment.canBeDeleted ● Boolean! non-null scalar
Attachment can be deleted
Attachment.contentType ● String scalar
Content type of attachment
Attachment.createdAt ● ISO8601DateTime! non-null scalar
Created at
Attachment.createdBy ● User object
The user who created the attachment
Attachment.createdById ● Int scalar
The user ID who created the attachment
Attachment.createdByName ● String! non-null scalar
Attachment crated by name
Attachment.deletedAt ● ISO8601DateTime scalar
The date and time the attachment was deleted
Attachment.description ● String scalar
The description of the attachment
Attachment.downloadUrl ● String scalar
The download URL of the attachment
Attachment.expiresAt ● ISO8601DateTime scalar
The date and time the attachment expires
Attachment.fileId ● String scalar
The file ID
Attachment.folder ● Folder object
The folder the attachment belongs to
Attachment.folderId ● Int scalar
The folder ID the attachment belongs to
Attachment.hasResources ● Boolean! non-null scalar
Attachment has resources
Attachment.hidden ● Boolean! non-null scalar
Whether the attachment is hidden
Attachment.id ● Int! non-null scalar
The attachment ID
Attachment.imported ● Boolean! non-null scalar
Whether the attachment is imported
Attachment.lastUsedAt ● ISO8601DateTime scalar
The date and time the attachment was last used
Attachment.metadata ● JSON! non-null scalar
The metadata of the attachment
Attachment.mimeType ● String scalar
The MIME type of the attachment
Attachment.name ● String scalar
The name of the attachment
Attachment.originId ● Int scalar
The origin ID
Attachment.size ● Int scalar
The size of the attachment
Attachment.status ● String! non-null scalar
The status of the attachment
Attachment.tagIds ● [Int!] list scalar
The tag IDs
Attachment.teamIds ● [ID!]! non-null scalar
Access Rights team access ids
Attachment.thumbnailUrls ● ThumbnailUrls! non-null object
Thumbnail URLs
Attachment.updatedAt ● ISO8601DateTime! non-null scalar
Updated at
Attachment.userResourceIds ● [ID!]! non-null scalar
Access Rights user resource access ids
Attachment.verifiedAt ● ISO8601DateTime scalar
The date and time the attachment was verified
Attachment.versionIds ● [Int!] list scalar
The version IDs
Attachment.versionsCount ● Int! non-null scalar
The versions count
Returned By
attachment query
Member Of
AttachmentConnection object ● AttachmentEdge object ● AttachmentLink object ● DeleteAttachmentPayload object ● FileUploadPayload object ● Thumbnail object ● UpdateAttachmentPayload object ● UrlFileUploadPayload object