1
0

nightly commit

This commit is contained in:
2021-02-01 20:34:40 +08:00
parent 3de813304c
commit 9c5dda83d1
2 changed files with 40 additions and 24 deletions

View File

@@ -76,7 +76,8 @@ CREATE TABLE calendar(
## API
所有API均为POST请求
所有API均为POST请求
理论上所有更新操作名字里有update的除去必要的鉴别字段外其余字段均为可选字段可选字段只需要提供至少一个即可。但一些可选字段只有1条的就没有可选字段。
### Common类
@@ -243,6 +244,8 @@ Calendar类下的为日历请求接口
返回参数新的lastChange用以更新本地缓存
除去tokenuuidtimezoneOffset和lastChange这4项用来鉴别的条目外其余的条目均为可选项提供则更新不提供则不更新。
#### add
请求地址:`/api/calendar/add`
@@ -547,6 +550,8 @@ Admin类的操作不涉及任何客户端存储因此不需要lastChange来
返回参数一个bool表示是否修改成功
除去tokenusername这2项用来鉴别的条目外其余的条目均为可选项提供则更新不提供则不更新。
#### delete
请求地址:`/api/admin/delete`