Retrieve latest entities
Returns the collection of the latest entities
Request
Method: | GET |
Route: | api/idion/idion_relation_category/latest/{limit?} |
Example: | api/idion/idion_relation_category/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:20 GMT |
content-type: | application/json |
x-ratelimit-limit: | 60 |
x-ratelimit-remaining: | 59 |
{
"handler": "ApiResponse handler",
"result": {
"data": [
{
"id": 14,
"name": "Converse",
"comment": null,
"tag": "CON",
"symmetry": 1,
"transitivity": 0,
"directionality": 0,
"inverted_relation_id": null
},
{
"id": 13,
"name": "Semantic pair (non-causative)",
"comment": null,
"tag": "SPNC",
"symmetry": 0,
"transitivity": 0,
"directionality": 1,
"inverted_relation_id": 13
},
{
"id": 12,
"name": "Semantic pair (causative)",
"comment": null,
"tag": "SPC",
"symmetry": 0,
"transitivity": 0,
"directionality": 1,
"inverted_relation_id": 11
},
{
"id": 9,
"name": "Has_inchoative",
"comment": null,
"tag": "HIN",
"symmetry": 0,
"transitivity": 0,
"directionality": 1,
"inverted_relation_id": 8
},
{
"id": 8,
"name": "Has_causative",
"comment": null,
"tag": "HCA",
"symmetry": 0,
"transitivity": 0,
"directionality": 1,
"inverted_relation_id": 9
}
]
},
"system": {
"messages": [],
"status": 200,
"status_text": "OK",
"errors": [],
"error_code": 0
}
}
Time: 1.02
select * from `idion_relation_category` order by `id` desc limit 5
Request
Method: | GET |
Route: | api/idion/idion_relation_category/latest/{limit?} |
Example: | api/idion/idion_relation_category/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 |