getDeletedStuff


Description

Gets a list of rundowns and rows in the trash

Example request

https://www.rundowncreator.com/channel4news/API.php
     ?APIKey=edharken
     &APIToken=HNe2ADG0nBTiC8Q8WiVfsxeG5ip51A
     &Action=getDeletedStuff

Example response

[
    {
        "Type": "Rundown",
        "RundownID": 4
    },
    {
        "Type": "Row",
        "RundownID": 1,
        "RowID": 1,
        "StorySlug": "New Row Ed Harken"
    },
    {
        "Type": "Row",
        "RundownID": 1,
        "RowID": 9,
        "StorySlug": "New Row Ed Harken"
    },
    {
        "Type": "Row",
        "RundownID": 1,
        "RowID": 10,
        "StorySlug": "New Row Ed Harken"
    },
    {
        "Type": "Row",
        "RundownID": 1,
        "RowID": 11,
        "StorySlug": "New Row Ed Harken"
    },
    {
        "Type": "Row",
        "RundownID": 1,
        "RowID": 12,
        "StorySlug": "New Row Ed Harken"
    },
    {
        "Type": "Row",
        "RundownID": 1,
        "RowID": 16,
        "StorySlug": "BREAKING NEWS"
    }
]

Required parameters

None

Optional parameters

Descending boolean if set to true, the results in the response returned will be sorted in descending order. Defaults to false

Returns

Type string Rundown if the item in the trash is a rundown, Row if it's a row
RundownID integer if Type is Rundown, this is the unique ID of the rundown in the trash. If Type is Row, this is the unique ID of the rundown the row was in before it was put in the trash
RowID integer if Type is Row, this is the unique ID of the row in the trash. Only returned if Type is Row
StorySlug string if Type is Row, this is the story slug of the row in the trash. Only returned if Type is Row