Policy

List policies

List policies filtered by NRN.

get/approval/policy

Query parameters

nrnstring required

The NRN of the resource (including children resources) where the policy applies.

Response

The operation was successful.

Example response

{
  "paging": {
    "limit": 200
  },
  "results": [
    {
      "id": 5678,
      "nrn": "organization=1:account=2:namespace=3:application=4",
      "name": "Crypto Kong Policies",
      "slug": "crypto-kong-policies",
      "status": "active",
      "conditions": {
        "scope.requested_spec.memory_in_gb": {
          "$lte": 4
        }
      },
      "selector": {
        "service.spec.id": {
          "$eq": 2
        }
      }
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.