GET /teams

Description

Get the current state information of a team.

Resource URL

https://api.playlyfe.com/teams/:teamId

Method

GET

Scopes

player, game, debug

LocationParameter NameDefault ValueDescription
QueryteamIdThe team ID

Example

Request
GET https://api.playlyfe.com/teams/53120aea188101a72a668a5e
Response
{
  "id": "53120aea188101a72a668a5e",
  "name": "The Gaurdians",
  "definition": "immortals",
  "created": "2014-03-01T16:29:30.088Z",
  "version": "bc06756f39be30380c040c4dfcf1d95e",
  "access": "PRIVATE",
  "owner": "neo",
  "locked": false,
  "member_count": {
    "God": 2
  },
  "total_members": 2,
  "my_roles": [
    "God"
  ],
  "can_leave": false
}