GET /teams/:teamId/invites
Description
Get a list of invites the player has sent out to join a team
Only invites sent out the player himself to other players will be listed
Resource URL
https://api.playlyfe.com/teams/:teamId/invites
Method
GET
Scopes
player, game, debug
Parameters
| Location | Parameter Name | Default Value | Description |
|---|---|---|---|
| Query | teamId | The team ID |
Example
Request
GET https://api.playlyfe.com/teams/hackers/invites
Response
{
"data": [
{
"event": "invite",
"timestamp": "2014-03-02T18:10:08.021Z",
"invitee": {
"id": "morpheus",
"alias": "Morpheus"
},
"team": {
"id": "hackers",
"name": "The Hackers"
},
"roles": {
"Member": true
},
"state": "PENDING",
"id": "e3367450-a235-11e3-9af5-753d0e60669a"
}
],
"total": 1
}