Retrieve latest entities

Returns the collection of the latest entities

Request

Method: GET
Route: api/idion/idion_mw_token/latest/{limit?}
Example: api/idion/idion_mw_token/latest/5
Route Parameter Pattern Requirement
limit [0-9]+ Optional
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": 6281,
                "mw_id": 1234,
                "content": null,
                "wordform": null,
                "ma": null,
                "type": null,
                "optional": 0,
                "bound": null,
                "bindedBy": -1,
                "bindedByType": null,
                "controlledBy": -1,
                "controlledByType": null,
                "mwindex": null,
                "idx": 3,
                "tag": null,
                "idion_token_category": null,
                "tags": null
            },
            {
                "id": 6280,
                "mw_id": 1234,
                "content": null,
                "wordform": null,
                "ma": null,
                "type": null,
                "optional": 0,
                "bound": null,
                "bindedBy": -1,
                "bindedByType": null,
                "controlledBy": -1,
                "controlledByType": null,
                "mwindex": null,
                "idx": 0,
                "tag": null,
                "idion_token_category": null,
                "tags": null
            },
            {
                "id": 6279,
                "mw_id": 1233,
                "content": null,
                "wordform": null,
                "ma": null,
                "type": null,
                "optional": 0,
                "bound": null,
                "bindedBy": -1,
                "bindedByType": null,
                "controlledBy": -1,
                "controlledByType": null,
                "mwindex": null,
                "idx": 0,
                "tag": null,
                "idion_token_category": null,
                "tags": null
            },
            {
                "id": 6278,
                "mw_id": 1232,
                "content": null,
                "wordform": null,
                "ma": null,
                "type": null,
                "optional": 0,
                "bound": null,
                "bindedBy": -1,
                "bindedByType": null,
                "controlledBy": -1,
                "controlledByType": null,
                "mwindex": null,
                "idx": 0,
                "tag": null,
                "idion_token_category": null,
                "tags": null
            },
            {
                "id": 6276,
                "mw_id": 1229,
                "content": "πίεση",
                "wordform": null,
                "ma": null,
                "type": 2,
                "optional": 0,
                "bound": null,
                "bindedBy": -1,
                "bindedByType": null,
                "controlledBy": -1,
                "controlledByType": null,
                "mwindex": null,
                "idx": 9,
                "tag": null,
                "idion_token_category": {
                    "id": 2,
                    "name": "LEMMA",
                    "comment": null
                },
                "tags": null
            }
        ]
    },
    "system": {
        "messages": [],
        "status": 200,
        "status_text": "OK",
        "errors": [],
        "error_code": 0
    }
}

Time: 0.81

select * from `idion_mw_token` order by `id` desc limit 5

Time: 0.74

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

Time: 0.68

select * from `tags` where 0 = 1

Request

Method: GET
Route: api/idion/idion_mw_token/latest/{limit?}
Example: api/idion/idion_mw_token/latest/5
Route Parameter Pattern Requirement
limit [0-9]+ Optional
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