日期标签记录
获取日期标签记录列表¶
GET /openapi/v1/workspaces/{workspaceId}/date-tag-records/
查询参数
| 参数 | 类型 | 是否必填 | 说明 |
|---|---|---|---|
| startAt | string | 否 | 开始日期 |
| endAt | string | 否 | 结束日期 |
| date | string | 否 | 指定日期 |
| cycle | int | 否 | 日期标签循环 id |
| tag_id | int | 否 | 日期标签 id |
| offset | int | 否 | 偏移量 |
| limit | int | 否 | 每页数量,默认 100 |
| count | bool | 否 | 是否只返回数量 |
返回结果
{
"errcode": 200,
"errmsg": "success",
"data": [
{
"id": 1,
"cycle": 1,
"date": "2024-01-01"
}
]
}
获取日期标签记录详情¶
GET /openapi/v1/workspaces/{workspaceId}/date-tag-records/{recordId}/
更新日期标签记录¶
PUT /openapi/v1/workspaces/{workspaceId}/date-tag-records/{recordId}/
请求体
{
"date": "2024-01-01"
}
删除日期标签记录¶
DELETE /openapi/v1/workspaces/{workspaceId}/date-tag-records/{recordId}/