Logo
30 days of Postman - for developers API Documentation

Get test suite relations

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

This call fetches all the relations by type which are linked to the specified API version along with their details.

The response will contain an array with key {{relationType}}. Each of the item will consist of all the details related each of the relation.

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

{ "testsuite": [ { "id": "2a9b8fa8-88b7-4b86-8372-8e3f6f6e07f2", "name": "C test", "updatedAt": "2019-08-29T10:18:11.000Z", "collectionId": "7732157-a8bcd149-2b01-4b4c-8c14-c7d05be77745" }, { "id": "521b0486-ab91-4d3a-9189-43c9380a0533", "name": "C1", "updatedAt": "2019-08-29T11:40:39.000Z", "collectionId": "7332157-a8bcd143-2b01-4b12-8c14-c7d05be77725" } ] }



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

ENDPOINTS