Create

Create a new player plugin.

Tokens

This action requires the following tokens:

  • playerplugin-write

Arguments

Required arguments are marked in bold, and optional arguments are marked in italics.

Argument Type Default Description
jsurl String   The URL to the player plugin javascript file
cssurl String   The URL to the player plugin CSS file
name String   The name of this player plugin
description String   The description of this player plugin

Output

This action produces the following output on success:

An object containing the following fields:

Name Type Description
id Hash Player plugin ID
jsurl String Player plugin javascript URL
cssurl String Player plugin CSS URL
name String Player plugin name
description String Player plugin description
datecreated DateTime When the player plugin was created
datemodified DateTime When the player plugin was last modified
account

Account for this player plugin

The value of this field is an object containing the following fields:

Name Type Description
id Hash Account ID
name String Account name
customer

Customer for this player plugin

The value of this field is an object containing the following fields:

Name Type Description
id Hash Customer ID
name String The name of this customer
datecreated DateTime When this customer was created
datemodified DateTime When this customer was last modified

Errors

This action will always return one of the default status codes.