This endpoint will not show the youtube channels/playlists results.
Please replace {ContainerRegion} withthe region of your FS Container which is one of the following regions.
Container Regions:
eu-west-1,us-west-2,ap-southeast-1
Path Parameters
Name
Type
Description
container_id
number
The container id
Query Parameters
Name
Type
Description
page
number
The page number
per_page
number
The results number per page
search
string
Search by name or URI
with_result
number
1:list the files with results.
0:will not list the results (default)
state
String
0:processing
1:Ready (Recognize results from a file.)
-1: No results (No results were recognized from the file.)
-2,-3: Error
The uri of the file.
if the data_type is audio/fingerprint
format: audio:file_name
if the data_type is audio_url
format: audio_url:url_path
if the data_type is platforms, such as youtube, twitter, tiktok...
format: platform:video:platform_id
youtube:video:7wtfhZwyrcc
data_type
String
audio: upload the audio file to the container
fingerprint: upload the acrcloud fingerprint to the container
audio_url: upload the http/https/ftp url to the container
platforms: upload the platform url, such as https://www.youtube.com/watch?v=t3MWVt4GKy8
engine
Integer
What engine was used to recognize this file?
1: audio fingerprint
2: cover song identification
3: audio fingerprint & cover song identification
4: Speech recognition (STT)
count
Integer
This field is temporarily not in use.
state
Integer
Current state of the document:
0:processing
1:Ready (Recognize results from a file.)
-1: No results (No results were recognized from the file.)
-2,-3: Error
total
Integer
This field is temporarily not in use.
The total sub-files does this file contains
Please replace {ContainerRegion} withthe region of your FS Container which is one of the following regions.
Container Regions:
eu-west-1,us-west-2,ap-southeast-1
Path Parameters
Name
Type
Description
container_id*
number
The container id
Headers
Name
Type
Description
Authorization*
string
Bearer token
Request Body
Name
Type
Description
file
object
The audio or fingerprint file, The audio/fingerprint file size needs to be less than 500MB.
data_type*
string
audio: Upload an audio file
fingerprint: Upload a fingerprint file
platforms: platforms url. Currently, supported platforms are Youtube,Twitter, Tiktok, Vimeo, Brightcove...etc. You can post the platform's web url to this endpoint.
audio_url: Downloadable audio url.
Suit for getting the youtube channels/playlists results
Please replace {ContainerRegion} withthe region of your FS Container which is one of the following regions.
Container Regions:
eu-west-1,us-west-2,ap-southeast-1
Path Parameters
Name
Type
Description
container_id
number
The container id
file_ids
string
The file ids, if you want to get multiple files, separate file IDs with comma.
Please replace {ContainerRegion} withthe region of your FS Container which is one of the following regions.
Container Regions:
eu-west-1,us-west-2,ap-southeast-1
Please replace {ContainerRegion} withthe region of your FS Container which is one of the following regions.
Container Regions:
eu-west-1,us-west-2,ap-southeast-1
Path Parameters
Name
Type
Description
container_id
String
The container id
file_ids
String
The file ids, separate by ','
Headers
Name
Type
Description
Authorization
String
Bearer token
Post result and state with json format to callback url
POSThttps://callback-url.com/path
Request Body
Name
Type
Description
file_id*
String
The file id
cid*
String
The container id
state*
String
1:Ready (Recognize results from a file.)
-1: No results (No results were recognized from the file.)
-2,-3: Error
results
String
if the state = 1, the results will be posted to the callback url
The entire container fs results will be downloaded if no query parameter is specified.
Please replace {ContainerRegion} withthe region of your FS Container which is one of the following regions.
Container Regions:
eu-west-1,us-west-2,ap-southeast-1
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Path Parameters
Name
Type
Description
container_id
string
The fs container id
Query Parameters
Name
Type
Description
ids
string
filter by file ids, separate by commas
start_date
datetime
filter by start date, If filtered by time, both start_date and end_date need to exist simultaneously.
format: YYYY-MM-DD
end_date
datetime
filter by end date, If filtered by time, both start_date and end_date need to exist simultaneously.
format:YYYY-MM-DD
type
string
values: all, merged, music, cover_songs, custom.
default value: all (Download all results and compress them into a zip file, which needs to be unzipped to access the results.)
merged: csv content with merged all the results.
music: csv content with music result
cover_songs: csv content with cover_songs results
custom: csv content with the results from customer's buckets