OPNexusdocs

API: rule-order

GET /api/rule-order/hosts/{host_id}#

Host Order

Berechtigung policy.read (ansehen)

Parameter

host_id *pathstring (uuid)

Antwort 200 HostOrderRead

3 Felder anzeigen
FeldTypHinweise
host_id *string (uuid)
open *OrderChangeRead[]
rows *OrderRow[]

POST /api/rule-order/hosts/{host_id}/confirm#

Confirm

Berechtigung policy.write (vorbereiten) · nur Browser-Sitzung, kein API-Token

Parameter

host_id *pathstring (uuid)

Antwort 200 OrderChangeRead[]

10 Felder anzeigen
FeldTypHinweise
actor *string
created_at *string (date-time)
description *string
host_id *string (uuid)
host_namestring | null
id *string (uuid)
message *string | null
revert_deadline *string (date-time) | null
rule_uuid *string
status *string

POST /api/rule-order/hosts/{host_id}/links/repair#

Repair Links

Apply what ``GET .../links`` showed (the token says which state was shown). Changes only OPNexus's own records.

Berechtigung policy.write (vorbereiten)

Parameter

host_id *pathstring (uuid)

Anfrage-Body LinkRepair

1 Felder anzeigen
FeldTypHinweise
token *stringminLength 64, maxLength 64

Antwort 200

GET /api/rule-order/hosts/{host_id}/management-check#

Move Management Check

Read-only hint next to a move (R12): would the new order block the way OPNexus or a management source reaches the firewall? Reads the firewall, writes nothing.

Berechtigung policy.read (ansehen)

Parameter

host_id *pathstring (uuid)
rule_uuid *querystring
before_uuidquerystring | null

Antwort 200

POST /api/rule-order/hosts/{host_id}/move#

Move

Berechtigung policy.deploy (ausrollen)

Parameter

host_id *pathstring (uuid)

Anfrage-Body MoveRequest

3 Felder anzeigen
FeldTypHinweise
acknowledge_management_riskboolean default: false
before_uuidstring | null
rule_uuid *stringminLength 1, maxLength 64

Antwort 200 OrderChangeRead | null

POST /api/rule-order/hosts/{host_id}/revert#

Revert

Berechtigung policy.deploy (ausrollen)

Parameter

host_id *pathstring (uuid)

Antwort 200 OrderChangeRead[]

10 Felder anzeigen
FeldTypHinweise
actor *string
created_at *string (date-time)
description *string
host_id *string (uuid)
host_namestring | null
id *string (uuid)
message *string | null
revert_deadline *string (date-time) | null
rule_uuid *string
status *string

GET /api/rule-order/open#

Open List

Berechtigung policy.read (ansehen)

Antwort 200 OrderChangeRead[]

10 Felder anzeigen
FeldTypHinweise
actor *string
created_at *string (date-time)
description *string
host_id *string (uuid)
host_namestring | null
id *string (uuid)
message *string | null
revert_deadline *string (date-time) | null
rule_uuid *string
status *string