Skip to content

docs(readme): complete the public API surface table#17

Merged
ancongui merged 1 commit into
mainfrom
docs/readme-complete-api-summary
May 16, 2026
Merged

docs(readme): complete the public API surface table#17
ancongui merged 1 commit into
mainfrom
docs/readme-complete-api-summary

Conversation

@ancongui
Copy link
Copy Markdown
Contributor

Summary

The 'Public API at a glance' table was missing four routes that exist in the controllers and pyfly's actuator:

  • GET /api/v1/jobs — the filtered + paginated job listing (list_jobs query handler). Filters: status, bbox_refine_status, idempotency_key, created_after / created_before, limit, offset.
  • GET /actuator/health/liveness and GET /actuator/health/readiness — the Kubernetes probes the deployment doc already references.
  • GET /openapi.json — the machine-readable spec the task openapi shortcut downloads.

Also groups the table by purpose (Extraction / Jobs / Service metadata / Actuator) and enriches the existing rows with the filter and long-poll details callers need up front (wait_for_bboxes query param on /jobs/{id}/result; the cancel constraint on DELETE /jobs/{id}). Full request / response shapes still live in docs/api-reference.md.

A short RFC 7807 hint follows the table so readers know error bodies are application/problem+json.

Test plan

  • pytest tests/unit — 268 passed (docs-only change).
  • Manual review of docs/api-reference.md to confirm the README table now matches the controllers.

The 'Public API at a glance' table was missing four routes that
exist in the controllers and pyfly's actuator:

* ``GET  /api/v1/jobs`` -- the filtered + paginated job listing
  (handlers/jobs/list_jobs.py). Filters: ``status``,
  ``bbox_refine_status``, ``idempotency_key``, ``created_after`` /
  ``created_before``, ``limit``, ``offset``.
* ``GET  /actuator/health/liveness`` and
  ``GET  /actuator/health/readiness`` -- the Kubernetes probes the
  deployment doc already references.
* ``GET  /openapi.json`` -- the machine-readable spec the
  ``task openapi`` shortcut downloads.

Also groups the table by purpose (Extraction / Jobs / Service
metadata / Actuator) and enriches the existing rows with the
filter / long-poll details that callers need to know up front
(``wait_for_bboxes`` query param on ``/jobs/{id}/result``;
the cancel constraint on ``DELETE /jobs/{id}``). Full request /
response shapes still live in ``docs/api-reference.md``.

A short RFC 7807 hint follows the table so readers know error
bodies are ``application/problem+json``.
@ancongui ancongui merged commit c786453 into main May 16, 2026
@ancongui ancongui deleted the docs/readme-complete-api-summary branch May 16, 2026 19:03
ancongui added a commit that referenced this pull request May 31, 2026
The 'Public API at a glance' table was missing four routes that
exist in the controllers and pyfly's actuator:

* ``GET  /api/v1/jobs`` -- the filtered + paginated job listing
  (handlers/jobs/list_jobs.py). Filters: ``status``,
  ``bbox_refine_status``, ``idempotency_key``, ``created_after`` /
  ``created_before``, ``limit``, ``offset``.
* ``GET  /actuator/health/liveness`` and
  ``GET  /actuator/health/readiness`` -- the Kubernetes probes the
  deployment doc already references.
* ``GET  /openapi.json`` -- the machine-readable spec the
  ``task openapi`` shortcut downloads.

Also groups the table by purpose (Extraction / Jobs / Service
metadata / Actuator) and enriches the existing rows with the
filter / long-poll details that callers need to know up front
(``wait_for_bboxes`` query param on ``/jobs/{id}/result``;
the cancel constraint on ``DELETE /jobs/{id}``). Full request /
response shapes still live in ``docs/api-reference.md``.

A short RFC 7807 hint follows the table so readers know error
bodies are ``application/problem+json``.

Co-authored-by: ancongui <andres.contreras@soon.es>
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.

1 participant