Retrieve a spec version
One recorded spec, with its content. Storing every spec a project has generated from is only an audit trail if you can read one back and diff it against what shipped.
One recorded spec, with its content. Storing every spec a project has generated from is only an audit trail if you can read one back and diff it against what shipped.
Authorization
apiKey API key from the console, ak_....
In: header
Path Parameters
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/spec_versions/string"{ "id": "string", "object": "spec_version", "project_id": "string", "hash": "string", "bytes": 0, "source": {}, "content": "string", "content_omitted": true, "created_at": "2019-08-24T14:15:22Z"}List the specs this project has generated from GET
The audit trail behind a regeneration: which spec produced which SDK, and when it changed. Content is omitted from the list because specs run to megabytes.
Retrieve a spec version's raw text GET
The escape hatch for specs too large to inline, and the endpoint to pipe straight into a diff.