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
  1. API Reference
  2. Console API
  3. BM Projects
  4. Custom Streams Projects

User Reports

Insert user results

POST https://api-v2.acrcloud.com/api/bm-cs-projects/:pid/streams/:stream_id/user-reports

This endpoint allows you to insert the results just like in Timemap or UCF.

Path Parameters

Name
Type
Description

pid

number

The project id

stream_id

string

The stream id

Headers

Name
Type
Description

Accept

string

application/json

Authorization

string

Bearer token

Content-Type

string

application/json

Request Body

Name
Type
Description

data

array

Result list ([result1, result2, result3...])

result.from

string

api

result.title

string

The title of the result

result.timeoffset

string

UTC time offsets (For example, UK time is UTC + 00:00, the timeoffset is 0; Hong Kong time is UTC + 08:00, the timeoffset is -480)

reuslt.start_timestamp

string

YYYY-mm-dd HH:MM:SS (For example, 2021-02-01 12:13:14), it is your Local Time.

result.end_timestamp

string

YYYY-mm-dd HH:MM:SS (For example, 2021-02-01 12:15:26), it is your Local Time.

result.user_defined

string

Other fields of the result (For example, {"artists": "xxx", "album": "xxx", "isrc": "xxx"})

{
  "data": {
    "id": 984590,
    "result": {
      "start_timestamp_utc": "2021-05-25 03:55:49",
      "end_timestamp_utc": "2021-05-25 03:56:37",
      "record_timestamp": "",
      "title": "xxx",
      "artists": "xxx",
      "album": "xxx",
      "acrid": "null",
      "duration": 48,
      "played_duration": 48,
      "monitor_type": "",
      "result_type": "custom",
      "from": "api-report",
      "raw_metadata": {
        "title": "xxx",
        "artist": "xxx",
        "album": "xxx"
      },
      "start_timestamp_local": "2021-05-25 11:55:49",
      "end_timestamp_local": "2021-05-25 11:56:37"
    }
  }
}
curl --location --request POST 'https://api-v2.acrcloud.com/api/bm-cs-projects/17913/stream_id/s-XXXXXX/user-reports' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your token}'
--header 'Content-Type: application/json' \
--data-raw '{"data":[{"from": "api", "title": "xxxx", "timeoffset": 0, "start_timestamp": "2021-02-01 12:13:14", "end_timestamp": "2021-02-01 12:15:26", "user_defined": {"artists": "xxx", "album": "xxx"}}]}'

Last updated 1 year ago