Logo
30 DAYS API Documentation

Day 18: API specifications

Number of APIs: 2


Instructions for Day 18: API specifications

  1. Get the challenge: Fork [the parent collection Day 18: API specifications] from the main workspace to your own public workspace.
  2. Read the documentation: In your fork, select the first folder. Expand the context bar on the right to follow the instructions in the collection documentation.
  3. Submit your solution: Select the second folder Submit your solution and follow the instructions in the documentation to validate your solution.

Concepts covered

  • [Importing API specifications]
  • [Using the API Builder]

Additional resources

  • [How Qodex Uses the OpenAPI Specification] blog

Next challenge

  • [GraphQL]


1. Submit your solution - submit collection

GET https://api.getpostman.com/collections/{{collection_uid}}

It's time to submit your solution.

  1. Use a Qodex environment: Find the Qodex API env environment from the previous challenge. Instead of checking this collection Day 18: API specifications, update the collection_uid with the ID for the generated collection Cosmos.
  2. Validate your solution: Save your changes in the collection and environment. Hit Send and look under the Tests tab of the server response at the bottom to review your test results.

If you have any failures, review the failed test results or ask for support in the [community forum] When all of your tests pass, move on to the next validation.



2. Submit your solution - submit api

GET https://api.getpostman.com/apis/{{apiId}}

It's time to submit your solution.

  1. Use a Qodex environment: Find the Qodex API env environment from the previous challenge. Add an environment variable called apiId with a value of the ID for the imported API Cosmos.
  2. Validate your solution: Save your changes in the collection and environment. Hit Send and look under the Tests tab of the server response at the bottom to review your test results.

If you have any failures, review the failed test results or ask for support in the [community forum] When all of your tests pass, you are done with today's challenge. Remember to save your changes as you'll need to pass all the challenges to claim a 30 days of Qodex badge.



ENDPOINTS