OfflineDBs
Create an offline db
POST
https://api-v2.acrcloud.com/api/offlinedbs
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer token |
Request Body
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
id | number | The offline db id |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer token |
Delete the offline db
DELETE
https://api-v2.acrcloud.com/api/offlinedbs/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | string | The offlinedb id |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer token |
Download the offlinedb
GET
https://api-v2.acrcloud.com/api/offlinedbs/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | string | The offlinedb id |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer token |
Last updated