Projects

Update a spec node

Updates a node's title, sibling position, parent, or milestone plan. A move is applied first so a node that is becoming a phase can then accept dates. Each field is optional; omitted fields are left alone.

patch/api/v1/projects/{projectId}/spec/nodes/{nodeId}

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/projects/{projectId}/spec/nodes/{nodeId}
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

projectIdstring required
nodeIdstring required

Request body

titlestring
positioninteger
parentIdstring

Move the node under this parent before applying the other fields.

startDatestring nullable

Milestone plan start. Only valid on a phase.

targetDatestring nullable

Milestone plan target. Only valid on a phase.

dependsOnNodeIdstring nullable

Milestone this phase waits on. Only valid on a phase.

Response

The updated node.

idstring required
parentIdstring nullable required
depthnumber required
positionnumber required
titlestring required
sectionKeystring nullable required
documentIdstring nullable required
linearMilestoneIdstring nullable required
startDatestring nullable required
targetDatestring nullable required
dependsOnNodeIdstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.