GET https://api.getpostman.com/apis/{{apiId}}/versions/{{apiVersionId}}/environment
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 Requires API Key as {{relationType}}
. Each of the item will consist of all the details related each of the relation.
X-Api-Key
request header or apikey
URL query parameter.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"environment": [
{
"id": "2a9b8fa8-88b7-4b86-8372-8e3f6f6e07f2",
"name": "C test",
"updatedAt": "2019-08-29T10:18:11.000Z"
},
{
"id": "521b0486-ab91-4d3a-9189-43c9380a0533",
"name": "C1",
"updatedAt": "2019-08-29T11:40:39.000Z"
}
]
} |
ENDPOINTS