Skip to main content
PATCH
Update a dependency

Authorizations

X-API-Key
string
header
required

Organization-scoped API key. Create one in the BuildingSwell app under Organization settings, API keys.

Path Parameters

id
string<uuid>
required

Record id.

Body

application/json

Every field is optional. Only the fields you send are changed.

type
enum<string>
default:fs

Link type: fs finish-to-start, ff finish-to-finish, sf start-to-finish, ss start-to-start.

Available options:
fs,
ff,
sf,
ss
rootParentId
string<uuid>

Root of the tree both nodes belong to.

fromId
string<uuid>

Node the link runs from, the predecessor.

toId
string<uuid>

Node the link runs to, the successor.

lagTimeSec
integer
default:0

Lag between the two nodes, in seconds. Negative values lead.

isArchived
boolean
default:false

Archived links no longer affect scheduling.

archivedAt
string<date-time> | null

When the link was archived.

Response

The updated dependency.

value
object
required

A scheduling link between two deliverables in the same tree. Creating or changing one re-rolls the downstream node's dates.