GET /api/v1/specs/{spec_id}/tests
Get Spec Tests
Return individual pytest test-cases for this spec from junit.xml.
Auth: Authorization: Bearer <token> required
Request
Section titled “Request”curl -sS -X GET "https://entherium.duckdns.org:8443/api/v1/specs/<spec_id>/tests" \ -H "Authorization: Bearer <token>"Response 200
Section titled “Response 200”The contract carries no example for this response; schema: array of SpecTestCase. Field-level shape: interactive explorer.
Returns
Section titled “Returns”array of SpecTestCase — Successful Response
| Field | Type | Description |
|---|---|---|
description | string | |
group | string | |
message | string | null (opt.) | |
name | string | |
status | string |
Parameters
Section titled “Parameters”| Parameter | In | Required | Type | Default | Constraints | Description |
|---|---|---|---|---|---|---|
spec_id | path | yes | string | — | — |
Errors
Section titled “Errors”| Code | Meaning | Body |
|---|---|---|
400 | Malformed spec id (expected SPEC-NNN) | — |
401 | Missing or invalid authentication credentials | ErrorResponse |
404 | Spec not found | — |
422 | Validation Error | HTTPValidationError |
Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.