Codevisor Server
Api reference

POST Sessions Id Mode

POST/v1/sessions/{id}/mode

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

modeId*string
clientActionId?string|null

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/sessions/string/mode" \  -H "Content-Type: application/json" \  -d '{    "modeId": "string"  }'
{  "modeId": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}