Post File Upload

Changed on
post/file-uploads

Request

  • Base URL
    https://api.isometric.com/mrv/v0
  • URL
    https://api.isometric.com/mrv/v0/file-uploads
  • Auth
    HTTP bearer

Headers

x-client-secretstring required

A secret token identifying the client connecting to the API

Example:Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP

Request body

content_type'application/vnd.apache.parquet' | 'application/geo+json' required

Supported HTTP content types for file uploads.

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.

file_namestring required

The original filename of the file that will be uploaded. This is used for display purposes only and does not affect the upload process.

kind'time_series_data' | 'site_geojson'

Supported kinds of file uploads.

Response

Successful Response

idstring required
upload_urlstring required

A presigned upload URL, which must be used to upload the document associated with this source.

Example response

{
  "id": "tfu_1DZPAW31R1S0ZESH"
}

Changes

    • breaking

      request property was restricted to a list of enum values

    • info

      added the new optional request property

    • info

      the request property const value application/vnd.apache.parquet was removed

    • info

      added the new application/geo+json enum value to the request property

    • info

      added the new application/vnd.apache.parquet enum value to the request property

    • info

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

    • info

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