Firewall

Get Rules

Get nShield rules for a specific IP address on a Virtual or Dedicated Server

get/api/services/{id}/firewall/{ip}/rules

Request

  • Base URL: https://nodesty.com
  • URL: https://nodesty.com/api/services/{id}/firewall/{ip}/rules
  • Auth: API key in header Authorization

Path parameters

idstring required
Example:1

Service ID

ipstring required
Example:77.90.14.1

IP Address

Response

List of nShield rules for the specified service and IP address

idinteger

Rule ID

portinteger

Port number for the rule

protocolstring

Protocol used by the rule

servicestring

Service associated with the rule

Example response

[
  {
    "id": 12345,
    "port": 25565,
    "protocol": "TCP",
    "service": "Minecraft"
  }
]

Changes

No recorded changes to this operation across all 3 revisions of this API.