Network Policy

GET /network-policy/rules

Changed on

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Query parameters

subject_kindstring nullable
subject_idinteger nullable
originstring nullable

link, operator or system.

pageinteger nullable

Default 1.

page_sizeinteger nullable

Default 20, max 100.

Response

Rules, newest first

pageinteger required
page_sizeinteger required
totalinteger required

Example response

{
  "items": [
    {
      "action": "allow",
      "direction": "egress",
      "origin": "operator",
      "peer_kind": "service",
      "peer_ref": "12",
      "protocol": "tcp",
      "subject_kind": "sandbox"
    }
  ]
}

Changes

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    1 more change in this revision