Homepage

property_upload_presigned_url

Last edit: Oct 13, 2026

Generates a presigned URL for uploading a file for an upload property directly
to storage. The access level, size limit, cache and content disposition
settings and image versions come from the property definition; the access
level and size limit can be overridden with presign_url. Without a configured
limit, files up to 100 MiB are accepted. Image versions defined for the
property are generated after upload. Provide exactly one of table and user

property_upload_presigned_url(
  include_content_type: Boolean
  model_schema_name: String
  presign_url: PresignUrl
  property_name: String!
  table: String
  user: Boolean
): PropertyUploadPresignedUrl!

Arguments

include_content_type (Boolean)

Set to true to allow the upload request to include its own Content-Type
field, stored with the file. Useful when the default type is wrong, for
example for SVG files. Combine with presign_url.content_type.starts_with to
restrict that field to a prefix. Cannot be combined with
presign_url.content_type.value

model_schema_name (String)

Deprecated, use table

presign_url (PresignUrl)

Overrides of the access level, size range and allowed content type

property_name (String)

Name of the property of type upload

table (String)

Name of the table that defines the property. Must be omitted when the property is defined in user.yml

user (Boolean)

Must be true when the property is defined in user.yml rather than in a table

Type

PropertyUploadPresignedUrl

Signed form that lets a browser upload a file for an upload property directly to storage

Questions?

We are always happy to help with any questions you may have.

contact us