Add Parent

POST/v1/nodes/{node_id}/parents/add

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

node_id*Node Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://flywheel.paradigma.inc/api/v1/nodes/string/parents/add" \  -H "Content-Type: application/json" \  -d '{    "expected_parent_revision": 0,    "expected_revision": 0,    "parent_id": "string"  }'
null
{
  "detail": [
    {
      "ctx": {},
      "input": null,
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}