OfflineDBs

Create an offline db

POST https://api-v2.acrcloud.com/api/offlinedbs

Headers

NameTypeDescription

Authorization

string

Bearer token

Request Body

NameTypeDescription

name

string

The offline db name

region

string

us-west-2,eu-west-1,ap-southeast-1

buckets

array

The bucket id array

audio_type

string

linein or recorded. It's the type of audios you want to recognize. linein: Audio of the original files without noise. recorded: Audio captured via microphone or noisy audio files

Rebuild the offline db

PUT https://api-v2.acrcloud.com/api/offlinedbs/:id

Path Parameters

NameTypeDescription

id

number

The offline db id

Headers

NameTypeDescription

Authorization

string

Bearer token

Delete the offline db

DELETE https://api-v2.acrcloud.com/api/offlinedbs/:id

Path Parameters

NameTypeDescription

id

string

The offlinedb id

Headers

NameTypeDescription

Authorization

string

Bearer token

Download the offlinedb

GET https://api-v2.acrcloud.com/api/offlinedbs/:id

Path Parameters

NameTypeDescription

id

string

The offlinedb id

Headers

NameTypeDescription

Authorization

string

Bearer token

Last updated