Closed janpolacek closed 7 years ago
ok je to hotove.. cize ak je season/ tak response [ { "id": 1, "name": "2011/2012" }, { "id": 2, "name": "2012/2013" }, { "id": 3, "name": "2013/2014" }, { "id": 4, "name": "200" }, { "id": 5, "name": "201" }, { "id": 6, "name": "20000/20001321" }, { "id": 9, "name": "200312" }, { "id": 81, "name": "2011/333333" }, { "id": 97, "name": "a" }, { "id": 98, "name": "aa" }, { "id": 99, "name": "aaa" }, { "id": 100, "name": "bca" }, { "id": 101, "name": "nova sezonka" }, { "id": 102, "name": "nnnn" }, { "id": 103, "name": "9999/10000" }, { "id": 106, "name": "PETOVA_SOESDjaslda" }, { "id": 107, "name": "Cikova_sezonka" }, { "id": 108, "name": "treba skusat" }, { "id": 109, "name": "abc" }, { "id": 110, "name": "nov" } ]
ak je season/1 tak
{ "id": 1, "name": "2011/2012", "seasonTournaments": [ { "id": 3, "seasonId": 1, "tournamentId": 1, "name": "Tests2" }, { "id": 2, "seasonId": 1, "tournamentId": 1, "name": "testick" }, { "id": 5, "seasonId": 1, "tournamentId": 1, "name": "Tests23" }, { "id": 4, "seasonId": 1, "tournamentId": 1, "name": "Tests22" }, { "id": 6, "seasonId": 1, "tournamentId": 1, "name": "Tests234" }, { "id": 1, "seasonId": 1, "tournamentId": 1, "name": "Tests" } ] }
vratit aj pole seasontournamentov
{ id: "0", name: "season name", NEJAKYKEY: { results:[{id:"0", name:"a"}, {id:"1", name:"b"}], length:2 } }