Skip to Content
Static Data

List `Network Rule` options

GET
/static/network-rule-options

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Response Body

Ok

application/json
  1. response
directions*array<>

The supported network rule's traffic directions

protocols*array<>

The supported network rule's protocols

Example Request
curl -X GET 'https://api.devopness.com/static/network-rule-options' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json'
Example Response200
{  "directions": [    {      "value": "inbound",      "human_readable": "Inbound",      "hint": "Some text here describing this field for end users"    }  ],  "protocols": [    {      "value": "any",      "human_readable": "Any",      "defaults": {        "port": 3306      }    }  ]}