ValueUploadInput
Represents data for an upload.
type ValueUploadInput {
acl: PropertyUploadACL
cache_control: String
content: String
content_disposition: String
content_type: String
encryption: PropertyUploadEncryptionInput
file_path: String
remote_url: String
synchronous: Boolean
type: ValueUploadInputTypeEnum!
}
Fields
acl
(PropertyUploadACL
)
Whether the file will be private or not - default private
cache_control
(String
)
Cache-Control header for the file
content
(String
)
Data for the upload, required unless is url provided
content_disposition
(String
)
Content-Disposition header for the file, for example "attachment; filename=foo.bar;"
content_type
(String
)
Content-Type header for the file, for example "text/csv; charset=UTF-8"
encryption
(PropertyUploadEncryptionInput
)
Encrypt the content
file_path
(String
)
Files will be stored in <table name>/<property name>/<file_path>. If you do
not provide file_path, then we will use <uuid>/<property_name>. If you
override this, BE CAREFUL TO NOT OVERRIDE YOUR OWN FILES AND GENERATE UNIQUE
PATH PER RECORD
remote_url
(String
)
Url to external file, which will be downloaded and uploaded to file_path,
required unless content is provided. Will take precedence over content argument.
synchronous
(Boolean
)
Generate file synchronously
type
(ValueUploadInputTypeEnum
)
Type of the upload. If set to image, versions will be automatically fetched based on the property configuration