API ReferenceDesign Review
designReview.create
Type: Mutation · Auth: Workspace-aware
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| workspaceId | string | No | — | ID of the associated workspace |
| projectId | string | No | — | ID of the associated project |
| workOrderId | string | No | — | ID of the associated work order |
| siteId | string | Yes | — | ID of the associated site |
| reviewType | enum(system_design, engineering_approval, bom_validation, as_built) | Yes | — | Review type |
| status | enum(pending, in_review, approved, revision_requested, rejected) | Yes | "pending" | Status |
| title | string | Yes | — | Title |
| description | string | No | — | Description |
| checklist | unknown | No | — | Checklist |
| reviewerId | string | No | — | ID of the associated reviewer |
| reviewedAt | string.date-time | No | — | Reviewed at |
| revisionNotes | string | No | — | Revision notes |
| documentIds | unknown | No | — | Document ids |
| visibilityMode | enum(global, workspace_local, shared) | Yes | "workspace_local" | Visibility mode |
Example
{
"workspaceId": "550e8400-e29b-41d4-a716-446655440000",
"projectId": "550e8400-e29b-41d4-a716-446655440000",
"workOrderId": "550e8400-e29b-41d4-a716-446655440000",
"siteId": "550e8400-e29b-41d4-a716-446655440000",
"reviewType": "system_design",
"status": "pending",
"title": "Example Title",
"visibilityMode": "global"
}