CovenDocs

Read route-prefix version metadata

1 min read

GET
/api-version

Response Body

Route-prefix version metadata.

application/json
  1. response

Route-prefix version metadata. Distinct from the named contract version returned by /health.

apiVersion*string

The currently-served route-prefix version.

supportedApiVersions*array<string>

All route-prefix versions this daemon will serve.

curl -X GET 'http://localhost:3000/api/v1/api-version'
{  "apiVersion": "v1",  "supportedApiVersions": [    "v1"  ]}
Was this page helpful?No

Last updated on