Vai al contenuto principale
GET
/
api
/
v1
/
cloud-defender
cURL
curl --request GET \
  --url https://app.aegister.com/api/v1/cloud-defender \
  --header 'X-Aegister-Token: <api-key>'
{
  "error": 0,
  "messages": "<array>",
  "total": 1,
  "data": [
    {
      "id": 2,
      "organization": {
        "id": 123,
        "name": "<string>",
        "logo": "<string>"
      },
      "email": "[email protected]",
      "fqdn": "<string>",
      "check": {
        "stat": {
          "fqdn": 0,
          "proxy": 0,
          "endpoint": 0,
          "datetime": "2023-11-07T05:31:56Z"
        },
        "status": 0,
        "web_stat": [
          {
            "datetime": "2023-11-07T05:31:56Z",
            "waf_protection": 1,
            "total_managed_requests": 1
          }
        ]
      },
      "endpoint": "127.0.0.1",
      "services": [
        "Caching"
      ]
    }
  ]
}

Autorizzazioni

X-Aegister-Token
string
header
obbligatorio

Parametri della query

limit
number
predefinito:50

Max number of reponse items.

offset
number
predefinito:0

Offset response items.

order
string

Order results by item field

organization
number

Filter by Organization ID

services
string[]

Filter by Service

Risposta

error
integer

Any value different from 0 indicates an error.
More details can be found in messages.

Intervallo richiesto: 0 <= x <= 0
Esempio:

0

messages
array

If error is 1, contains zero or more details on the error.

Esempio:
[]
total
number

Total number of items that meet the list filter.
This doesn't represent the number of items inside the data array.

Intervallo richiesto: x >= 0
Esempi:

20

30

40

data
object[]