Share feedback
Answers are generated based on the documentation.

Schema

HTTPResource

Type: object

host · required

Type: string

Domain name or domain glob without a URL scheme or port. Use the separate port field to restrict the target to one port.
All schema constraints and annotations
{
  "description": "Domain name or domain glob without a URL scheme or port. Use the separate `port` field to restrict the target to one port.\n",
  "examples": [
    "api.github.com",
    "*.example.com"
  ],
  "minLength": 1,
  "type": "string"
}
path · required

Type: string

Absolute HTTP path glob. * matches one segment and ** matches any depth, including the bare path.
All schema constraints and annotations
{
  "description": "Absolute HTTP path glob. `*` matches one segment and `**` matches any depth, including the bare path.\n",
  "examples": [
    "/repos/docker/**"
  ],
  "pattern": "^/",
  "type": "string"
}
port

Type: integer

Optional destination port. Omit it to match every port.
All schema constraints and annotations
{
  "description": "Optional destination port. Omit it to match every port.",
  "examples": [
    443
  ],
  "maximum": 65535,
  "minimum": 1,
  "type": "integer"
}
All schema constraints and annotations
{
  "properties": {
    "host": {
      "description": "Domain name or domain glob without a URL scheme or port. Use the separate `port` field to restrict the target to one port.\n",
      "examples": [
        "api.github.com",
        "*.example.com"
      ],
      "minLength": 1,
      "type": "string"
    },
    "path": {
      "description": "Absolute HTTP path glob. `*` matches one segment and `**` matches any depth, including the bare path.\n",
      "examples": [
        "/repos/docker/**"
      ],
      "pattern": "^/",
      "type": "string"
    },
    "port": {
      "description": "Optional destination port. Omit it to match every port.",
      "examples": [
        443
      ],
      "maximum": 65535,
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "host",
    "path"
  ],
  "type": "object"
}