notes: 加重命名 — title 旁边 ✏️ 按钮 prompt 改名 (PATCH /api/recordings/:id)
deploy notes / build-and-deploy (push) Successful in 1m53s
deploy notes / build-and-deploy (push) Successful in 1m53s
This commit is contained in:
@@ -34,6 +34,9 @@ async function jreq(path, opts = {}) {
|
||||
export function listRecordings() { return jreq('/api/recordings') }
|
||||
export function getRecording(id) { return jreq('/api/recordings/' + id) }
|
||||
export function deleteRecording(id) { return jreq('/api/recordings/' + id, { method: 'DELETE' }) }
|
||||
export function renameRecording(id, title) {
|
||||
return jreq('/api/recordings/' + id, { method: 'PATCH', body: JSON.stringify({ title }) })
|
||||
}
|
||||
export function retryRecording(id) { return jreq('/api/recordings/' + id + '/retry', { method: 'POST' }) }
|
||||
export function convertFeishu(id) {
|
||||
return jreq('/api/recordings/' + id + '/feishu', { method: 'POST' })
|
||||
|
||||
Reference in New Issue
Block a user