Aller au contenu principal
Objet

ImageUploadTarget

Where and how to upload an image file: send the file body in one PUT request to uploadUrl with the given headers.

Champs

  • expiresAtDateTime!

    When uploadUrl stops accepting uploads.

  • headers[UploadHeader!]!

    Headers that must be sent with the upload request, exactly as given.

  • methodString!

    HTTP method to use. Always PUT.

  • objectKeyString!

    Key identifying the uploaded file. Pass it to the mutation that attaches the upload once it has succeeded.

  • uploadUrlString!

    URL to upload the file to.

Utilisé par