Closed hoshion closed 10 months ago
/v2/schedule/groups/{groupId}/eventInfo/{event_id}
groupId
: Group IDevent_id
: Event IDweek
: number {
"eventInfo": "string"
}
{
"status": "success",
"message": "Event information saved successfully."
}
/v2/schedule/groups/{groupId}/eventInfo/{event_id}
groupId
: Group IDevent_id
: Event ID{
"period": "enum"
"startTime": "datestring"
"endTime": "datestring"
"url": "string"
"name": "string"
"type": "enum"
"eventInfos": [
{
"number": "number"
"eventInfo": "string"
},
// Other eventInfos
]
}
We have such task in our semester's plan:
What does it mean?
We don't have in database such field as "homework". Homework is a description (eventInfo) for exact event of lesson. We need to have an ability to save this event info from bot.
Functionality:
The task is to say what endpoints and tables in database should back-end have. It must be fully described with essential requests, responses, fields, queries, data types, etc.