Accounting profiles API

get listing

GET /api/rest/admin/equipment/radius/accounting-profiles

Parameters

Name Description
filter[id] id filter
filter[name] name filter

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NTUsInN1YiI6MTA1fQ.5xHHWO64dcPdq_64h2NuxcaTqF9FUADYGaJnzsS5GJ8
Host: example.org
Cookie: 

Route

GET /api/rest/admin/equipment/radius/accounting-profiles

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"e1d77e1185572729fa7401218c763db7"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: ab54185c-c51e-40ea-9b28-e936507bfa1a
X-Runtime: 0.009379
Content-Length: 1012

Status

200 OK

Body

{
  "data": [
    {
      "id": "1",
      "type": "accounting-profiles",
      "links": {
        "self": "http://example.org/api/rest/admin/equipment/radius/accounting-profiles/1"
      },
      "attributes": {
        "name": "profile1",
        "server": "server",
        "port": 1,
        "secret": "secret",
        "timeout": 100,
        "attempts": 2,
        "enable-start-accounting": false,
        "enable-interim-accounting": false,
        "interim-accounting-interval": 30,
        "enable-stop-accounting": true
      }
    },
    {
      "id": "2",
      "type": "accounting-profiles",
      "links": {
        "self": "http://example.org/api/rest/admin/equipment/radius/accounting-profiles/2"
      },
      "attributes": {
        "name": "profile2",
        "server": "server",
        "port": 1,
        "secret": "secret",
        "timeout": 100,
        "attempts": 2,
        "enable-start-accounting": false,
        "enable-interim-accounting": false,
        "interim-accounting-interval": 30,
        "enable-stop-accounting": true
      }
    }
  ],
  "meta": {
    "total-count": 2
  },
  "links": {
    "first": "http://example.org/api/rest/admin/equipment/radius/accounting-profiles?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/equipment/radius/accounting-profiles?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}