action getpostman_create_mock { label: "Create Mock" description: "This endpoint allows you to create a mock on a collection. You can also provide an environment UID to resolve any environment variables in the collection.\n\nYou can also specify the context of a workspace to create a mock in directly by passing the `workspace` as a query param.\n\n> Requires API Key as `X-Api-Key` request header or `apikey` URL query parameter." provider: getpostman method: POST path: "/mocks" encoding: json input: { type: "object" properties: { mock: { type: "object" properties: { collection: { type: "string" } environment: { type: "string" } } } } } output: { type: "object" properties: { mock: { type: "object" properties: { collection: { type: "string" } environment: { type: "string" } id: { type: "string" } mockUrl: { type: "string" } owner: { type: "string" } uid: { type: "string" } } } } } }