OBJECT

CloudObjectEntity

File stored in the space, such as a document, image or recording, that can be attached to records.

link GraphQL Schema definition

  • type CloudObjectEntity {
  • # True when the record is protected against deletion because it must always exist
  • # in the space. Deleting a record that is not protected can still fail on other
  • # checks. Read-only.
  • isDeleteProtected: Boolean!
  • # Unique identifier of entity.
  • id: ID!
  • # Specifies if the entity is considered deleted.
  • isDeleted: Boolean
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # Application that produced the object (e.g. Online Forms).
  • application: ApplicationEntity
  • # Company-level folder that contains the object, when stored in the company
  • # document tree.
  • companyCloudObjectFolder: CloudObjectFolderEntity
  • # User who uploaded the object.
  • creator: ClientEntity
  • # Id of the producing application.
  • applicationId: ID
  • # Id of the company folder, or empty when the object is not stored in the company
  • # tree.
  • companyCloudObjectFolderId: ID
  • # Id of the uploading user.
  • creatorId: ID
  • # File name (with extension) used when downloading the object.
  • filename: String!
  • # When true, the object can be served via a public URL (see publicUrl).
  • isPublic: Boolean
  • # Mime-type of the cloud object Is detected from content.
  • mimeType: String
  • # Additional metadata about the object (e.g. image dimensions, audio duration), as
  • # a JSON object.
  • params: JSONString
  • # Size of the object in bytes.
  • size: Int!
  • # Where the file is stored and how its content is obtained: a file in Coevera
  • # storage, a file linked from a cloud drive such as Google Drive or OneDrive, or
  • # an external URL. Set on create only.
  • type: CloudObjectTypeEnum!
  • # Editor the uploaded image is embedded in, such as an email template or rich-text
  • # content. Empty for files that are not embedded images.
  • uploadSource: UploadSourceEnum
  • # URL of the object. If URL scheme is not defined "http://" is automatically
  • # prepended to supplied URL.
  • url: String
  • # Revision when entity was lastly changed.
  • revision: Int
  • # Width and height of the image in pixels; empty for files that are not images.
  • dimensions: CloudObjectDimensions
  • # Duration of the audio recording in seconds; empty for other files.
  • duration: Float
  • # Publicly accessible link to the file; empty unless the file is marked as public.
  • publicUrl: String
  • # Permissions the current user has on this record, out of the requested ones.
  • #
  • # Arguments
  • # permissions: Permissions to check; the result lists those the
  • # current user has.
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • }

link Require by