Update Event

Request: POST /api/v5/write/event/update.json

Query Parameters:

  • event_local_id: The local_id of the Liveblog

Post Document:

{
  "_type": "Tik::Model::Event",

  // optional, if blank previous created_at will be used
  "created_at": 1578993674,

  // optional, if blank current time will be used
  "updated_at": 1578993674, 

  // sticky | inplace | stickyNoHighlight | milestone
  "highlight": "", 

  // [Tik::Model::RichTextContentBlock|Tik::Model::Content::MultiMediaContentBlock|
  //  Tik::Model::Content::WebEmbedContentBlock|Tik::Model::Content::QuoteContentBlock|
  //  Tik::Model::Content::EmojiContentBlock|Tik::Model::Content::PlayerCardContentBlock|
  //  Tik::Model::Content::SportEventContentBlock|Tik::Model::Content::ScoreboardContentBlock]
  "contents": [],

  // Optional: Tik::Model::Content::SportEventContentBlock
  // Only for sport events like soccer goal
  "sport_event": {}
}

Further Information:

Success Response: Tik::Model::Event Object

Examples

POST /api/v5/write/event/update.json?event_local_id=YOUR_EVENT_LOCAL_ID

Simple Event with text:

{
  "_type": "Tik::Model::Event",
  "contents": [
    {
      "_type": "Tik::Model::RichTextContentBlock",
      "text": "new event text"
    }
  ]
}