gateway.openapi_Gateway

Get Model Upload Endpoint

post/v1/accounts/{account_id}/models/{model_id}:getUploadEndpoint

Path parameters

account_idstring required

The Account Id

model_idstring required

The Model Id

Request body

filenameToSizeobject required

A mapping from the file name to its size in bytes.

enableResumableUploadboolean

If true, enable resumable upload instead of PUT.

readMaskstring

The fields to be returned in the response. If empty or "*", all fields will be returned.

Response

A successful response.

filenameToSignedUrlsobject
filenameToUnsignedUrisobject

Unsigned URIs (e.g. s3://bucket/key, gs://bucket/key) for uploading model files. Returned when the caller has permission to upload to the URIs.

Changes

Changed in 1 of the 27 revisions of this API.3

    • ○

      the endpoint scheme security BearerAuth was added to the API

      api-security-added

    • ○

      api tag gateway.openapi_Gateway added

      api-tag-added

    • ○

      api tag Gateway removed

      api-tag-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog