Post Signed Upload Url

Changed on

Recreates a presigned upload URL, which must be used to upload the documentation associated with this source. If the document is already uploaded, this endpoint will response with a 409 error.

post/sources/{id}/signed_upload_url

Request

  • Base URL
    https://api.isometric.com/mrv/v0
  • URL
    https://api.isometric.com/mrv/v0/sources/{id}/signed_upload_url
  • Auth
    HTTP bearer

Path parameters

idstring required
Example:src_1EBBF4M7X1S06G1Y

Headers

x-client-secretstring required

A secret token identifying the client connecting to the API

Example:Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP

Request body

content_typestring required

The content type of the file that will be uploaded. This must also be passed as a 'content-type' header during the upload. The pre-signed URL will only accept a file of this content-type.

content_lengthinteger required

The size (in bytes) of the file that will be uploaded. The pre-signed URL will only accept a file of this size.

Response

Successful Response

string required

Changes

    • breaking

      for the path request parameter id, the minLength was increased from 0 to 20

    • warning

      for the path request parameter id, the maxLength was set to 37

    • info

      for the path request parameter id, the type was generalized from no type to string

    • info

      for the path request parameter id, the type was generalized from string to no type

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status