Saltar al contenido

daySheets

Módulo Show · 6 operaciones

List day sheet rows

GET/day-sheets

A day sheet for one scope node and date. Returns a cursor page of day sheet rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.

Create a day sheet

POST/day-sheets

A day sheet for one scope node and date. Creates a day sheet. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.

Get a day sheet

GET/day-sheets/{id}

A day sheet for one scope node and date. Returns one day sheet with its `ETag`. A day sheet the caller may not see returns 404.

Update a day sheet

PATCH/day-sheets/{id}

A day sheet for one scope node and date. Updates the fields sent; omitted fields are unchanged. Requires `If-Match` with the current `ETag`: a stale tag returns 412 and a missing tag returns 428.

Delete a day sheet

DELETE/day-sheets/{id}

A day sheet for one scope node and date. Soft-deletes the day sheet: it moves to Trash and can be restored for its table's retention period.

Publish a day sheet

POST/day-sheets/{id}/publish

Publishes the day sheet to its audience. Requires `Idempotency-Key`; a replay returns the original response. A rule that refuses the request returns 422 with `refusal` and `reason`.