Class Types
API methods are broken down into two classes: system
and server
.
System methods generally correspond to tasks that would be performed by the administrator, and which would pertain to the overall management and administration of Centova Cast.
Server methods correspond to management tasks for a single streaming server account.
System Class Authentication
Because they operate on a global (server-wide) basis, all methods of the system
class (except
where otherwise noted) require a password
argument specifying the Centova Cast administrator
password in addition to the arguments noted for each system
class method. Without the administrator
password, all methods of the system
class will return an authentication failure error.
The methods available under the system class are provided under System Class Method Reference.
Server Class Authentication
Because they operate on a per-account basis, all methods of the server
class (except where otherwise
noted) require a username
argument specifying the username of the streaming server account to be
manipulated, and a password
argument specifying the password for the account, in addition to the
arguments noted for each server
class method.
If desired, the password
argument may be replaced with the word admin
, followed by a pipe character
(|
) followed by the Centova Cast administrator password. For example, if the Centova Cast
administrator password is secret
, it is acceptable to specify admin|secret
as the password for
any streaming server account. This allows the administrator to manage any account without knowing
the password for each individual account.
The methods available under the server class are provided under Server Class Method Reference.