admin/models

Reserve a key + presigned PUT URL for a big file

post/v1/admin/models/{id}/files/presign

Request

  • Base URL: https://api.ditto.audio (the document declares no server; this is the origin it was published from)
  • URL: https://api.ditto.audio/v1/admin/models/{id}/files/presign
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

fileNamestring required
role'model' | 'config' | 'vocab' | 'speakers' | 'index' | 'sample' | 'archive' | 'other' required
contentTypestring

Example request

{
  "fileName": "model.onnx",
  "contentType": "application/octet-stream"
}

Changes

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