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/1
Route Parameter Pattern Requirement
id [0-9]+ Required
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": 1,
                "entry": "Θαύμα έγινε που δεν σε άφησα στον τόπο, παλιοκερατά.",
                "acceptable": "acceptable",
                "url": "https:\/\/books.google.nl\/books?id=dum1CgAAQBAJ&pg=PT180&lpg=PT180&dq=%22%CE%AC%CF%86%CE%B7%CF%83%CE%B1+%CF%83%CF%84%CE%BF%CE%BD+%CF%84%CF%8C%CF%80%CE%BF%22&source=bl&ots=bOpkg4JODW&sig=jUmbAyCdgzrPyEBXtND0FKdII4w&hl=el&sa=X&ved=0ahUKEwjSmYm707HZAhXDmLQKHRf3AJ4Q6AEIMTAB#v=onepage&q=%22%CE%AC%CF%86%CE%B7%CF%83%CE%B1%20%CF%83%CF%84%CE%BF%CE%BD%20%CF%84%CF%8C%CF%80%CE%BF%22&f=false",
                "conllu": null,
                "mwe_id": 1,
                "uuid": "5a4a1098-fb54-4bd7-8543-21459ebdf3e9",
                "literal": 0,
                "retrieve_date": null,
                "emphasis": 0,
                "gradation_tag_id": null
            }
        ]
    },
    "system": {
        "messages": [],
        "status": 200,
        "status_text": "OK",
        "errors": [],
        "error_code": 0
    }
}

Time: 0.48

select * from `idion_corpus` limit 1

Time: 0.47

select * from `idion_corpus` limit 1

Time: 0.5

select * from `idion_corpus` where `idion_corpus`.`id` = ? limit 1
Bindings
0: 1

Request

Method: GET
Route: api/idion/idion_corpus/{id}
Example: api/idion/idion_corpus/1
Route Parameter Pattern Requirement
id [0-9]+ Required
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