PLATINUM DOCS
ApiVolumes

POST /v1/volumes/{v}/commit

POST
/v1/volumes/{v}/commit

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

v*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/volumes/string/commit" \  -H "Content-Type: application/json" \  -d '{}'
{  "commit_id": "string",  "head_commit_id": "string",  "commits": [    {      "mount_id": "string",      "sandbox_id": "string",      "commit_id": "string",      "outcome": "string"    }  ]}
{  "state": "running",  "command_ids": [    "string"  ],  "commits": [    {      "mount_id": "string",      "sandbox_id": "string",      "command_id": "string"    }  ]}
Empty
{  "error": "string",  "code": "string",  "limit": "string",  "max": 0,  "used": 0,  "requested": 0,  "reason": "string"}