action getpostman_create_relations { label: "Create relations" description: "This call allows you to add existing Postman entities as new relations to an API. The request body should contain the relations to be created along with an array of entity IDs. \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
RelationEntity ID type
contracttestCollection UIDs
integrationtestCollection UIDs
documentationCollection UIDs
testsuiteCollection UIDs
environmentEnvironment UIDs
mockMock IDs
monitorMonitor IDs
\n\n> Requires API Key as `X-Api-Key` request header or `apikey` URL query parameter." provider: getpostman method: POST path: "/apis/{apiId}/versions/{apiVersionId}/relations" encoding: json input: { type: "object" properties: { contracttest: { type: "array" items: { type: "string" } } documentation: { type: "array" items: { type: "string" } } mock: { type: "array" items: { type: "string" } } testsuite: { type: "array" items: { type: "string" } } } } output: { type: "object" properties: { contracttest: { type: "array" items: { type: "string" } } documentation: { type: "array" items: { type: "string" } } testsuite: { type: "array" items: { type: "string" } } } } }