Radius Accounting profiles API

get listing

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

Parameters

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

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEyLCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzY3MzU4NTU4fQ.qdghKuX_pFy2kqUMAvp6Cm774arxpVp_5REaQxvSu8k
Host: example.org
Cookie: 

Route

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

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"9ac13385d993796956244cae8423e4d4"
cache-control: max-age=0, private, must-revalidate
x-request-id: d03b328f-bd75-43d0-a3bf-26b8f33a1b58
x-runtime: 0.013646
content-length: 986

Status

200 OK

Body

{
  "data": [
    {
      "id": "1",
      "type": "radius-accounting-profiles",
      "links": {
        "self": "http://example.org/api/rest/admin/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": "radius-accounting-profiles",
      "links": {
        "self": "http://example.org/api/rest/admin/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/radius-accounting-profiles?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/radius-accounting-profiles?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}