PLATINUM DOCS
ApiWorkers

POST /v1/workers/{name}/versions

POST
/v1/workers/{name}/versions

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

name*string

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

multipart/form-data: the built module and the manifest celld needs. The server computes version and module digests.

Response Body

application/json

curl -X POST "https://example.com/v1/workers/string/versions" \  -F bundle="string" \  -F manifest="string"
{  "name": "string",  "script_name": "string",  "version": "string",  "prefix": "string",  "bytes": 0}
Empty