File Uploads

Create a URL for file upload

Generates a pre-signed URL for uploading a file to Vetcove's file storage (Amazon S3). The response includes the upload URL and form data that must be included when POSTing the file. After uploading, call the create uploaded file endpoint to register the file with the system.

post/ext/v2/uploaded-files/generate-upload-url/

Request

  • Base URL
    https://connect.vetcove.com
  • URL
    https://connect.vetcove.com/ext/v2/uploaded-files/generate-upload-url/
  • Auth
    HTTP bearer

Request body

content_typestring required

The content type of the file to upload

filenamestring required

The filename of the file to upload

Response

Created

keystring required

The key of the file to upload

post_dataobject required

The POST data of the file to upload

urlstring required

The URL to upload the file to. Good for one hour after creation

Changes

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