Base Projects
Create a project
POST
https://api-v2.acrcloud.com/api/base-projects
Create a recognition project
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer token |
Request Body
Name | Type | Description |
---|---|---|
name | string | The project name |
region | string | eu-west-1,us-west-2,ap-southeast-1 |
type | string | There are three types. AVR,LCD,HR. AVR is detecting music or custom content LCD is detecting live channels and time-shifting channels HR is detecting both live channel and custom contents |
buckets | array | The project detects content from the buckets. The format is bucket id array. |
audio_type | string | linein or recorded. Default is linein recorded: Audio captured via microphone or noisy audio files linein: Audio of original file or stream without noise |
external_ids | string | spotify,deezer,isrc,upc,musicbrainz |
List projects
GET
https://api-v2.acrcloud.com/api/base-projects
Query Parameters
Name | Type | Description |
---|---|---|
region | string | eu-west-1,us-west-2,ap-southeast-1 |
type | string | AVR,LCD,HR |
page | string | Page number |
per_page | string | The results number per page |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer token |
Get a project
GET
https://api-v2.acrcloud.com/api/base-projects/:id
Get the details of a project
Path Parameters
Name | Type | Description |
---|---|---|
id | number | The project id |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer token |
Update a project
PUT
https://api-v2.acrcloud.com/api/base-projects/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | number | The project id |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer token |
Request Body
Name | Type | Description |
---|---|---|
name | string | Project name |
buckets | array | The project detects content from buckets. The format is bucket id array. |
audio_type | string | linein or recorded |
external_ids | string | spotify,deezer,youtube,isrc,upc,musicbrainz |
Delete a project
DELETE
https://api-v2.acrcloud.com/api/base-projects/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | number | The project id |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer token |
Get the status of the project's buckets
GET
https://us-api-v2.acrcloud.com/api/base-projects/:id/buckets-status
Path Parameters
Name | Type | Description |
---|---|---|
id | string | The project id |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer token |
Response
Nmae | Type | Description |
---|---|---|
buckets | string | The buckets your porject are using. |
nodes | string | The server nodes for the buckets |
status | string | 1: healthy 0: unhealthy |
Get the statistics of the project
GET
https://api-v2.acrcloud.com/api/base-projects/:id/day-stat
Path Parameters
Name | Type | Description |
---|---|---|
id | number | The project id |
Query Parameters
Name | Type | Description |
---|---|---|
start | string | The start date YYYY-MM-DD |
end | string | The end date |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer token |
Last updated