#231 OpenAPI: Misc Endpoints (33 endpoints)

closed medium Created 2025-12-02 08:15 · Updated 2025-12-02 09:11

Description

Edit
## Scope Document remaining miscellaneous endpoints: - `api/blueprints/v1/schemas.py` (5 endpoints) - `api/blueprints/v1/artifacts.py` (5 endpoints) - `api/blueprints/v1/rbac_info.py` (4 endpoints) - `api/blueprints/v1/steps.py` (4 endpoints) - `api/blueprints/v1/approvals.py` (4 endpoints) - `api/blueprints/v1/updates.py` (3 endpoints) - `api/blueprints/v1/tasks.py` (3 endpoints) - `api/blueprints/v1/runs.py` (3 endpoints) - `api/blueprints/v1/signals.py` (2 endpoints) ## Schemas Endpoints (5) 1. POST /schemas - Register schema 2. GET /schemas - List schemas 3. GET /schemas/{id} - Get schema 4. PUT /schemas/{id} - Update schema 5. DELETE /schemas/{id} - Delete schema ## Artifacts Endpoints (5) 1. POST /artifacts - Upload artifact 2. GET /artifacts - List artifacts 3. GET /artifacts/{id} - Get artifact 4. GET /artifacts/{id}/download - Download artifact 5. DELETE /artifacts/{id} - Delete artifact ## RBAC Info Endpoints (4) 1. GET /rbac/roles - List roles 2. GET /rbac/permissions - List permissions 3. GET /rbac/role/{name} - Get role details 4. GET /rbac/my-permissions - Get current user permissions ## Steps Endpoints (4) 1. GET /steps - List steps 2. GET /steps/{id} - Get step 3. POST /steps/{id}/retry - Retry step 4. GET /steps/{id}/logs - Get step logs ## Approvals Endpoints (4) 1. GET /approvals - List pending approvals 2. GET /approvals/{id} - Get approval 3. POST /approvals/{id}/approve - Approve 4. POST /approvals/{id}/reject - Reject ## Updates (SSE) Endpoints (3) 1. GET /updates/workflows/{id} - Stream workflow updates 2. GET /updates/workers/{id} - Stream worker updates 3. GET /updates/queue/{name} - Stream queue updates ## Tasks Endpoints (3) 1. GET /tasks - List tasks 2. GET /tasks/{id} - Get task 3. POST /tasks/{id}/cancel - Cancel task ## Runs Endpoints (3) 1. GET /runs - List runs 2. GET /runs/{id} - Get run 3. GET /runs/{id}/events - Get run events ## Signals Endpoints (2) 1. POST /signals/send - Send signal 2. GET /signals/pending - List pending signals ## Depends On - #224 (Infrastructure Setup) ## Acceptance Criteria - [ ] All 33 endpoints documented - [ ] SSE endpoints documented - [ ] File upload/download documented

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...