feat: media API (video/bbox/thumbnail), UUID unification, dot matrix text, portal fixes, API dictionary V1.3
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user