Skip to content

API reference docs: consolidate Schedules + Workflows sections into unified /api/tasks#439

Merged
jonwiggins merged 1 commit into
mainfrom
optio/task-8faa8ee8-334a-46fe-bb11-e884c35f58a7
Apr 17, 2026
Merged

API reference docs: consolidate Schedules + Workflows sections into unified /api/tasks#439
jonwiggins merged 1 commit into
mainfrom
optio/task-8faa8ee8-334a-46fe-bb11-e884c35f58a7

Conversation

@jonwiggins

Copy link
Copy Markdown
Owner

Closes #436

What changed

Removed the stale Schedules section (leftover from the removed schedules feature with non-existent /api/schedules endpoints) and the separate Workflows section (which listed /api/jobs/* endpoints as the primary API) from the API reference page.

Replaced both with a single Legacy Aliases note that points readers to the canonical /api/tasks polymorphic surface and lists /api/jobs/* and /api/task-configs/* as backward-compatible aliases.

The main Tasks section (already documenting the unified /api/tasks endpoint) remains the canonical reference.

How to test

  1. Run pnpm format:check — passes
  2. Run npx turbo typecheck --filter=@optio/site — passes
  3. Open /docs/api-reference in the site — the Schedules and Workflows sections are gone, replaced by a concise Legacy Aliases note between Webhooks and Cluster

Replace the stale Schedules section (leftover from removed feature) and
the separate Workflows section (listing /api/jobs/* as primary API) with
a single "Legacy Aliases" note that points readers to the canonical
/api/tasks polymorphic surface.

Closes #436

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jonwiggins jonwiggins merged commit 35cabd7 into main Apr 17, 2026
13 of 14 checks passed
jplorier pushed a commit to jplorier/optio that referenced this pull request May 5, 2026
…onwiggins#439)

Replace the stale Schedules section (leftover from removed feature) and
the separate Workflows section (listing /api/jobs/* as primary API) with
a single "Legacy Aliases" note that points readers to the canonical
/api/tasks polymorphic surface.

Closes jonwiggins#436

Co-authored-by: Optio Agent <optio-agent@noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API reference docs: consolidate Schedules + Workflows sections into unified /api/tasks

1 participant