Current Individual and Team MVP holders.
GET
/mvp/current-holders
const url = 'https://api.gospl.example/v1/mvp/current-holders';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.gospl.example/v1/mvp/current-holders \ --header 'Authorization: Bearer <token>'G2 — the mechanism that SETS the winner is undefined in the spec. This read assumes a winner record exists; a People-Team write endpoint is TODO pending that decision.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”OK
Media type application/json
object
period
string
individual
Example generated
{ "period": "example", "individual": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "photoUrl": "https://example.com" }, "team": { "teamName": "example", "members": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "photoUrl": "https://example.com" } ] }}Missing/invalid credentials.
Media type application/json
object
code
required
string
message
required
string
Example generated
{ "code": "example", "message": "example"}