feat: media API (video/bbox/thumbnail), UUID unification, dot matrix text, portal fixes, API dictionary V1.3

This commit is contained in:
Warren
2026-05-06 13:34:49 +08:00
parent e75c4d6f07
commit 74b6182eba
197 changed files with 17511 additions and 8759 deletions

View File

@@ -202,7 +202,7 @@ async function fetchFiles() {
async function registerFile(filePath: string) {
try {
const result = await registerVideo(filePath)
await registerVideo(filePath)
// Refresh list
await fetchFiles()
} catch (e) {
@@ -230,7 +230,7 @@ async function startProcessing(fileUuid: string) {
try {
const config = getCurrentConfig()
await httpFetch(`${config.api_base_url}/api/v1/assets/${fileUuid}/process`, {
await httpFetch(`${config.api_base_url}/api/v1/file/${fileUuid}/process`, {
method: 'POST',
body: JSON.stringify({})
})
@@ -246,7 +246,7 @@ async function startProcessing(fileUuid: string) {
function enterWorkbench(fileUuid: string) {
// Navigate to the new Face Workbench view
router.push(`/workbench/${fileUuid}`)
router.push(`/video-detail/${fileUuid}`)
}
onMounted(fetchFiles)