Create a Cheer Meter

Changed on
post/cheer-meters/

Request

  • Base URL
    https://cf-blast.livelikecdn.com/api/v1
  • URL
    https://cf-blast.livelikecdn.com/api/v1/cheer-meters/
  • Auth
    none required

Request body

program_idstring required

The id of the program to create the Cheer Meter for

questionstring required

The questions asked by the Cheer Meter

playback_time_msinteger

Video playback time in milliseconds

sponsor_idsstring[]

Links the sponsors with this Cheer Meter. Note that only valid sponsor_ids will be linked to a Cheer Meter.

Response

201

cheer_typestring
client_idstring
created_atstring
custom_dataunknown
engagement_countinteger
engagement_percentstring
idstring
impression_countinteger
impression_urlstring
interaction_urlstring
kindstring
program_date_timeunknown
program_idstring
publish_delaystring
published_atstring
questionstring
rewards_urlunknown
schedule_urlstring
scheduled_atstring
statusstring
subscribe_channelstring
timeoutstring
translatable_fieldsstring[]
translationsobject
unique_impression_countinteger
playback_time_msunknown
urlstring
widget_interactions_url_templatestring

Example response

{
  "cheer_type": "tap",
  "client_id": "UJQCf1jWIhKmQpOYdhe6H56Uc4Xp50b1zdVaOowO",
  "created_at": "2021-09-22T19:48:29.666189Z",
  "created_by": {
    "id": "1bf5b2ff-d82b-4400-b4eb-38a8d7bf538c"
  },
  "engagement_count": 1,
  "engagement_percent": "1.000",
  "id": "d5c11b92-32dc-410d-9ad6-63dd2d143272",
  "impression_count": 1,
  "impression_url": "https://blastrt-prod-us-east-1.livelikecdn.com/api/v1/widget-impressions/cheer-meter/d5c11b92-32dc-410d-9ad6-63dd2d143272/",
  "interaction_url": "https://cf-blast.livelikecdn.com/api/v1/cheer-meters/d5c11b92-32dc-410d-9ad6-63dd2d143272/interactions/",
  "kind": "cheer-meter",
  "options": [
    {
      "description": "Seattle Seahawks",
      "id": "fa07d233-09c2-4aef-a98a-c16c06f49759",
      "image_url": "https://cf-blast-storage.livelikecdn.com/assets/a7bba33c-7dd6-4402-bf06-63fb41979601.jpg",
      "translatable_fields": [
        "description"
      ],
      "vote_count": 49,
      "vote_url": "https://blastrt-prod-us-east-1.livelikecdn.com/api/v1/widget-interactions/cheer-meter/d5c11b92-32dc-410d-9ad6-63dd2d143272/options/fa07d233-09c2-4aef-a98a-c16c06f49759/votes/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbmNyeXB0ZWQiOiJnQUFBQUFCaFM0a3VMS3pwMUF5X2pqd05vNkNrMXBVLUtWUGtJRW9JM25WRjRlYXhjeFNrYzJvWEg4SEZ1VnpwTVRyd3V0LTRZY3RpUURmU1RNUVExdVV6em9MNXE3NWpPdz09IiwiaXNzIjoiYmxhc3QiLCJpYXQiOjE2MzIzNDAyNzB9.l7lE6H8FZzbLf7yXlOv0GIBIN3fCzaaPvujtL90Z3GE/"
    }
  ],
  "program_id": "075a1d11-1489-4dd0-b7c4-a7642f5f517f",
  "publish_delay": "P0DT00H00M00S",
  "published_at": "2021-09-22T19:48:30.126084Z",
  "question": "Which team are you rooting for?",
  "schedule_url": "https://cf-blast.livelikecdn.com/api/v1/cheer-meters/d5c11b92-32dc-410d-9ad6-63dd2d143272/schedule/",
  "scheduled_at": "2021-09-22T19:48:29.967468Z",
  "status": "published",
  "subscribe_channel": "program.widget.d5c11b92-32dc-410d-9ad6-63dd2d143272",
  "timeout": "P0DT00H00M30S",
  "translatable_fields": [
    "question"
  ],
  "unique_impression_count": 1,
  "url": "https://cf-blast.livelikecdn.com/api/v1/cheer-meters/d5c11b92-32dc-410d-9ad6-63dd2d143272/",
  "widget_interactions_url_template": "https://cf-blast.livelikecdn.com/api/v1/profiles/{profile_id}/widget-interactions/?cheer_meter_id=d5c11b92-32dc-410d-9ad6-63dd2d143272"
}

Changes