Vai al contenuto principale
GET
/
api
/
v1
/
assessments
cURL
curl --request GET \
  --url https://app.aegister.com/api/v1/assessments \
  --header 'X-Aegister-Token: <api-key>'
{
  "error": 0,
  "messages": "<array>",
  "total": 1,
  "data": [
    {
      "id": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "score": 123,
      "name": {
        "en": "<string>",
        "it": "<string>"
      },
      "description": {
        "en": "<string>",
        "it": "<string>"
      }
    }
  ]
}

Autorizzazioni

X-Aegister-Token
string
header
obbligatorio

Parametri della query

date
string

Filter interviews by date of creation.

limit
number
predefinito:50

Max number of reponse items.

name
string

Filter by organization name or interviewed user name.
This filter is case insensitive.

offset
number
predefinito:0

Offset response items.

order
string
predefinito:-id

Order results by item field.

Risposta

200 - application/json
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[]