Posting Schedules

Update a posting schedule slot

patch/posting-schedules/{id}

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/posting-schedules/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Path parameters

idstring required

Schedule ID

Request body

$schemastring uri

A URL to the JSON Schema for this object.

day_of_weekinteger

Workspace-local day of week (0=Sunday, 6=Saturday)

is_activeboolean

Whether this slot is active

labelstring

Display label

utc_hourinteger

Legacy field name for the workspace-local hour (0-23)

utc_minuteinteger

Legacy field name for the workspace-local minute (0-59)

Example request

{
  "$schema": "https://example.com/api/v1/schemas/UpdatePostingScheduleInputBody.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

created_atstring required

Creation time (ISO 8601)

day_of_weekinteger required

Workspace-local day of week (0=Sunday, 6=Saturday)

idstring required

Schedule ID

is_activeboolean required

Whether this slot is active

labelstring

Display label (e.g., Morning, Lunch)

local_day_of_weekinteger required

Day of week in workspace local time (0=Sunday, 6=Saturday)

local_hourinteger required

Hour in workspace local time (0-23)

local_minuteinteger required

Minute in workspace local time (0-59)

utc_hourinteger required

Legacy field name for the workspace-local hour (0-23)

utc_minuteinteger required

Legacy field name for the workspace-local minute (0-59)

workspace_idstring required

Workspace ID

Example response

{
  "$schema": "https://example.com/api/v1/schemas/PostingScheduleResponse.json"
}

Changes

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