Homepage

property_upload_presigned_url

Last edit: Oct 26, 2022

Generate presigned url where you can upload image. Include image processing.

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

Arguments

include_content_type (Boolean)

Set to true if you want to include a content type in the POST request to S3.
Useful in some cases where the default provided by S3 will not do, like for
example for SVG files

model_schema_name (String)

deprecated, use table

property_name (String)

name of the property of type upload

table (String)

Name of the Table schema to which the property belomgs. Must be blank if property is defined directly in user.yml

user (Boolean)

Must be set to true if property is defined directly in user.yml and not in a Model Schema

Type

PropertyUploadPresignedUrl

Contribute to this page

Github Icon

Questions?

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

contact us