OBJECT

CloudObjectEntity

link GraphQL Schema definition

  • type CloudObjectEntity {
  • # Tells if the entity instance is protected against delete (Entities that need to
  • # be present in the system at any time). Delete action still may fail if entity is
  • # deletable, due some other additional validations.
  • 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 public_url).
  • 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).
  • params: JSONString
  • # Size of the object in bytes.
  • size: Int!
  • # Field whose values are strictly defined with an enumeration of values.
  • type: CloudObjectTypeEnum!
  • # Field whose values are strictly defined with an enumeration of values.
  • 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
  • # returns dimensions in case of image
  • dimensions: CloudObjectDimensions
  • # returns duration of audio file in seconds
  • duration: Float
  • # returns public url for cloud object
  • publicUrl: String
  • # Checks which permissions current user has on concrete entity instance.
  • #
  • # Arguments
  • # permissions: [Not documented]
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • }