API: specs
Это содержимое пока не доступно на вашем языке.
GET /api/v1/specs
Section titled “GET /api/v1/specs”List Specs
SPEC-001 §3.1.1: list all specs sorted by id descending.
GET /api/v1/specs/{spec_id}
Section titled “GET /api/v1/specs/{spec_id}”Get Spec
SPEC-001 §3.1.2: detail with frontmatter, body, sections, tests_status.
| Parameter | In | Required | Type |
|---|---|---|---|
spec_id | path | yes | string |
GET /api/v1/specs/{spec_id}/history
Section titled “GET /api/v1/specs/{spec_id}/history”Get Spec History
SPEC-001 §3.1.3: git log per file. Empty if .git not mounted.
| Parameter | In | Required | Type |
|---|---|---|---|
spec_id | path | yes | string |
GET /api/v1/specs/{spec_id}/progress
Section titled “GET /api/v1/specs/{spec_id}/progress”Get Spec Progress
Implementation progress grouped by spec section — each leaf §-anchor
with its label and whether a test covers it (SPEC-NNN §X.Y citation).
| Parameter | In | Required | Type |
|---|---|---|---|
spec_id | path | yes | string |
PATCH /api/v1/specs/{spec_id}/status
Section titled “PATCH /api/v1/specs/{spec_id}/status”Patch Spec Status
SPEC-001 §3.1.5: status transition with validation.
| Parameter | In | Required | Type |
|---|---|---|---|
spec_id | path | yes | string |
GET /api/v1/specs/{spec_id}/tests
Section titled “GET /api/v1/specs/{spec_id}/tests”Get Spec Tests
Return individual pytest test-cases for this spec from junit.xml.
| Parameter | In | Required | Type |
|---|---|---|---|
spec_id | path | yes | string |