Spec versions

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.

GET
/spec_versions/{spec_version_id}

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.

AuthorizationBearer <token>

API key from the console, ak_....

In: header

Path Parameters

spec_version_id*string

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"}