Skip to content

List game plans

GET/v2/game-plans

GET
/v2/game-plans
curl --request GET \
--url 'https://api.ligr.live/rest/v2/game-plans?sport=football' \
--header 'Authorization: Bearer <token>'

Beta. This operation can change between minor versions. See Beta status.

Returns the game plans of your organization, newest first. A game plan holds the playlists that automation runs on a match and the triggers that start them. Filter by theme or sport.

themeId

Entity identifier

integer format: int32
>= 1
sport
string
Allowed values: football rugbyUnion rugbyLeague netball cricket futsal iceHockey fieldHockey waterPolo handBall lacrosse touchFootball ausRules basketball rugbySevens gridiron volleyball baseball tennis

Ok

Media typeapplication/json
Array<object>
object
id
required

Entity identifier

integer format: int32
>= 1
name
required
string
sport
required
string
Allowed values: football rugbyUnion rugbyLeague netball cricket futsal iceHockey fieldHockey waterPolo handBall lacrosse touchFootball ausRules basketball rugbySevens gridiron volleyball baseball tennis
themeId
required

Entity identifier

integer format: int32
>= 1
updatedAt
required

ISO 8601. Changes when the plan, one of its playlists or one of its triggers changes.

string
Example
[
{
"sport": "football"
}
]

Request is invalid

Media typeapplication/json
object
message
required
string
details
required
object
key
additional properties
Examplegenerated
{
"message": "example",
"details": {
"additionalProperty": "example"
}
}

Missing or invalid api key

Media typeapplication/json
object
message
required
string
Examplegenerated
{
"message": "example"
}

Api key provides insufficient access for the request

Media typeapplication/json
object
message
required
string
Examplegenerated
{
"message": "example"
}

Game plan, theme, playlist or trigger not found

Media typeapplication/json
object
message
required
string
Examplegenerated
{
"message": "example"
}

Organization has made too many requests

Media typeapplication/json
object
message
required
string
Examplegenerated
{
"message": "example"
}

An unexpected error has occured. If problems persist please contact support

Media typeapplication/json
object
message
required
string
Examplegenerated
{
"message": "example"
}