GET me/games/players?id={id}&type={type}
get members in the home and away teams of a specific game
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | game id |
Define this parameter in the request URI. |
type | game type |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "game_id": 1, "game_type": 0, "home": { "team_id": "sample string 1", "members": [ { "played": true, "is_mvp": true, "rsvp": 0, "id": "sample string 3", "first_name": "sample string 4", "last_name": "sample string 5", "avatar_url": "sample string 6" }, { "played": true, "is_mvp": true, "rsvp": 0, "id": "sample string 3", "first_name": "sample string 4", "last_name": "sample string 5", "avatar_url": "sample string 6" }, { "played": true, "is_mvp": true, "rsvp": 0, "id": "sample string 3", "first_name": "sample string 4", "last_name": "sample string 5", "avatar_url": "sample string 6" } ] }, "away": { "team_id": "sample string 1", "members": [ { "played": true, "is_mvp": true, "rsvp": 0, "id": "sample string 3", "first_name": "sample string 4", "last_name": "sample string 5", "avatar_url": "sample string 6" }, { "played": true, "is_mvp": true, "rsvp": 0, "id": "sample string 3", "first_name": "sample string 4", "last_name": "sample string 5", "avatar_url": "sample string 6" }, { "played": true, "is_mvp": true, "rsvp": 0, "id": "sample string 3", "first_name": "sample string 4", "last_name": "sample string 5", "avatar_url": "sample string 6" } ] } }
application/xml, text/xml
Sample:
<GamePlayersOutDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <away> <members> <GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <avatar_url>sample string 6</avatar_url> <first_name>sample string 4</first_name> <id>sample string 3</id> <last_name>sample string 5</last_name> <is_mvp>true</is_mvp> <played>true</played> <rsvp>NA</rsvp> </GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <avatar_url>sample string 6</avatar_url> <first_name>sample string 4</first_name> <id>sample string 3</id> <last_name>sample string 5</last_name> <is_mvp>true</is_mvp> <played>true</played> <rsvp>NA</rsvp> </GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <avatar_url>sample string 6</avatar_url> <first_name>sample string 4</first_name> <id>sample string 3</id> <last_name>sample string 5</last_name> <is_mvp>true</is_mvp> <played>true</played> <rsvp>NA</rsvp> </GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> </members> <team_id>sample string 1</team_id> </away> <game_id>1</game_id> <game_type>RegularGame</game_type> <home> <members> <GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <avatar_url>sample string 6</avatar_url> <first_name>sample string 4</first_name> <id>sample string 3</id> <last_name>sample string 5</last_name> <is_mvp>true</is_mvp> <played>true</played> <rsvp>NA</rsvp> </GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <avatar_url>sample string 6</avatar_url> <first_name>sample string 4</first_name> <id>sample string 3</id> <last_name>sample string 5</last_name> <is_mvp>true</is_mvp> <played>true</played> <rsvp>NA</rsvp> </GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <avatar_url>sample string 6</avatar_url> <first_name>sample string 4</first_name> <id>sample string 3</id> <last_name>sample string 5</last_name> <is_mvp>true</is_mvp> <played>true</played> <rsvp>NA</rsvp> </GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> </members> <team_id>sample string 1</team_id> </home> </GamePlayersOutDto>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="game_id" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="game_type" RegularGame --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.team_id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[0].played" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[0].is_mvp" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[0].rsvp" NA --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[0].id" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[0].first_name" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[0].last_name" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[0].avatar_url" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[1].played" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[1].is_mvp" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[1].rsvp" NA --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[1].id" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[1].first_name" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[1].last_name" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[1].avatar_url" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[2].played" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[2].is_mvp" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[2].rsvp" NA --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[2].id" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[2].first_name" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[2].last_name" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="home.members[2].avatar_url" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.team_id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[0].played" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[0].is_mvp" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[0].rsvp" NA --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[0].id" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[0].first_name" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[0].last_name" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[0].avatar_url" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[1].played" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[1].is_mvp" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[1].rsvp" NA --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[1].id" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[1].first_name" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[1].last_name" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[1].avatar_url" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[2].played" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[2].is_mvp" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[2].rsvp" NA --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[2].id" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[2].first_name" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[2].last_name" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="away.members[2].avatar_url" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e--