Create Image Prediction Follow-up

Changed on
post/image-prediction-follow-ups/

Request

  • Base URL
    https://cf-blast.livelikecdn.com/api/v1
  • URL
    https://cf-blast.livelikecdn.com/api/v1/image-prediction-follow-ups/
  • Auth
    none required

Request body

image_prediction_idstring required

The ID of the prediction to create this follow-up for

correct_option_idstring required

The ID of the option to mark as correct

sponsor_idsstring[]

Links the sponsors with this Follow-up. Note that only valid sponsor_ids will be linked to a Follow-up.

Response

201

claim_urlstring
client_idstring
correct_option_idstring
created_atstring
custom_dataunknown
engagement_countunknown
engagement_percentunknown
idstring
image_prediction_idstring
image_prediction_urlstring
impression_countinteger
impression_urlstring
interaction_urlstring
interactive_untilunknown
kindstring
program_date_timeunknown
program_idstring
publish_delaystring
published_atstring
questionstring
rewards_urlunknown
schedule_urlstring
scheduled_atstring
statusstring
subscribe_channelstring
timeoutstring
translationsobject
unique_impression_countinteger
urlstring
widget_interactions_url_templatestring

Example response

{
  "claim_url": "https://blastrt-prod-us-east-1.livelikecdn.com/api/v1/widget-interaction-claims/image-prediction/d645028b-6244-4e0b-acc5-f120a4171d83/claims/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbmNyeXB0ZWQiOiJnQUFBQUFCaFM0a3VwbTJUVDBfNUFPaGFlUEpQR0VxeVhWTXA2V3hCOTNuQWEwbUVkSjByc29oaXZFNVVUaVdCN3ZmY05YVFladmYzWi1TdjRBb2k3Y3R1alBIcUFhT2FMWFNZQXZQckM3WGs4LVNoaURGWmJ3bl9ObF85N3Q1dzVUZGNZMktReXpJVTJqNDBvRXdaSGFLSW9vRDZOUU1xVTRQYkVkdzkwUXNqWlpkQ1YtaHN4ZXNsSkQ4SGFLTUpqWXNPQ25YQU9iLWkiLCJpc3MiOiJibGFzdCIsImlhdCI6MTYzMjMzOTg1N30.3ackVeJZFhPj9nLm8npJkeolTNfQJU1e7W8z9Rah8CI/",
  "client_id": "UJQCf1jWIhKmQpOYdhe6H56Uc4Xp50b1zdVaOowO",
  "correct_option_id": "b6cabc61-dc5d-49f3-b517-f6699f12abd7",
  "created_at": "2021-09-22T19:44:17.258136Z",
  "created_by": {
    "id": "1bf5b2ff-d82b-4400-b4eb-38a8d7bf538c"
  },
  "id": "6767ab32-cfbc-4886-99dd-219e2a84e453",
  "image_prediction_id": "d645028b-6244-4e0b-acc5-f120a4171d83",
  "image_prediction_url": "https://cf-blast.livelikecdn.com/api/v1/image-predictions/d645028b-6244-4e0b-acc5-f120a4171d83/",
  "impression_count": 1,
  "impression_url": "https://blastrt-prod-us-east-1.livelikecdn.com/api/v1/widget-impressions/image-prediction-follow-up/6767ab32-cfbc-4886-99dd-219e2a84e453/",
  "interaction_url": "https://cf-blast.livelikecdn.com/api/v1/image-prediction-follow-ups/6767ab32-cfbc-4886-99dd-219e2a84e453/interactions/",
  "kind": "image-prediction-follow-up",
  "options": [
    {
      "description": "Seattle Seahawks",
      "id": "b6cabc61-dc5d-49f3-b517-f6699f12abd7",
      "image_url": "https://cf-blast-storage.livelikecdn.com/assets/a7bba33c-7dd6-4402-bf06-63fb41979601.jpg",
      "is_correct": true,
      "translatable_fields": [
        "description"
      ],
      "url": "https://cf-blast.livelikecdn.com/api/v1/image-prediction-options/b6cabc61-dc5d-49f3-b517-f6699f12abd7/",
      "vote_url": "https://blastrt-prod-us-east-1.livelikecdn.com/api/v1/widget-interactions/image-prediction/d645028b-6244-4e0b-acc5-f120a4171d83/options/b6cabc61-dc5d-49f3-b517-f6699f12abd7/votes/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbmNyeXB0ZWQiOiJnQUFBQUFCaFM0a3VPNXRFMGpDWFdmX01jRmtFZjRhMlQ2eVNvYlVUNmVNZ2kzZ3BKZVBkRHRCcTlPSDRhOC1yMTN2d2FLVFcxU2FpeDRaN3l4QWZ5bXltcGpycm1MOUgzdz09IiwiaXNzIjoiYmxhc3QiLCJpYXQiOjE2MzIzNDAyNzB9.2BDp51JuxLaf-1y5AtV8zcl9Vi5j4HNCPs4vkYHYHHo/"
    }
  ],
  "program_id": "075a1d11-1489-4dd0-b7c4-a7642f5f517f",
  "publish_delay": "P0DT00H00M00S",
  "published_at": "2021-09-22T19:44:35.996953Z",
  "question": "Which team will score a touchdown first?",
  "schedule_url": "https://cf-blast.livelikecdn.com/api/v1/image-prediction-follow-ups/6767ab32-cfbc-4886-99dd-219e2a84e453/schedule/",
  "scheduled_at": "2021-09-22T19:44:35.789548Z",
  "status": "published",
  "subscribe_channel": "program.widget.d645028b-6244-4e0b-acc5-f120a4171d83",
  "timeout": "P0DT00H00M30S",
  "unique_impression_count": 1,
  "url": "https://cf-blast.livelikecdn.com/api/v1/image-prediction-follow-ups/6767ab32-cfbc-4886-99dd-219e2a84e453/",
  "widget_interactions_url_template": "https://cf-blast.livelikecdn.com/api/v1/profiles/{profile_id}/widget-interactions/?image_prediction_id=d645028b-6244-4e0b-acc5-f120a4171d83"
}

Changes