Logo
30-day challenge API Documentation

Get all API versions

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

Gets information about an API's versions.

In Qodex v9 and earlier:

When you create an API, the system creates a single, default API version. You can use this version’s ID with any endpoints that require an API version ID.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "versions": [ { "id": "a9879d02-74bf-425a-bbec-6d27aa135507", "name": "Draft", "summary": null, "createdBy": "20891195", "updatedBy": "20891195", "stage": "Planning", "visibility": "public", "api": "387c2863-6ee3-4a56-8210-225f774edade", "createdAt": "2023-02-14T14:26:05.000Z", "updatedAt": "2023-02-14T14:26:05.000Z", "repositoryIntegration": null } ] }



Curl
curl -X GET 'https://api.getpostman.com/apis/undefined/versions'

ENDPOINTS