Retrieve all entities for a specific page
Returns the collection of available entities
Request
Method: | GET |
Route: | api/idion/idion_relation_category |
Example: | api/idion/idion_relation_category?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:20 GMT |
content-type: | application/json |
x-ratelimit-limit: | 60 |
x-ratelimit-remaining: | 59 |
{
"handler": "ApiResponse handler",
"result": {
"data": [],
"links": {
"first": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation_category?page=1",
"last": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation_category?page=1",
"prev": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation_category?page=1",
"next": null
},
"meta": {
"current_page": 2,
"from": null,
"last_page": 1,
"links": [
{
"url": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation_category?page=1",
"label": "« Previous",
"active": false
},
{
"url": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation_category?page=1",
"label": "1",
"active": false
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "http:\/\/api.pomak.idion.athenarc.gr\/api\/idion\/idion_relation_category",
"per_page": 15,
"to": null,
"total": 12
}
},
"system": {
"messages": [],
"status": 200,
"status_text": "OK",
"errors": [],
"error_code": 0
}
}
Time: 0.79
select count(*) as aggregate from `idion_relation_category`
Time: 0.82
select * from `idion_relation_category` order by `id` asc limit 15 offset 15
Request
Method: | GET |
Route: | api/idion/idion_relation_category |
Example: | api/idion/idion_relation_category?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 |