GET /definitions/teams
Description
Get a list of all available team definitions. Team definitions are the blueprints used to create a new team instance.
Only the teams which can be created by the player will be listed. For more information about how teams are created check out Team Basics
Resource URL
https://api.playlyfe.com/definitions/teams
Method
GET
Scopes
player, game, debug
Parameters
None
Example
Request
GET https://api.playlyfe.com/definitions/teams
Response
[ { "id": "immortals", "name": "Immortals", "roles": [ "God", "Angels" ], "access": [ "PRIVATE" ] }, { "id": "demons", "name": "Demons", "roles": [ "Devil", "Angels", "Monsters" ], "access": [ "PRIVATE" ] } ]