ACRCloud
Visit WebsiteConsole
  • Introduction
  • Get Started
  • Console Tutorials
    • Recognize Music
    • Recognize Custom Content
    • Broadcast Monitoring for Music
    • Broadcast Monitoring for Custom Content
    • Detect Live & Timeshift TV Channels
    • Recognize Custom Content Offline
    • Recognize Live Channels and Custom Content
    • Find Potential Detections in Unknown Content Filter
  • SDK REFERENCE
    • Mobile SDK
      • iOS
      • Android
      • Unity
    • Backend SDK
      • Python
      • PHP
      • Go
      • Java
      • C/C++
      • C#
    • Error Codes
  • API Reference
    • Identification API
    • Console API
      • Access Token
      • Buckets
        • Audio Files
        • Live Channels
        • Dedup Files
      • Base Projects
      • OfflineDBs
      • BM Projects
        • Custom Streams Projects
          • Streams
          • Streams Results
          • Streams State
          • Recordings
          • Analytics
          • User Reports
        • Broadcast Database Projects
          • Channels
          • Channels Results
          • Channels State
          • Recordings
          • Analytics
          • User Reports
      • File Scanning
        • FsFiles
      • UCF Projects
        • BM Streams
        • UCF Results
    • Metadata API
  • Tools
    • Audio File Fingerprinting Tool
    • Local Monitoring Tool
    • Live Channel Fingerprinting Tool
    • File Scan Tool
  • Metadata
    • Music
    • Music (Broadcast Monitoring with Broadcast Database)
    • Custom Files
    • Live Channels
    • Humming
  • FAQ
    • Definition of Terms
  • Service Usage
Powered by GitBook
On this page
  • Import bm streams
  • List the ucf streams
  • Delete the bm streams
  1. API Reference
  2. Console API
  3. UCF Projects

BM Streams

Import bm streams

POST https://api-v2.acrcloud.com/api/ucf-projects/:pid/streams

Import BM streams to project

Path Parameters

Name
Type
Description

pid

number

The project id

Headers

Name
Type
Description

Authorization

string

Bearer token

Request Body

Name
Type
Description

bm_stream_ids

array

The BM streams ids array

from

string

BM-CUSTOM or BM-DATABASE

bm_project_id

number

The BM project id

{
    "data": [
        {
            "uid": 1,
            "pid": 10263,
            "bm_stream_id": 191149,
            "bm_project_id": 871,
            "from": "BM-DATABASE",
            "state": 1,
            "updated_at": "2020-12-28T08:01:14.000000Z",
            "created_at": "2020-12-28T08:01:14.000000Z",
            "id": 79,
            "bm_stream_name": "(ΛΑΜΨΗ) Lampsi 92.3 FM",
            "bm_project_name": "test"
        },
        {
            "uid": 1,
            "pid": 10263,
            "bm_stream_id": 198144,
            "bm_project_id": 871,
            "from": "BM-DATABASE",
            "state": 1,
            "updated_at": "2020-12-28T08:01:14.000000Z",
            "created_at": "2020-12-28T08:01:14.000000Z",
            "id": 80,
            "bm_stream_name": ".977 Today's Hits",
            "bm_project_name": "test"
        }
    ]
}
curl --location --request POST 'https://api-v2.acrcloud.com/api/ucf-projects/10263/streams' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer token' \
--header 'Content-Type: application/json' \
--data-raw '{"bm_stream_ids":["191149","198144"], "from":"BM-DATABASE", "bm_project_id":871}'

List the ucf streams

GET https://api-v2.acrcloud.com/api/ucf-projects/:pid/streams

Path Parameters

Name
Type
Description

pid

string

The ucf project id

Query Parameters

Name
Type
Description

page

number

per_page

number

Headers

Name
Type
Description

Authorization

string

Bearer token

{
    "data": [
        {
            "id": 80,
            "uid": 1,
            "pid": 10263,
            "bm_stream_id": "198144",
            "bm_project_id": 871,
            "from": "BM-DATABASE",
            "state": 1,
            "updated_at": "2020-12-28T08:01:14.000000Z",
            "created_at": "2020-12-28T08:01:14.000000Z",
            "bm_stream_name": ".977 Today's Hits",
            "bm_project_name": "test"
        },
        {
            "id": 79,
            "uid": 1,
            "pid": 10263,
            "bm_stream_id": "191149",
            "bm_project_id": 871,
            "from": "BM-DATABASE",
            "state": 1,
            "updated_at": "2020-12-28T08:01:14.000000Z",
            "created_at": "2020-12-28T08:01:14.000000Z",
            "bm_stream_name": "(ΛΑΜΨΗ) Lampsi 92.3 FM",
            "bm_project_name": "test"
        }
    ],
    "links": {
        "first": "http://127.0.0.1:8080/api/ucf-projects/10263/streams?page=1",
        "last": "http://127.0.0.1:8080/api/ucf-projects/10263/streams?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "http://127.0.0.1:8080/api/ucf-projects/10263/streams",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
curl --location --request GET 'https://api-v2.acrcloud.com/api/ucf-projects/10263/streams' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer token'

Delete the bm streams

DELETE https://api-v2.acrcloud.com/api/ucf-projects/:pid/streams/ids

Path Parameters

Name
Type
Description

ids

string

The streams ids. Sparated by ','

pid

number

The ucf project id

Headers

Name
Type
Description

Authorization

string

Bearer token

curl --location --request DELETE 'http://127.0.0.1:8080/api/ucf-projects/10263/streams/80' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer token'

Last updated 1 year ago