Retrieve latest entities

Returns the collection of the latest entities including related data like definitions and variants

Request

Method: GET
Route: api/idion/idion_mwe/latest/{limit?}
Example: api/idion/idion_mwe/latest/5
Route Parameter Pattern Requirement
limit [0-9]+ Optional
Request Headers
host: api.pomak.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:57:17 GMT
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 59
{
    "handler": "ApiResponse handler",
    "result": {
        "data": [
            {
                "id": 2746,
                "variants": [
                    "mlógo tǿglem"
                ],
                "description": "Greek translation of Pomak definition: έχω κακή ζωή",
                "html_comment": null,
                "definitions": [
                    {
                        "id": 1886,
                        "lemma_id": 2746,
                        "definition": "ímom parátika žyvóta",
                        "language": 10,
                        "definition_comment": null,
                        "intensification": null,
                        "mitigation": null,
                        "languages": {
                            "id": 10,
                            "value": "Pomak"
                        },
                        "style_tags": [],
                        "polarity_tags": [],
                        "emphasis_tags": [],
                        "idion_definition_translations": [
                            {
                                "id": 3355,
                                "language": {
                                    "id": 1,
                                    "value": "Greek"
                                },
                                "definition_id": 1886,
                                "translation": "τραβάω πολλά",
                                "definition_comment": null
                            }
                        ]
                    }
                ]
            },
            {
                "id": 2745,
                "variants": [
                    "na uzórevom so hič"
                ],
                "description": "Greek translation of Pomak definition: έχω καλή ζωή",
                "html_comment": null,
                "definitions": [
                    {
                        "id": 1885,
                        "lemma_id": 2745,
                        "definition": "ímom húbava žyvóta",
                        "language": 1,
                        "definition_comment": null,
                        "intensification": null,
                        "mitigation": null,
                        "languages": {
                            "id": 1,
                            "value": "Greek"
                        },
                        "style_tags": [],
                        "polarity_tags": [],
                        "emphasis_tags": [],
                        "idion_definition_translations": [
                            {
                                "id": 3354,
                                "language": {
                                    "id": 1,
                                    "value": "Greek"
                                },
                                "definition_id": 1885,
                                "translation": "δεν ζορίζομαι καθόλου",
                                "definition_comment": null
                            }
                        ]
                    }
                ]
            },
            {
                "id": 2744,
                "variants": [
                    "izléza mi dušása"
                ],
                "description": "Greek translation of Pomak definition: δεν μπορώ να πω κάτι ή να κάνω κάτι",
                "html_comment": null,
                "definitions": [
                    {
                        "id": 1884,
                        "lemma_id": 2744,
                        "definition": "na móžum da réčem nǽko ilí da stórem nǽko",
                        "language": 10,
                        "definition_comment": null,
                        "intensification": null,
                        "mitigation": null,
                        "languages": {
                            "id": 10,
                            "value": "Pomak"
                        },
                        "style_tags": [],
                        "polarity_tags": [],
                        "emphasis_tags": [],
                        "idion_definition_translations": [
                            {
                                "id": 3352,
                                "language": {
                                    "id": 1,
                                    "value": "Greek"
                                },
                                "definition_id": 1884,
                                "translation": "μου βγήκε η ψυχή",
                                "definition_comment": null
                            }
                        ]
                    }
                ]
            },
            {
                "id": 2741,
                "variants": [
                    "nahódem čehrǿno"
                ],
                "description": "Greek translation of Pomak definition: φέρνω τα πράγματα σε ίσιο δρόμο",
                "html_comment": null,
                "definitions": [
                    {
                        "id": 1882,
                        "lemma_id": 2741,
                        "definition": "dakáravom rábatyse na práva póte",
                        "language": 10,
                        "definition_comment": null,
                        "intensification": null,
                        "mitigation": null,
                        "languages": {
                            "id": 10,
                            "value": "Pomak"
                        },
                        "style_tags": [],
                        "polarity_tags": [],
                        "emphasis_tags": [],
                        "idion_definition_translations": [
                            {
                                "id": 3345,
                                "language": {
                                    "id": 1,
                                    "value": "Greek"
                                },
                                "definition_id": 1882,
                                "translation": "βρίσκω τη λύση",
                                "definition_comment": null
                            }
                        ]
                    }
                ]
            },
            {
                "id": 2740,
                "variants": [
                    "nǽko mi  alǿknava  dušóno"
                ],
                "description": null,
                "html_comment": null,
                "definitions": [
                    {
                        "id": 1881,
                        "lemma_id": 2740,
                        "definition": "nǽko mi stóreva hubbe",
                        "language": 1,
                        "definition_comment": null,
                        "intensification": null,
                        "mitigation": null,
                        "languages": {
                            "id": 1,
                            "value": "Greek"
                        },
                        "style_tags": [],
                        "polarity_tags": [],
                        "emphasis_tags": [],
                        "idion_definition_translations": [
                            {
                                "id": 3344,
                                "language": {
                                    "id": 1,
                                    "value": "Greek"
                                },
                                "definition_id": 1881,
                                "translation": "κάτι μου κάνει καλό ψυχικά, κάτι με ανακουφίζει ψυχικά",
                                "definition_comment": null
                            }
                        ]
                    }
                ]
            }
        ]
    },
    "system": {
        "messages": [],
        "status": 200,
        "status_text": "OK",
        "errors": [],
        "error_code": 0
    }
}

Time: 0.7

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

Time: 0.76

select * from `idion_definition` where `idion_definition`.`lemma_id` in (2740, 2741, 2744, 2745, 2746)

Time: 0.53

select * from `language` where `language`.`id` in (1, 10)

Time: 0.61

select `style_tag`.*, `definition_has_style`.`definition_id` as `pivot_definition_id`, `definition_has_style`.`style_id` as `pivot_style_id` from `style_tag` inner join `definition_has_style` on `style_tag`.`id` = `definition_has_style`.`style_id` where `definition_has_style`.`definition_id` in (1881, 1882, 1884, 1885, 1886)

Time: 0.65

select `polarity_tag`.*, `definition_has_polarity`.`definition_id` as `pivot_definition_id`, `definition_has_polarity`.`polarity_id` as `pivot_polarity_id` from `polarity_tag` inner join `definition_has_polarity` on `polarity_tag`.`id` = `definition_has_polarity`.`polarity_id` where `definition_has_polarity`.`definition_id` in (1881, 1882, 1884, 1885, 1886)

Time: 0.65

select `emphasis_tag`.*, `definition_has_emphasis`.`definition_id` as `pivot_definition_id`, `definition_has_emphasis`.`emphasis_id` as `pivot_emphasis_id` from `emphasis_tag` inner join `definition_has_emphasis` on `emphasis_tag`.`id` = `definition_has_emphasis`.`emphasis_id` where `definition_has_emphasis`.`definition_id` in (1881, 1882, 1884, 1885, 1886)

Time: 0.98

select * from `idion_definition_translation` where `idion_definition_translation`.`definition_id` in (1881, 1882, 1884, 1885, 1886)

Time: 0.61

select * from `language` where `language`.`id` in (1)

Request

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