v1
Work Streams
work-streams

Publish Workstream Changes

Bulk publish staged changes from the workstream planner (Phase I).

Replaces N×M per-task API calls with one aggregated publish. Applies removals → additions → task-deadlines → workstream-deadline → deploy/status in a fixed order. Dispatches per-worker bulk notifications (Q5 resolution).

post/api/v1/work-streams/{work_stream_id}/publish-changes

Request

  • Base URL
    https://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

work_stream_id, integer required

Request body

WorkStreamPublishChanges required

Bulk publish payload. All fields are optional — the endpoint applies whichever categories are present in a single request.

assignments_added, AssignmentChange[]

Assignments to create (task_id × personnel_ids).

assignments_removed, AssignmentChange[]

Assignments to delete (task_id × personnel_ids).

deadlines_changed, DeadlineChange[]

Per-task deadline changes.

workstream_deadline, string nullable

New workstream-level deadline as ISO 8601 timestamp (Q4 / Phase K).

set_workstream_deadline, boolean

True if workstream_deadline should be applied (distinguishes 'leave as-is' from 'clear to null').

instructions_changed, InstructionsChange[]

Per-task instructions HTML updates.

documents_changed, DocumentsChange[]

Per-task documents + links updates (full replacement arrays).

field_edits, FieldEdit[]

Per-task field edits (start_date, shop_hours, description).

deploy, boolean

If true, transition the workstream from plan → deploy after other changes apply.

set_status, string nullable

New workstream status (e.g. 'blocked', 'on_hold', 'active', 'in_progress', 'completed').

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 56 revisions of this API.