-
Notifications
You must be signed in to change notification settings - Fork 0
API Documentation
Siravich Termvadsayanon edited this page Nov 7, 2023
·
3 revisions
return all schedule with temporary field of sport_status
{
"schedule_list": [
{
"datetime": "2024-07-24T00:00:00",
"sport": [
{
"sport_id": 0,
"sport_name": "Ceremonies",
"sport_type": [],
"sport_status": null
},
{
"sport_id": 1,
"sport_name": "Archery",
"sport_type": [],
"sport_status": null
},
{
"sport_id": 19,
"sport_name": "Football",
"sport_type": [
{
"type_id": 0,
"type_name": "0",
"status": "COMPETITIVE"
}
],
"sport_status": "COMPETITIVE"
}, ...
]
},
....
]
}return all sport
{
"sport_list": [
{
"sport_id": 0,
"sport_name": "Ceremonies",
"sport_icon": [svg path]
},
{
"sport_id": 1,
"sport_name": "Football"
"sport_icon": [svg path]
},
{
"sport_id": 2,
"sport_name": "Archery"
"sport_icon": [svg path]
},
{
"sport_id": 3,
"sport_name": "Artistic Gymnastics"
"sport_icon": [svg path]
},
...
]
}