In addition to the parameters listed in the Request Parameters section, the newsflash/list method also includes the following parameters:
The event code for the event for which newsflash data is being retreived. Each CiL event that is created is assigned a unique event code that identifies it in the database - The event owner can find this value after creating a new event, by selecting the "altcast_code" which is found in their Viewer Window embed code (e.g. the event code is "46e6cd22b5" in "altcast_code=46e6cd22b5"). This value is also returned by the event/list API method.
The newsflash listing data is returned in the data field of a general response. This field will consist of an array of newsflash objects.
Newsflash objects have the following fields:
The ID of the newsflash. Can be used in further requests against a single newsflash.
One of: published, hidden. When a newsflash is first created, it is in a published state. It can be subsequently unpublished in the EventStudio, which would leave it in a hidden state.
The headline of the newsflash.
The body text of the newsflash
The time that the newsflash was published, in seconds since the Unix Epoch. The timestamp is in GMT time.
The last time that the newsflash was modified, in seconds since the Unix Epoch. The timestamp is in GMT time.
Example response to a successful newsflash/list request:
"status" : "published",
"headline":"YANH - Yet Another Newsflash Headline",
"body":"Yet Another Newsflash Body. And it's not even neat.",
"status" : "hidden",
"headline":"A Newsflash Headline",
"body":"Some newsflash body text ... body text of the newsflash",
CoveritLive is the leading live-event publishing platform. Since its release in 2007, CoveritLive has been used by thousands of writers to engage millions of readers around the world. It is actively used both by traditional bloggers, journalists, major brands and mainstream media.