API Specs

List the specifications of a project

Returns the specifications of a project together with the number of their latest published version, so a pipeline can resolve a spec by name and see at a glance what is live.

get/api/projects/{projectId}/specs

Request

  • Base URL: https://api.routebase.dev
  • URL: https://api.routebase.dev/api/projects/{projectId}/specs
  • Auth: API key in header X-API-Key

Path parameters

ProjectIdstring uuid required

Public id of the project.

Query parameters

Skipinteger

Number of items to skip. Defaults to 0.

Takeinteger

Maximum number of items to return.

Headers

X-RB-Regionstring
Example:us

Region of your organization. US organizations must send us; EU organizations leave the header out. Without it a US call is routed to the EU region and answered with 401.

Response

A page of specifications.

totalCountinteger required

Total number of specifications in the project, ignoring paging.

Changes

No recorded changes to this operation across all 1 revision of this API.