# HTTPResource


[API catalog](/reference/api/) · [AI Governance overview](/reference/api/ai-governance/latest/) · [Product manual](https://docs.docker.com/ai/sandboxes/governance/) · [OpenAPI specification](/reference/api/ai-governance/api.yaml)

API version: 1





Schema constraints and annotations:

```json
{
  "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"
}
```



