Cosmos

Number of APIs: 4

A sample API that retrieves constellations as an example to demonstrate features in the OpenAPI 3.0 specification.

Get started: Make sure you have a Qodex environment called cosmos selected in the Qodex app. There should be a key baseUrl with the value https://e8c086f7-a5c9-4752-b81f-bfac0d0dc5d2.mock.pstmn.io.

This collection was generated from an OpenAPI specification file as described in this blog post about Bringing law and order to APIs with OpenAPI Specifications. Follow along with this example project.

  1. cosmos - Info for a specific constellation GET {{baseUrl}}/cosmos/:cosmoId

  2. cosmos - List all cosmos GET {{baseUrl}}/cosmos

  3. cosmos - with tests - List all cosmos GET {{baseUrl}}/cosmos

  4. cosmos - with tests - Info for a specific constellation GET {{baseUrl}}/cosmos/:cosmoId