Retrieve all entities for a specific page
Returns the collection of available entities
Request
Method: | GET |
Route: | api/idion/idion_relation |
Example: | api/idion/idion_relation?page=2&page_size=15 |
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": 4812,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2589,
"related": 2591,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4813,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2589,
"related": 2592,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4814,
"content": null,
"type": 3,
"subtype": null,
"mwe_id": 2589,
"related": 2593,
"idion_relation_category": {
"id": 3,
"name": "Opposite",
"comment": null,
"tag": "OPP",
"symmetry": 1,
"transitivity": 0,
"directionality": 0,
"inverted_relation_id": 3
}
},
{
"id": 4815,
"content": null,
"type": 3,
"subtype": null,
"mwe_id": 2589,
"related": 2594,
"idion_relation_category": {
"id": 3,
"name": "Opposite",
"comment": null,
"tag": "OPP",
"symmetry": 1,
"transitivity": 0,
"directionality": 0,
"inverted_relation_id": 3
}
},
{
"id": 4816,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2598,
"related": 2595,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4819,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2602,
"related": 2599,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4820,
"content": null,
"type": 3,
"subtype": null,
"mwe_id": 2602,
"related": 2560,
"idion_relation_category": {
"id": 3,
"name": "Opposite",
"comment": null,
"tag": "OPP",
"symmetry": 1,
"transitivity": 0,
"directionality": 0,
"inverted_relation_id": 3
}
},
{
"id": 4821,
"content": null,
"type": 3,
"subtype": null,
"mwe_id": 2602,
"related": 2560,
"idion_relation_category": {
"id": 3,
"name": "Opposite",
"comment": null,
"tag": "OPP",
"symmetry": 1,
"transitivity": 0,
"directionality": 0,
"inverted_relation_id": 3
}
},
{
"id": 4822,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2605,
"related": 2603,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4823,
"content": null,
"type": 3,
"subtype": null,
"mwe_id": 2605,
"related": 2604,
"idion_relation_category": {
"id": 3,
"name": "Opposite",
"comment": null,
"tag": "OPP",
"symmetry": 1,
"transitivity": 0,
"directionality": 0,
"inverted_relation_id": 3
}
},
{
"id": 4824,
"content": null,
"type": 3,
"subtype": null,
"mwe_id": 2607,
"related": 2606,
"idion_relation_category": {
"id": 3,
"name": "Opposite",
"comment": null,
"tag": "OPP",
"symmetry": 1,
"transitivity": 0,
"directionality": 0,
"inverted_relation_id": 3
}
},
{
"id": 4825,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2611,
"related": 2609,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4827,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2614,
"related": 2612,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": null,
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 4828,
"content": null,
"type": 3,
"subtype": null,
"mwe_id": 2614,
"related": 2560,
"idion_relation_category": {
"id": 3,
"name": "Opposite",
"comment": null,
"tag": "OPP",
"symmetry": 1,
"transitivity": 0,
"directionality": 0,
"inverted_relation_id": 3
}
},
{
"id": 4829,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 2617,
"related": 2615,
"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": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=1",
"next": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=3"
},
"meta": {
"current_page": 2,
"from": 16,
"last_page": 10,
"links": [
{
"url": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=1",
"label": "« Previous",
"active": false
},
{
"url": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=1",
"label": "1",
"active": false
},
{
"url": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation?page=2",
"label": "2",
"active": true
},
{
"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=3",
"label": "Next »",
"active": false
}
],
"path": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation",
"per_page": 15,
"to": 30,
"total": 139
}
},
"system": {
"messages": [],
"status": 200,
"status_text": "OK",
"errors": [],
"error_code": 0
}
}
Time: 0.56
select count(*) as aggregate from `idion_relation`
Time: 0.5
select * from `idion_relation` order by `id` asc limit 15 offset 15
Time: 0.44
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?page=2&page_size=15 |
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 |