Retrieve all entities for a specific page
Returns the collection of available entities
Request
Method: | GET |
Route: | api/idion/idion_mw_token |
Example: | api/idion/idion_mw_token?page=2&page_size=15 |
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:09 GMT |
content-type: | application/json |
x-ratelimit-limit: | 60 |
x-ratelimit-remaining: | 59 |
{
"handler": "ApiResponse handler",
"result": {
"data": [
{
"id": 12,
"mw_id": 3,
"content": "στον",
"wordform": "στη",
"ma": null,
"type": 2,
"optional": 0,
"bound": 0,
"bindedBy": -1,
"bindedByType": 0,
"controlledBy": -1,
"controlledByType": 0,
"mwindex": "1",
"idx": 3,
"tag": 671,
"idion_token_category": {
"id": 2,
"name": "LEMMA",
"comment": null
},
"tags": {
"id": 671,
"category": "Preposition",
"value": "AsPpPaFeSgAc"
}
},
{
"id": 13,
"mw_id": 3,
"content": "γλύκα",
"wordform": "γλύκα",
"ma": null,
"type": 2,
"optional": 0,
"bound": 0,
"bindedBy": -1,
"bindedByType": 0,
"controlledBy": -1,
"controlledByType": 0,
"mwindex": "1",
"idx": 4,
"tag": 13,
"idion_token_category": {
"id": 2,
"name": "LEMMA",
"comment": null
},
"tags": {
"id": 13,
"category": "Noun",
"value": "NoCmFeSgAc"
}
},
{
"id": 18,
"mw_id": 4,
"content": "αμανάτι",
"wordform": "αμανάτι",
"ma": null,
"type": 13,
"optional": 0,
"bound": 0,
"bindedBy": -1,
"bindedByType": 0,
"controlledBy": -1,
"controlledByType": 0,
"mwindex": null,
"idx": 2,
"tag": null,
"idion_token_category": {
"id": 13,
"name": "WF",
"comment": null
},
"tags": null
},
{
"id": 19,
"mw_id": 4,
"content": null,
"wordform": null,
"ma": null,
"type": 4,
"optional": 0,
"bound": 0,
"bindedBy": -1,
"bindedByType": 0,
"controlledBy": -1,
"controlledByType": 0,
"mwindex": null,
"idx": 3,
"tag": null,
"idion_token_category": {
"id": 4,
"name": "NP-ACC",
"comment": null
},
"tags": null
},
{
"id": 20,
"mw_id": 4,
"content": null,
"wordform": null,
"ma": null,
"type": 15,
"optional": 0,
"bound": 0,
"bindedBy": -1,
"bindedByType": 0,
"controlledBy": -1,
"controlledByType": 0,
"mwindex": null,
"idx": 0,
"tag": null,
"idion_token_category": {
"id": 15,
"name": "NP-NOM-anim",
"comment": null
},
"tags": null
},
{
"id": 21,
"mw_id": 4,
"content": "σε",
"wordform": "σε",
"ma": null,
"type": 2,
"optional": 1,
"bound": 0,
"bindedBy": -1,
"bindedByType": 0,
"controlledBy": -1,
"controlledByType": 0,
"mwindex": "1",
"idx": 4,
"tag": 666,
"idion_token_category": {
"id": 2,
"name": "LEMMA",
"comment": null
},
"tags": {
"id": 666,
"category": "Preposition",
"value": "AsPpSp"
}
},
{
"id": 22,
"mw_id": 4,
"content": null,
"wordform": null,
"ma": null,
"type": 9,
"optional": 1,
"bound": 0,
"bindedBy": -1,
"bindedByType": 0,
"controlledBy": -1,
"controlledByType": 0,
"mwindex": "1",
"idx": 5,
"tag": null,
"idion_token_category": {
"id": 9,
"name": "NP-NOM",
"comment": null
},
"tags": null
},
{
"id": 23,
"mw_id": 4,
"content": "αφήνω",
"wordform": null,
"ma": null,
"type": 2,
"optional": 0,
"bound": 0,
"bindedBy": -1,
"bindedByType": 0,
"controlledBy": -1,
"controlledByType": 0,
"mwindex": null,
"idx": 1,
"tag": 2729,
"idion_token_category": {
"id": 2,
"name": "LEMMA",
"comment": null
},
"tags": {
"id": 2729,
"category": "Other",
"value": "VbAv"
}
},
{
"id": 26,
"mw_id": 5,
"content": "αφήνω",
"wordform": null,
"ma": null,
"type": 2,
"optional": 0,
"bound": 0,
"bindedBy": -1,
"bindedByType": 0,
"controlledBy": -1,
"controlledByType": 0,
"mwindex": null,
"idx": 1,
"tag": 2729,
"idion_token_category": {
"id": 2,
"name": "LEMMA",
"comment": null
},
"tags": {
"id": 2729,
"category": "Other",
"value": "VbAv"
}
},
{
"id": 27,
"mw_id": 5,
"content": null,
"wordform": null,
"ma": null,
"type": 5,
"optional": 1,
"bound": 0,
"bindedBy": -1,
"bindedByType": 0,
"controlledBy": -1,
"controlledByType": 0,
"mwindex": "2",
"idx": 6,
"tag": null,
"idion_token_category": {
"id": 5,
"name": "NP-ACC-anim",
"comment": null
},
"tags": null
},
{
"id": 28,
"mw_id": 5,
"content": "λάσκα",
"wordform": "λάσκα",
"ma": null,
"type": 2,
"optional": 0,
"bound": 0,
"bindedBy": -1,
"bindedByType": 0,
"controlledBy": -1,
"controlledByType": 0,
"mwindex": null,
"idx": 2,
"tag": 661,
"idion_token_category": {
"id": 2,
"name": "LEMMA",
"comment": null
},
"tags": {
"id": 661,
"category": "Adverb",
"value": "AdXxBa"
}
},
{
"id": 31,
"mw_id": 5,
"content": null,
"wordform": null,
"ma": null,
"type": 15,
"optional": 0,
"bound": 0,
"bindedBy": -1,
"bindedByType": 0,
"controlledBy": -1,
"controlledByType": 0,
"mwindex": null,
"idx": 0,
"tag": null,
"idion_token_category": {
"id": 15,
"name": "NP-NOM-anim",
"comment": null
},
"tags": null
},
{
"id": 36,
"mw_id": 5,
"content": "σε",
"wordform": null,
"ma": null,
"type": 2,
"optional": 1,
"bound": 0,
"bindedBy": -1,
"bindedByType": 0,
"controlledBy": -1,
"controlledByType": 0,
"mwindex": "2",
"idx": 5,
"tag": 666,
"idion_token_category": {
"id": 2,
"name": "LEMMA",
"comment": null
},
"tags": {
"id": 666,
"category": "Preposition",
"value": "AsPpSp"
}
},
{
"id": 37,
"mw_id": 5,
"content": "λουρί",
"wordform": "λουριά",
"ma": null,
"type": 2,
"optional": 0,
"bound": 0,
"bindedBy": -1,
"bindedByType": 0,
"controlledBy": -1,
"controlledByType": 0,
"mwindex": "1",
"idx": 4,
"tag": 28,
"idion_token_category": {
"id": 2,
"name": "LEMMA",
"comment": null
},
"tags": {
"id": 28,
"category": "Noun",
"value": "NoCmNePlAc"
}
},
{
"id": 38,
"mw_id": 5,
"content": "το",
"wordform": "τα",
"ma": null,
"type": 2,
"optional": 0,
"bound": 0,
"bindedBy": -1,
"bindedByType": 0,
"controlledBy": -1,
"controlledByType": 0,
"mwindex": "1",
"idx": 3,
"tag": 628,
"idion_token_category": {
"id": 2,
"name": "LEMMA",
"comment": null
},
"tags": {
"id": 628,
"category": "Article",
"value": "AtDfNePlAc"
}
}
],
"links": {
"first": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=1",
"last": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=358",
"prev": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=1",
"next": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=3"
},
"meta": {
"current_page": 2,
"from": 16,
"last_page": 358,
"links": [
{
"url": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=1",
"label": "« Previous",
"active": false
},
{
"url": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=1",
"label": "1",
"active": false
},
{
"url": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=2",
"label": "2",
"active": true
},
{
"url": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=3",
"label": "3",
"active": false
},
{
"url": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=4",
"label": "4",
"active": false
},
{
"url": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=5",
"label": "5",
"active": false
},
{
"url": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=6",
"label": "6",
"active": false
},
{
"url": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=7",
"label": "7",
"active": false
},
{
"url": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=8",
"label": "8",
"active": false
},
{
"url": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=9",
"label": "9",
"active": false
},
{
"url": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=10",
"label": "10",
"active": false
},
{
"url": null,
"label": "...",
"active": false
},
{
"url": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=357",
"label": "357",
"active": false
},
{
"url": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=358",
"label": "358",
"active": false
},
{
"url": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token?page=3",
"label": "Next »",
"active": false
}
],
"path": "http:\/\/api.greek.idion.athenarc.gr\/api\/idion\/idion_mw_token",
"per_page": 15,
"to": 30,
"total": 5368
}
},
"system": {
"messages": [],
"status": 200,
"status_text": "OK",
"errors": [],
"error_code": 0
}
}
Time: 0.63
select count(*) as aggregate from `idion_mw_token`
Time: 0.65
select * from `idion_mw_token` order by `mw_id` asc limit 15 offset 15
Time: 0.63
select * from `idion_token_category` where `idion_token_category`.`id` in (2, 4, 5, 9, 13, 15)
Time: 0.57
select * from `tags` where `tags`.`id` in (13, 28, 628, 661, 666, 671, 2729)
Request
Method: | GET |
Route: | api/idion/idion_mw_token |
Example: | api/idion/idion_mw_token?page=2&page_size=15 |
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 |