PlayerTeam
Retrieves the collection of PlayerTeam resources.
Retrieves the collection of PlayerTeam resources.
get/players/{id}/player_teams
Request
- Base URL: https://api.spash.com
- URL: https://api.spash.com/players/{id}/player_teams
- Auth: one of:
- API key in header Authorization
- HTTP bearer
Path parameters
idstring required
PlayerTeam identifier
Query parameters
pageinteger
The collection page number
itemsPerPageinteger
The number of items per page
paginationboolean
Enable or disable pagination
createdAt[before]string
createdAt[strictly_before]string
createdAt[after]string
createdAt[strictly_after]string
updatedAt[before]string
updatedAt[strictly_before]string
updatedAt[after]string
updatedAt[strictly_after]string
order[createdAt]'asc' | 'desc'
order[updatedAt]'asc' | 'desc'
player.idinteger
player.id[]integer[]
team.idinteger
team.id[]integer[]
Response
PlayerTeam collection
Example response
[
{
"player": {
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
},
"team": {
"primaryColor": "#FFFFFF",
"secondaryColor": "#FFFFFF",
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
},
"ngtvSessionPlayers": [
{
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
}
],
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.