Retrieve statistics

Returns statistics for the entity set

Request

Method: GET
Route: api/idion/idion_mw_token/{id}
Example: api/idion/idion_mw_token/1
Route Parameter Pattern Requirement
id [0-9]+ Required
Request Headers
host: api.greek.idion.athenarc.gr
user-agent: Symfony
accept: application/json
accept-language: en-us,en;q=0.5
accept-charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
content-length: 2
content-type: application/json

Response

200 JSON
Response Headers
cache-control: no-cache, private
date: Sat, 17 Feb 2024 20:58:09 GMT
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 59
{
    "handler": "ApiResponse handler",
    "result": {
        "data": [
            {
                "id": 1,
                "mw_id": 1,
                "content": "τόπος",
                "wordform": "τόπο",
                "ma": null,
                "type": 2,
                "optional": 0,
                "bound": 0,
                "bindedBy": -1,
                "bindedByType": 0,
                "controlledBy": -1,
                "controlledByType": 0,
                "mwindex": "1",
                "idx": 3,
                "tag": 3,
                "idion_token_category": {
                    "id": 2,
                    "name": "LEMMA",
                    "comment": null
                },
                "tags": {
                    "id": 3,
                    "category": "Noun",
                    "value": "NoCmMaSgAc"
                }
            }
        ]
    },
    "system": {
        "messages": [],
        "status": 200,
        "status_text": "OK",
        "errors": [],
        "error_code": 0
    }
}

Time: 0.9

select * from `idion_mw_token` limit 1

Time: 0.98

select * from `idion_token_category` where `idion_token_category`.`id` in (2)

Time: 0.86

select * from `tags` where `tags`.`id` in (3)

Time: 0.71

select * from `idion_mw_token` limit 1

Time: 0.71

select * from `idion_token_category` where `idion_token_category`.`id` in (2)

Time: 0.74

select * from `tags` where `tags`.`id` in (3)

Time: 0.81

select * from `idion_mw_token` where `idion_mw_token`.`id` = ? limit 1
Bindings
0: 1

Time: 0.68

select * from `idion_token_category` where `idion_token_category`.`id` in (2)

Time: 0.69

select * from `tags` where `tags`.`id` in (3)

Request

Method: GET
Route: api/idion/idion_mw_token/{id}
Example: api/idion/idion_mw_token/1
Route Parameter Pattern Requirement
id [0-9]+ Required
Request Headers
host: api.greek.idion.athenarc.gr
user-agent: Symfony
accept: application/json
accept-language: en-us,en;q=0.5
accept-charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
content-length: 2
content-type: application/json