Skip to main content
PUT
/
api
/
analytic
/
edit
/
Edit Analytic API Endpoint
curl --request PUT \
  --url https://backend.clipvision.ai/api/analytic/edit/ \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "analytic_id": 123,
  "channel_id": 123,
  "total_views": 123,
  "total_subs": 123
}'
{
  "analytic_id": 1,
  "disabled": false,
  "channel_id": 1,
  "total_views": 100,
  "total_subs": 100,
  "add_date": "2024-03-17T00:00:00.000Z"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
analytic_id
integer
required
channel_id
integer
total_views
integer
total_subs
integer

Response

Analytic successfully edited

Analytic OpenAPI Schema

analytic_id
integer
disabled
boolean
channel_id
integer
total_views
integer
total_subs
integer
add_date
string<date>