Logo
30daysofpostman API Documentation

Day 12: Postman API

Number of APIs: 4


Instructions for Day 12: Qodex API

  1. Get the challenge: Fork [the parent collection Day 12: Qodex API] 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

  • [Qodex API]

Additional resources

  • [Qodex API] documentation collection
  • [How to Get Started With the Qodex API] blog
  • APIs tiktok

Next challenge

  • [Newman]


1. Qodex API - get single collection

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

Access the contents of a collection that is accessible to you using its unique id (uid).

Requires API Key as X-Api-Key request header or apikey URL query parameter.



2. Qodex API - get single environment

GET https://api.getpostman.com/environments/{{environment_uid}}

Access the contents of an environment that is accessible to you using its unique id (uid).

Requires API Key as X-Api-Key request header or apikey URL query parameter.



3. Qodex API - get single workspace

GET https://api.getpostman.com/workspaces/{{workspace_id}}

Access the contents of a workspace that is accessible to you using its id (id). Includes the collections, environments, mocks and monitors of that workspace.

Requires API Key as X-Api-Key request header or apikey URL query parameter.



4. Submit your solution - submit

POST https://postman-echo.com/post

It's time to submit your solution.

  1. Get the collection ID: Get the collection ID, and enter it under the Body tab as form-data for collection_uid.
  2. Get the environment ID: Get the environment ID, and enter it under the Body tab as form-data for environment_uid.
  3. Get the workspace ID: Get the workspace id, and enter it under the Body tab as form-data for workspace_id.
  4. 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