Contabo · Schema

ListFirewallResponse

CompanyCloud HostingVPSObject StorageInfrastructureDedicated ServersDNS

Properties

Name Type Description
_pagination object Data about pagination like how many results, pages, page size.
data array
_links object
View JSON Schema on GitHub

JSON Schema

contabo-list-firewall-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/contabo/json-schema/contabo-list-firewall-response-schema.json",
  "title": "ListFirewallResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/contabo-firewalls-api-openapi.yml#/components/schemas/ListFirewallResponse",
  "type": "object",
  "properties": {
    "_pagination": {
      "description": "Data about pagination like how many results, pages, page size.",
      "allOf": [
        {
          "$ref": "#/$defs/PaginationMeta"
        }
      ]
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ListFirewallResponseData"
      }
    },
    "_links": {
      "allOf": [
        {
          "$ref": "#/$defs/Links"
        }
      ]
    }
  },
  "required": [
    "_pagination",
    "data",
    "_links"
  ],
  "$defs": {
    "FirewallRuleResponse": {
      "type": "object",
      "properties": {
        "protocol": {
          "type": "string",
          "description": "Protocol for incoming traffic to be allowed. ‘tcp‘, ´udp´, ´icmp´ or ´´ empty value are allowed. Empty means any traffic.",
          "enum": [
            "tcp",
            "udp",
            "icmp",
            ""
          ]
        },
        "destPorts": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Ports to specify allowed traffic. Not available for protocol `ICMP`. Port ranges can specified like in example."
        },
        "srcCidr": {
          "$ref": "#/$defs/SrcCidr"
        },
        "action": {
          "type": "string",
          "enum": [
            "accept",
            "drop"
          ],
          "description": "Currently only `accept` is supported."
        },
        "status": {
          "type": "string",
          "description": "Status of the inbound rule. An inactive rule is removed from all assigned instances.",
          "enum": [
            "active",
            "inactive"
          ]
        },
        "displayName": {
          "type": "string",
          "description": "Display name for the firewall rule."
        }
      },
      "required": [
        "protocol",
        "destPorts",
        "srcCidr",
        "action",
        "status",
        "displayName"
      ]
    },
    "InstanceDetails": {
      "type": "object",
      "properties": {
        "instanceId": {
          "type": "integer",
          "format": "int64",
          "description": "Instance id which is assigned to firewall"
        },
        "displayName": {
          "type": "string",
          "description": "Instance display name"
        },
        "name": {
          "type": "string",
          "description": "Instance name"
        },
        "productId": {
          "type": "string",
          "description": "Product id"
        },
        "ipConfig": {
          "$ref": "#/$defs/IpConfig1"
        },
        "regionSlug": {
          "type": "string",
          "description": "Slug of the region where the instance is located."
        },
        "regionName": {
          "type": "string",
          "description": "Name of the region where the instance is located."
        },
        "dataCenterSlug": {
          "type": "string",
          "description": "Slug of the data center where the instance is located."
        },
        "dataCenterName": {
          "type": "string",
          "description": "Name of the data center where the instance is located."
        }
      },
      "required": [
        "instanceId",
        "displayName",
        "name",
        "productId",
        "ipConfig",
        "regionSlug",
        "regionName",
        "dataCenterSlug",
        "dataCenterName"
      ]
    },
    "InstanceStatusRepresentation": {
      "type": "object",
      "properties": {
        "instanceId": {
          "type": "integer",
          "format": "int64",
          "description": "Instance id which is assigned to the firewall."
        },
        "status": {
          "type": "string",
          "enum": [
            "ok",
            "processing",
            "deleting",
            "error_processing",
            "error_deleting"
          ],
          "description": "Instance status in firewall can be:<br/> `ok` - instance was successfully assigned <br/> `processing` -  creating firewall rules <br/> `deleting` - deleting firewall rules <br/> `error_processing` - error occurred while creating firewall rules <br/>  `error_deleting` - error occurred while deleting firewall rules"
        },
        "errorMessage": {
          "type": "string",
          "description": "More detailed error message in case of error status."
        }
      },
      "required": [
        "instanceId",
        "status"
      ]
    },
    "IpConfig1": {
      "type": "object",
      "properties": {
        "v4": {
          "$ref": "#/$defs/IpV42"
        },
        "v6": {
          "$ref": "#/$defs/IpV6"
        }
      },
      "required": [
        "v4",
        "v6"
      ]
    },
    "IpV42": {
      "type": "object",
      "properties": {
        "ip": {
          "type": "string",
          "description": "IP Address"
        },
        "netmaskCidr": {
          "type": "integer",
          "format": "int32",
          "description": "Netmask CIDR"
        },
        "gateway": {
          "type": "string",
          "description": "Gateway"
        }
      },
      "required": [
        "ip",
        "netmaskCidr",
        "gateway"
      ]
    },
    "IpV6": {
      "type": "object",
      "properties": {
        "ip": {
          "type": "string",
          "description": "IP Address"
        },
        "netmaskCidr": {
          "type": "integer",
          "format": "int32",
          "description": "Netmask CIDR"
        },
        "gateway": {
          "type": "string",
          "description": "Gateway"
        }
      },
      "required": [
        "ip",
        "netmaskCidr",
        "gateway"
      ]
    },
    "Links": {
      "type": "object",
      "properties": {
        "self": {
          "type": "string",
          "description": "Link to current resource."
        },
        "first": {
          "type": "string",
          "description": "Link to first page, if applicable."
        },
        "previous": {
          "type": "string",
          "description": "Link to previous page, if applicable."
        },
        "next": {
          "type": "string",
          "description": "Link to next page, if applicable."
        },
        "last": {
          "type": "string",
          "description": "Link to last page, if applicable."
        }
      },
      "required": [
        "self",
        "first",
        "last"
      ]
    },
    "ListFirewallResponseData": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": "string",
          "minLength": 1,
          "description": "Your customer tenant id"
        },
        "customerId": {
          "type": "string",
          "minLength": 1,
          "description": "Your customer number"
        },
        "firewallId": {
          "type": "string",
          "minLength": 1,
          "description": "Your firewall id."
        },
        "name": {
          "type": "string",
          "maxLength": 255,
          "description": "The name of the firewall."
        },
        "description": {
          "type": "string",
          "maxLength": 255,
          "description": "The description of the firewall."
        },
        "status": {
          "type": "string",
          "description": "Inactive status means no rules of this firewall are set for all assigned instances.",
          "enum": [
            "active",
            "inactive"
          ]
        },
        "instanceStatus": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InstanceStatusRepresentation"
          }
        },
        "instances": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InstanceDetails"
          }
        },
        "rules": {
          "$ref": "#/$defs/Rules"
        },
        "createdDate": {
          "type": "string",
          "format": "date-time",
          "description": "The creation date time for the firewall"
        },
        "updatedDate": {
          "type": "string",
          "format": "date-time",
          "description": "The update date time for the firewall"
        }
      },
      "required": [
        "tenantId",
        "customerId",
        "firewallId",
        "name",
        "description",
        "status",
        "instanceStatus",
        "instances",
        "rules",
        "createdDate",
        "updatedDate"
      ]
    },
    "PaginationMeta": {
      "type": "object",
      "properties": {
        "size": {
          "type": "number",
          "description": "Number of elements per page."
        },
        "totalElements": {
          "type": "number",
          "description": "Number of overall matched elements."
        },
        "totalPages": {
          "type": "number",
          "description": "Overall number of pages."
        },
        "page": {
          "type": "number",
          "description": "Current number of page."
        }
      },
      "required": [
        "size",
        "totalElements",
        "totalPages",
        "page"
      ]
    },
    "Rules": {
      "type": "object",
      "properties": {
        "inbound": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FirewallRuleResponse"
          }
        }
      },
      "required": [
        "inbound"
      ]
    },
    "SrcCidr": {
      "type": "object",
      "properties": {
        "ipv4": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "IPv4 addresses in CIDR notation or \"AnyIPv4\" to allow all IPv4 sources (translates to 0.0.0.0/0)"
        },
        "ipv6": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "IPv6 addresses in CIDR notation or \"AnyIPv6\" to allow all IPv6 sources (translates to ::/0)"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/contabo-list-firewall-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.