Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有一种简单的方法可以停止正在运行的秒表以输入时间? 我可能可以通过更新特定条目来编辑结束时间,但我必须获取 ID,存储它等等......
谢谢
是的,您只需要知道工作区的 ID。使用以下端点:
PUT /workspaces/{workspaceId}/timeEntries/endStarted
具有以下主体:
{ end: "2018-10-16T10:54:39.883Z" }
这应该记录在 API 文档的下一个版本中。