Retrieve an entity by ID

Returns a specific entity by ID

Request

Method: GET
Route: api/idion/idion_relation_category/{id}
Example: api/idion/idion_relation_category/1
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:20 GMT
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 59
{
    "handler": "ApiResponse handler",
    "result": {
        "data": [
            {
                "id": 1,
                "name": "Synonym",
                "comment": null,
                "tag": "SYN",
                "symmetry": 1,
                "transitivity": 1,
                "directionality": 0,
                "inverted_relation_id": 1
            }
        ]
    },
    "system": {
        "messages": [],
        "status": 200,
        "status_text": "OK",
        "errors": [],
        "error_code": 0
    }
}

Time: 0.9

select * from `idion_relation_category` limit 1

Time: 0.72

select * from `idion_relation_category` limit 1

Time: 1.23

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

Request

Method: GET
Route: api/idion/idion_relation_category/{id}
Example: api/idion/idion_relation_category/1
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