Action

List approval actions filtered by NRN, entity, action, or dimensions.

get/approval/action

Request

  • Base URL
    https://api.nullplatform.com
  • URL
    https://api.nullplatform.com/approval/action
  • Auth
    HTTP bearer

Query parameters

nrnstring required

The resource that will be subject to approvals.

Note: This is a hierarchical setting, so if you set approvals for a namespace, then all applications and scopes inside the namespace will match against the action.

entity'deployment' | 'scope' | 'service:action' | 'parameter' | 'action_item' required

The entity that requires approval.

Example:deployment
action'deployment:create' | 'scope:create' | 'scope:recreate' | 'scope:write' | 'scope:delete' | 'scope:stop' | 'service:action:create' | 'parameter:read-secrets' | 'action_item:resolve' | 'action_item:defer' | 'action_item:reject' required

The action that requires approval.

Example:deployment:create
dimensionsstring

Specify the dimensions you have configured.You can include multiple key-value pairs, separated by commas

show_descendantsboolean

Specifies whether to show entities defined in the lower level of the NRN hierarchy

Response

The operation was successful.

Example response

{
  "paging": {
    "limit": 200
  },
  "results": [
    {
      "id": 1234,
      "nrn": "organization=1:account=2:namespace=3:application=4",
      "entity": "deployment",
      "action": "deployment:create",
      "dimensions": {
        "environment": "production",
        "country": "us"
      },
      "on_policy_success": "approve",
      "on_policy_fail": "deny",
      "on_checklist_fail": "manual",
      "time_to_reply": 259200000,
      "allowed_time_to_execute": 86400000
    }
  ]
}

Changes

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      response property message deprecated

    • info

      response property message deprecated

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the optional property // to the response with the status