GET /invites
Description
Get the list of pending invitations to join teams/processes for the player
Resource URL
https://api.playlyfe.com/invites
Method
GET
Scopes
player, game, debug
Parameters
Parameters
| Location | Parameter Name | Default Value | Description |
|---|---|---|---|
| Query | skip | 0 | Number of invites to skip |
| Query | limit | 10 | Maximum number of invites to return |
Example
Request
GET https://api.playlyfe.com/invites
Response
{
"data": [
{
"event": "invite",
"timestamp": "2014-03-01T19:04:33.209Z",
"actor": {
"id": "neo",
"alias": "Neo"
},
"team": {
"id": "53120aea188101a72a668a5e",
"name": "The Gaurdians"
},
"roles": {
"God": true
},
"state": "PENDING",
"id": "5300da90-a174-11e3-b581-1b9a3fec215b"
},
{
"event": "invite",
"timestamp": "2014-03-01T19:05:23.452Z",
"actor": {
"id": "neo",
"alias": "Neo"
},
"process": {
"id": "neo/5312096a8e1ebb4550a6a6f9",
"name": "The Matrix"
},
"roles": {
"~": "player"
},
"state": "PENDING",
"id": "70f353c0-a174-11e3-b581-1b9a3fec215b"
}
],
"total": 2
}