Retrieve all entities
Returns the collection of available entities
Request
Method: | GET |
Route: | api/idion/idion_relation |
Example: | api/idion/idion_relation |
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:18 GMT |
content-type: | application/json |
x-ratelimit-limit: | 60 |
x-ratelimit-remaining: | 59 |
{
"handler": "ApiResponse handler",
"result": {
"data": [
{
"id": 4796,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2561,
"related": 2564,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4797,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2564,
"related": 2561,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4799,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2563,
"related": 2563,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4800,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2568,
"related": 2567,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4801,
"content": null,
"type": 3,
"subtype": null,
"mwe_id": 2572,
"related": 2570,
"idion_relation_category": {
"id": 3,
"name": "Opposite",
"comment": null,
"tag": "OPP",
"symmetry": 1,
"transitivity": 0,
"directionality": 0,
"inverted_relation_id": 3
}
},
{
"id": 4802,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2571,
"related": 2570,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4803,
"content": null,
"type": 3,
"subtype": null,
"mwe_id": 2571,
"related": 2572,
"idion_relation_category": {
"id": 3,
"name": "Opposite",
"comment": null,
"tag": "OPP",
"symmetry": 1,
"transitivity": 0,
"directionality": 0,
"inverted_relation_id": 3
}
},
{
"id": 4804,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2575,
"related": 2574,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4805,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2578,
"related": 2577,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4806,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2580,
"related": 2579,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4807,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2566,
"related": 2563,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4808,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2586,
"related": 2588,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4809,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2585,
"related": 2586,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4810,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2588,
"related": 2585,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4811,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2589,
"related": 2590,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
}
],
"links": {
"first": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=1",
"last": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=10",
"prev": null,
"next": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 10,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=1",
"label": "1",
"active": true
},
{
"url": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=2",
"label": "2",
"active": false
},
{
"url": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=3",
"label": "3",
"active": false
},
{
"url": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=4",
"label": "4",
"active": false
},
{
"url": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=5",
"label": "5",
"active": false
},
{
"url": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=6",
"label": "6",
"active": false
},
{
"url": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=7",
"label": "7",
"active": false
},
{
"url": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=8",
"label": "8",
"active": false
},
{
"url": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=9",
"label": "9",
"active": false
},
{
"url": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=10",
"label": "10",
"active": false
},
{
"url": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=2",
"label": "Next »",
"active": false
}
],
"path": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation",
"per_page": 15,
"to": 15,
"total": 139
}
},
"system": {
"messages": [],
"status": 200,
"status_text": "OK",
"errors": [],
"error_code": 0
}
}
Time: 0.62
select count(*) as aggregate from `idion_relation`
Time: 0.58
select * from `idion_relation` order by `id` asc limit 15 offset 0
Time: 0.56
select * from `idion_relation_category` where `idion_relation_category`.`id` in (1, 3)
Request
Method: | GET |
Route: | api/idion/idion_relation |
Example: | api/idion/idion_relation |
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 |