/Persons Examples

Example: With fields selection you can access specific player info for a specific person.

Request:

GET /persons/32004d41-4371-0352-e57d-251eacb121bd?fs={id, player, coach}

Response payload: Person.json

Stats

The person domain is very flexible. A complex example easily cracked:

Retrieve Jeremy Maclin rushingYards statistic.

Fields Selection:

{
    id, 
    firstName, 
    playerStats{
        gameStats{
            rushingYards
        }
    }
}

Example:

/persons/32004d41-4371-0352-e57d-251eacb121bd?fs={playerStats{teamStats{passing}}}

Response payload: PersonStats.json