{
  "service": "blaze_meter_service_virtualization",
  "displayName": "BlazeMeter Service Virtualization",
  "categories": [
    "Developer Tools"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Secret",
      "placeholder": "BLAZEMETER_API_SECRET",
      "description": "BlazeMeter API secret used as the Basic Auth password. Create or copy API keys from the BlazeMeter API Keys settings page: https://a.blazemeter.com/app/#/settings/api-keys.",
      "extraFields": [
        {
          "key": "apiKeyId",
          "label": "API Key ID",
          "inputType": "text",
          "required": true,
          "secret": false,
          "placeholder": "BLAZEMETER_API_KEY_ID",
          "description": "BlazeMeter API key ID used as the Basic Auth username. Create or copy API keys from the BlazeMeter API Keys settings page: https://a.blazemeter.com/app/#/settings/api-keys."
        }
      ]
    }
  ],
  "homepageUrl": "https://www.blazemeter.com/",
  "actions": [
    {
      "id": "blaze_meter_service_virtualization.get_service_mock_template",
      "service": "blaze_meter_service_virtualization",
      "name": "get_service_mock_template",
      "description": "Get one BlazeMeter Service Virtualization service mock template by template ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspaceId": {
            "type": "integer",
            "minimum": 1,
            "description": "The BlazeMeter workspace ID that contains service mock templates."
          },
          "templateId": {
            "type": "integer",
            "minimum": 1,
            "description": "The BlazeMeter service mock template ID."
          }
        },
        "additionalProperties": false,
        "required": [
          "workspaceId",
          "templateId"
        ],
        "description": "Input for retrieving one BlazeMeter service mock template."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "apiVersion": {
            "anyOf": [
              {
                "type": "integer",
                "description": "The BlazeMeter API version returned by the endpoint."
              },
              {
                "type": "null"
              }
            ]
          },
          "requestId": {
            "anyOf": [
              {
                "type": "string",
                "description": "The BlazeMeter request identifier."
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "code": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "description": "The numeric BlazeMeter error code."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "message": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The BlazeMeter error message."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false,
                "description": "The error object returned by BlazeMeter when a request fails."
              },
              {
                "type": "null"
              }
            ]
          },
          "result": {
            "description": "The result payload returned by BlazeMeter."
          },
          "total": {
            "anyOf": [
              {
                "type": "integer",
                "description": "The total number of matching records when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer",
                "description": "The response limit when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "skip": {
            "anyOf": [
              {
                "type": "integer",
                "description": "The response offset when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "hidden": {
            "anyOf": [
              {
                "type": "integer",
                "description": "The number of hidden records when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw BlazeMeter response object."
          }
        },
        "additionalProperties": false,
        "required": [
          "apiVersion",
          "requestId",
          "error",
          "result",
          "total",
          "limit",
          "skip",
          "hidden",
          "raw"
        ],
        "description": "A normalized BlazeMeter API v4 response envelope."
      }
    },
    {
      "id": "blaze_meter_service_virtualization.list_service_mock_templates",
      "service": "blaze_meter_service_virtualization",
      "name": "list_service_mock_templates",
      "description": "List BlazeMeter Service Virtualization service mock templates in a workspace.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspaceId": {
            "type": "integer",
            "minimum": 1,
            "description": "The BlazeMeter workspace ID that contains service mock templates."
          }
        },
        "additionalProperties": false,
        "required": [
          "workspaceId"
        ],
        "description": "Input for listing BlazeMeter Service Virtualization service mock templates."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "apiVersion": {
            "anyOf": [
              {
                "type": "integer",
                "description": "The BlazeMeter API version returned by the endpoint."
              },
              {
                "type": "null"
              }
            ]
          },
          "requestId": {
            "anyOf": [
              {
                "type": "string",
                "description": "The BlazeMeter request identifier."
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "code": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "description": "The numeric BlazeMeter error code."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "message": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The BlazeMeter error message."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false,
                "description": "The error object returned by BlazeMeter when a request fails."
              },
              {
                "type": "null"
              }
            ]
          },
          "result": {
            "description": "The result payload returned by BlazeMeter."
          },
          "total": {
            "anyOf": [
              {
                "type": "integer",
                "description": "The total number of matching records when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer",
                "description": "The response limit when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "skip": {
            "anyOf": [
              {
                "type": "integer",
                "description": "The response offset when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "hidden": {
            "anyOf": [
              {
                "type": "integer",
                "description": "The number of hidden records when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw BlazeMeter response object."
          }
        },
        "additionalProperties": false,
        "required": [
          "apiVersion",
          "requestId",
          "error",
          "result",
          "total",
          "limit",
          "skip",
          "hidden",
          "raw"
        ],
        "description": "A normalized BlazeMeter API v4 response envelope."
      }
    },
    {
      "id": "blaze_meter_service_virtualization.update_service_mock_template",
      "service": "blaze_meter_service_virtualization",
      "name": "update_service_mock_template",
      "description": "Update JSON-safe configuration fields for one BlazeMeter service mock template.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspaceId": {
            "type": "integer",
            "minimum": 1,
            "description": "The BlazeMeter workspace ID that contains service mock templates."
          },
          "templateId": {
            "type": "integer",
            "minimum": 1,
            "description": "The BlazeMeter service mock template ID."
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "The updated service mock template name.",
            "pattern": "\\S"
          },
          "description": {
            "type": "string",
            "minLength": 1,
            "description": "The updated service mock template description.",
            "pattern": "\\S"
          },
          "thinkTime": {
            "type": "integer",
            "minimum": 0,
            "description": "The synthetic delay between test steps in milliseconds."
          },
          "liveSystemHost": {
            "type": "string",
            "minLength": 1,
            "description": "The live system host URL to forward unmatched requests to.",
            "pattern": "^https?://"
          },
          "liveSystemPort": {
            "type": "integer",
            "minimum": 1,
            "description": "The live system port number."
          },
          "endpointPreference": {
            "type": "string",
            "enum": [
              "HTTP",
              "HTTPS"
            ],
            "description": "The protocol preference for the virtual service endpoint."
          },
          "noMatchingRequestPreference": {
            "type": "string",
            "enum": [
              "return404",
              "bypasslive"
            ],
            "description": "The behavior BlazeMeter should use when no mock request matches."
          }
        },
        "additionalProperties": false,
        "required": [
          "workspaceId",
          "templateId"
        ],
        "description": "Input for updating a BlazeMeter service mock template.",
        "anyOf": [
          {
            "required": [
              "name"
            ]
          },
          {
            "required": [
              "description"
            ]
          },
          {
            "required": [
              "thinkTime"
            ]
          },
          {
            "required": [
              "liveSystemHost"
            ]
          },
          {
            "required": [
              "liveSystemPort"
            ]
          },
          {
            "required": [
              "endpointPreference"
            ]
          },
          {
            "required": [
              "noMatchingRequestPreference"
            ]
          }
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "apiVersion": {
            "anyOf": [
              {
                "type": "integer",
                "description": "The BlazeMeter API version returned by the endpoint."
              },
              {
                "type": "null"
              }
            ]
          },
          "requestId": {
            "anyOf": [
              {
                "type": "string",
                "description": "The BlazeMeter request identifier."
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "code": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "description": "The numeric BlazeMeter error code."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "message": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The BlazeMeter error message."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false,
                "description": "The error object returned by BlazeMeter when a request fails."
              },
              {
                "type": "null"
              }
            ]
          },
          "result": {
            "description": "The result payload returned by BlazeMeter."
          },
          "total": {
            "anyOf": [
              {
                "type": "integer",
                "description": "The total number of matching records when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer",
                "description": "The response limit when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "skip": {
            "anyOf": [
              {
                "type": "integer",
                "description": "The response offset when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "hidden": {
            "anyOf": [
              {
                "type": "integer",
                "description": "The number of hidden records when returned."
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw BlazeMeter response object."
          }
        },
        "additionalProperties": false,
        "required": [
          "apiVersion",
          "requestId",
          "error",
          "result",
          "total",
          "limit",
          "skip",
          "hidden",
          "raw"
        ],
        "description": "A normalized BlazeMeter API v4 response envelope."
      }
    }
  ]
}
