AlphaAlpha Docs
API ReferenceVariables

Update all variable branches

Replaces all branches in the variable tree with the provided branches.

PUT
/types/variables/{typeId}/{variableId}/branches
AuthorizationBearer <token>

In: header

Path Parameters

typeId*string
variableId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "http://localhost:18080/api/v1/types/variables/string/string/branches" \  -H "Content-Type: application/json" \  -d '[    {      "choices": [        {          "code": "string",          "option": "string"        }      ],      "result": {        "defaultValue": 0.1,        "isFixed": true      }    }  ]'
Empty
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}