Retrieve latest entities
Returns the collection of the latest entities
Request
| Method: | GET |
| Route: | api/idion/idion_usage_token/latest/{limit?} |
| Example: | api/idion/idion_usage_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:10 GMT |
| content-type: | application/json |
| x-ratelimit-limit: | 60 |
| x-ratelimit-remaining: | 59 |
{
"handler": "ApiResponse handler",
"result": {
"data": [
{
"id": 18815,
"use_id": 1890,
"original": "κλέφτες",
"transcript": "kleftes",
"parole": "thieves",
"parolePrefix": null,
"paroleSuffix": null,
"paroleTag": null,
"idx": 12,
"parole_tag_id": 8
},
{
"id": 18814,
"use_id": 1890,
"original": "τους",
"transcript": "tus",
"parole": "the",
"parolePrefix": null,
"paroleSuffix": null,
"paroleTag": null,
"idx": 9,
"parole_tag_id": 608
},
{
"id": 18813,
"use_id": 1890,
"original": "με",
"transcript": "me",
"parole": "with",
"parolePrefix": null,
"paroleSuffix": null,
"paroleTag": null,
"idx": 6,
"parole_tag_id": 666
},
{
"id": 18812,
"use_id": 1890,
"original": "ξύλο",
"transcript": "ksilo",
"parole": "wood",
"parolePrefix": null,
"paroleSuffix": null,
"paroleTag": null,
"idx": 3,
"parole_tag_id": 23
},
{
"id": 18811,
"use_id": 1890,
"original": "Έπαιξε",
"transcript": "epekse",
"parole": "Played",
"parolePrefix": null,
"paroleSuffix": null,
"paroleTag": null,
"idx": 0,
"parole_tag_id": 2587
}
]
},
"system": {
"messages": [],
"status": 200,
"status_text": "OK",
"errors": [],
"error_code": 0
}
}
Time: 0.77
select * from `idion_usage_token` order by `id` desc limit 5
Request
| Method: | GET |
| Route: | api/idion/idion_usage_token/latest/{limit?} |
| Example: | api/idion/idion_usage_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 |