Logo
30 days challenge API Documentation

Get All API Versions

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

This call fetches details about the all the API Versions in the specified API.

The response will contain an array versions object which would be a list of all the API Version along with their details.

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

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "versions": [ { "id": "024660a6-c837-46ca-91d8-7e8dd7c669de", "name": "0.1", "summary": "Summary", "description": "Description", "createdBy": "5665", "createdAt": "2019-02-12 19:34:49", "updatedAt": "2019-02-12 19:34:49" }, { "id": "00932d3b-20f1-454f-a77e-38b4023163ea", "name": "0.2", "summary": "Summary", "description": "Description", "createdBy": "5665", "createdAt": "2019-02-12 19:34:49", "updatedAt": "2019-02-12 19:34:49" } ] }



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

ENDPOINTS