Request
Body Params application/json
{
"beginAt": 1701000101,
"endAt": 1701000105,
"name": "test time 1-5",
"description": "test description",
"color": 1,
"repeat": 2
}
Request Code Samples
curl --location '/user/schedule/create' \
--header 'Authorization: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJzeXN0ZW0iLCJjcmVhdGVBdCI6IjIwMjMtMTEtMjggMjA6Mzc6MjgifQ.6v8wAYztklfcWZCYmwXKeJznZ-P0Wq7e0zr6fAyuD7Y' \
--header 'Content-Type: application/json' \
--data '{
"beginAt": 1701000101,
"endAt": 1701000105,
"name": "test time 1-5",
"description": "test description",
"color": 1,
"repeat": 2
}'
Responses
application/json
{
"status": 200,
"msg": "成功新建"
}
Modified at 2023-12-01 13:50:39