Get a player
GET
/v1/players/{playerId}
const url = 'http://localhost:8080/v1/players/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/v1/players/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”playerId
required
string format: uuid
Responses
Section titled “Responses”The player.
Media typeapplication/json
object
id
required
string
name
required
string
Example generated
{ "id": "example", "name": "example"}An error, as RFC 9457 problem details.
Media typeapplication/problem+json
object
type
required
string
title
required
string
status
required
integer
detail
string
Example
{ "type": "about:blank"}An error, as RFC 9457 problem details.
Media typeapplication/problem+json
object
type
required
string
title
required
string
status
required
integer
detail
string
Example
{ "type": "about:blank"}