LineupService

new LineupService()

Service for managing lineups in a choreography.

Methods

create(startCount, endCount, choreoId) → {Promise.<Object>}

Create a new lineup.

Parameters:
NameTypeDescription
startCountnumber

Start count for the lineup

endCountnumber

End count for the lineup

choreoIdstring

Choreography ID

Returns:

Created lineup

Type: 
Promise.<Object>

remove(id) → {Promise.<Object>}

Remove a lineup by its ID.

Parameters:
NameTypeDescription
idstring

Lineup ID

Returns:

Response data

Type: 
Promise.<Object>

update(id, data) → {Promise.<Object>}

Update a lineup by its ID.

Parameters:
NameTypeDescription
idstring

Lineup ID

dataObject

Data to update

Returns:

Updated lineup

Type: 
Promise.<Object>