Shell

class Shell.Request(method, args)
Arguments
  • method (string()) – Method to call on shell

  • args (Array()) – Argument array

Returns

A deferred object

A Deferred.Deferred() wrapper around shell calls.

Defined calls:

  • vod_ticket_create: Create a ticket for VoD consumption. Arguments:

    Name

    Purpose

    type

    Ticket type, can be "media_buy", "media_view", "pack_purchase" or "subscribe"

    mediaId

    ID of stream to create a ticket for

    description

    Pretty string for accounting

    duration

    Ticket validity timeframe

    priceCents

    Ticket price

    editorId

    ID for editor, as provided by Free

    portalName

    Name for portal, as provided by Free

    sign

    Signature authenticating the client request