schematics

Get Schematic Upload Url

Generate a presigned S3 upload URL for a given file extension. Expiration defaults to 300 seconds unless provided.

post/api/schematic_upload_url

Request

  • Base URL
    https://backend.snapmagic.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

file_extensionstring required

File extension, e.g. png, jpg, svg

expires_ininteger nullable

Optional expiration time for the presigned URL in seconds (default: 300)

Response

Successful Response

upload_urlstring required
file_keystring required
public_urlstring required

Changes

No recorded changes to this operation across all 1 revision of this API.