Retrieve latest entities
Returns the collection of the latest entities
Request
Method: | GET |
Route: | api/idion/idion_definition/latest/{limit?} |
Example: | api/idion/idion_definition/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:06 GMT |
content-type: | application/json |
x-ratelimit-limit: | 60 |
x-ratelimit-remaining: | 59 |
{
"handler": "ApiResponse handler",
"result": {
"data": [
{
"id": 2607,
"lemma_id": 3085,
"definition": "βρίσκομαι πολύ μακριά από κάποιον\/κάτι",
"language": 1,
"definition_comment": null,
"intensification": null,
"mitigation": null
},
{
"id": 2606,
"lemma_id": 3084,
"definition": "δεν απέχω πολύ από κάποιον\/κάτι",
"language": 1,
"definition_comment": null,
"intensification": null,
"mitigation": null
},
{
"id": 2605,
"lemma_id": 3083,
"definition": "λίγο απέχω από κάποιον\/κάτι",
"language": 1,
"definition_comment": null,
"intensification": null,
"mitigation": null
},
{
"id": 2604,
"lemma_id": 3082,
"definition": "σκέφτομαι",
"language": 1,
"definition_comment": null,
"intensification": null,
"mitigation": null
},
{
"id": 2603,
"lemma_id": 2867,
"definition": "επηρεάζω αρνητικά την ψυχολογική ή συναισθηματική κατάσταση \/ διάθεση κάποιου",
"language": 1,
"definition_comment": null,
"intensification": null,
"mitigation": null
}
]
},
"system": {
"messages": [],
"status": 200,
"status_text": "OK",
"errors": [],
"error_code": 0
}
}
Time: 0.93
select * from `idion_definition` order by `id` desc limit 5
Request
Method: | GET |
Route: | api/idion/idion_definition/latest/{limit?} |
Example: | api/idion/idion_definition/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 |