Retrieve an entity by ID
Returns a specific entity by ID
Request
Method: | GET |
Route: | api/idion/idion_corpus/{id} |
Example: | api/idion/idion_corpus/16449 |
Route Parameter | Pattern | Requirement |
---|---|---|
id | [0-9]+ | Required |
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:16 GMT |
content-type: | application/json |
x-ratelimit-limit: | 60 |
x-ratelimit-remaining: | 59 |
{
"handler": "ApiResponse handler",
"result": {
"data": [
{
"id": 16449,
"entry": "Namój čeftá balíkoso.",
"acceptable": "acceptable",
"url": "Καταγραφή Νικόλαου Κόκκα",
"conllu": null,
"mwe_id": 2560,
"uuid": null,
"literal": 0,
"retrieve_date": "2022-08-24",
"emphasis": 0,
"gradation_tag_id": null
}
]
},
"system": {
"messages": [],
"status": 200,
"status_text": "OK",
"errors": [],
"error_code": 0
}
}
Time: 0.65
select * from `idion_corpus` limit 1
Time: 0.63
select * from `idion_corpus` limit 1
Time: 0.7
select * from `idion_corpus` where `idion_corpus`.`id` = ? limit 1
Bindings
0: | 16449 |
Request
Method: | GET |
Route: | api/idion/idion_corpus/{id} |
Example: | api/idion/idion_corpus/16449 |
Route Parameter | Pattern | Requirement |
---|---|---|
id | [0-9]+ | Required |
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 |