POST https://api.getpostman.com/apis/{{apiId}}/versions/{{apiVersionId}}/relations
This call allows you to add existing Qodex entities as new relations to an API. The request body should contain the relations to be created along with an array of entity IDs. Requires API Key as
Relation
Entity ID type
contracttest
Collection UIDs
integrationtest
Collection UIDs
documentation
Collection UIDs
testsuite
Collection UIDs
environment
Environment UIDs
mock
Mock IDs
monitor
Monitor IDs
X-Api-Key
request header or apikey
URL query parameter.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string |
RESPONSES
status OK
{
"contracttest": [
"5bcece87-ca4b-4e75-a967-2a6845626164"
],
"testsuite": [
"e525fa71-035e-4620-acda-ce878524f1e7",
"17a974b2-ce79-4b95-9d3f-217d6ff7e979"
],
"documentation": [
"2084eba6-a17b-4751-8f03-ea60f30ba19c"
]
} |
ENDPOINTS