{"openapi":"3.1.0","info":{"title":"BulletMeta API","version":"v1","description":"Connect over JSON: every method is POST /bulletmeta.api.v1.<Service>/<Method>. Guide: https://bulletmeta.app/developers"},"paths":{"/bulletmeta.api.v1.ClanService/GetClan":{"post":{"tags":["bulletmeta.api.v1.ClanService"],"summary":"GetClan","operationId":"bulletmeta.api.v1.ClanService.GetClan","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetClanRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetClanResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.ClanService/ListMembers":{"post":{"tags":["bulletmeta.api.v1.ClanService"],"summary":"ListMembers","operationId":"bulletmeta.api.v1.ClanService.ListMembers","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListMembersRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListMembersResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.KeyService/GetKeyInfo":{"post":{"tags":["bulletmeta.api.v1.KeyService"],"summary":"Which organization the calling key belongs to, and what it may do.  Needs only `public:read`, so any key can find its own organization id  for the filters that take one.","description":"Which organization the calling key belongs to, and what it may do.\n Needs only `public:read`, so any key can find its own organization id\n for the filters that take one.","operationId":"bulletmeta.api.v1.KeyService.GetKeyInfo","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetKeyInfoRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetKeyInfoResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.LeaderboardService/GetBoard":{"post":{"tags":["bulletmeta.api.v1.LeaderboardService"],"summary":"GetBoard","operationId":"bulletmeta.api.v1.LeaderboardService.GetBoard","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetBoardRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetBoardResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.LeaderboardService/ListSeasons":{"post":{"tags":["bulletmeta.api.v1.LeaderboardService"],"summary":"ListSeasons","operationId":"bulletmeta.api.v1.LeaderboardService.ListSeasons","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListSeasonsRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListSeasonsResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.MatchService/GetMatch":{"post":{"tags":["bulletmeta.api.v1.MatchService"],"summary":"GetMatch","operationId":"bulletmeta.api.v1.MatchService.GetMatch","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetMatchRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetMatchResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.MatchService/ListMatchKills":{"post":{"tags":["bulletmeta.api.v1.MatchService"],"summary":"Oldest first, as a timeline.","description":"Oldest first, as a timeline.","operationId":"bulletmeta.api.v1.MatchService.ListMatchKills","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListMatchKillsRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListMatchKillsResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.MatchService/ListMatches":{"post":{"tags":["bulletmeta.api.v1.MatchService"],"summary":"Newest first.","description":"Newest first.","operationId":"bulletmeta.api.v1.MatchService.ListMatches","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListMatchesRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListMatchesResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.OrgService/AddSanctionEvidence":{"post":{"tags":["bulletmeta.api.v1.OrgService"],"summary":"Appends evidence URLs to a sanction that is neither finalized nor lifted;  a URL the sanction already holds is not added again.","description":"Appends evidence URLs to a sanction that is neither finalized nor lifted;\n a URL the sanction already holds is not added again.","operationId":"bulletmeta.api.v1.OrgService.AddSanctionEvidence","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.AddSanctionEvidenceRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.AddSanctionEvidenceResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.OrgService/ChangeBanExpiry":{"post":{"tags":["bulletmeta.api.v1.OrgService"],"summary":"Moves when a ban ends, finalized or not; the reason and evidence stay.  Refused for a lifted or lapsed ban and for one held by a pending or  accepted platform-list nomination.","description":"Moves when a ban ends, finalized or not; the reason and evidence stay.\n Refused for a lifted or lapsed ban and for one held by a pending or\n accepted platform-list nomination.","operationId":"bulletmeta.api.v1.OrgService.ChangeBanExpiry","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ChangeBanExpiryRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ChangeBanExpiryResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.OrgService/CreateBan":{"post":{"tags":["bulletmeta.api.v1.OrgService"],"summary":"A ban is refused with `already_exists`, naming the existing sanction,  while a live ban of the same player already covers the scope: an  org-wide one covers every server, a per-server one only its own.","description":"A ban is refused with `already_exists`, naming the existing sanction,\n while a live ban of the same player already covers the scope: an\n org-wide one covers every server, a per-server one only its own.","operationId":"bulletmeta.api.v1.OrgService.CreateBan","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.CreateBanRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.CreateBanResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.OrgService/CreateWhitelistGrant":{"post":{"tags":["bulletmeta.api.v1.OrgService"],"summary":"Writes (`lists:write`).","description":"Writes (`lists:write`).","operationId":"bulletmeta.api.v1.OrgService.CreateWhitelistGrant","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.CreateWhitelistGrantRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.CreateWhitelistGrantResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.OrgService/FinalizeSanction":{"post":{"tags":["bulletmeta.api.v1.OrgService"],"summary":"FinalizeSanction","operationId":"bulletmeta.api.v1.OrgService.FinalizeSanction","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.FinalizeSanctionRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.FinalizeSanctionResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.OrgService/LiftSanction":{"post":{"tags":["bulletmeta.api.v1.OrgService"],"summary":"LiftSanction","operationId":"bulletmeta.api.v1.OrgService.LiftSanction","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.LiftSanctionRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.LiftSanctionResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.OrgService/ListAuditLog":{"post":{"tags":["bulletmeta.api.v1.OrgService"],"summary":"ListAuditLog","operationId":"bulletmeta.api.v1.OrgService.ListAuditLog","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListAuditLogRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListAuditLogResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.OrgService/ListEventResponses":{"post":{"tags":["bulletmeta.api.v1.OrgService"],"summary":"One event's answers and, once computed, who was actually there.","description":"One event's answers and, once computed, who was actually there.","operationId":"bulletmeta.api.v1.OrgService.ListEventResponses","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListEventResponsesRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListEventResponsesResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.OrgService/ListEvents":{"post":{"tags":["bulletmeta.api.v1.OrgService"],"summary":"The organization's events, newest start first.","description":"The organization's events, newest start first.","operationId":"bulletmeta.api.v1.OrgService.ListEvents","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListEventsRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListEventsResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.OrgService/ListOrgMembers":{"post":{"tags":["bulletmeta.api.v1.OrgService"],"summary":"ListOrgMembers","operationId":"bulletmeta.api.v1.OrgService.ListOrgMembers","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListOrgMembersRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListOrgMembersResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.OrgService/ListPlayerPresence":{"post":{"tags":["bulletmeta.api.v1.OrgService"],"summary":"Playtime and seeding time per player, for the key's own servers.","description":"Playtime and seeding time per player, for the key's own servers.","operationId":"bulletmeta.api.v1.OrgService.ListPlayerPresence","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListPlayerPresenceRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListPlayerPresenceResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.OrgService/ListSanctions":{"post":{"tags":["bulletmeta.api.v1.OrgService"],"summary":"ListSanctions","operationId":"bulletmeta.api.v1.OrgService.ListSanctions","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListSanctionsRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListSanctionsResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.OrgService/ListSeedingStandings":{"post":{"tags":["bulletmeta.api.v1.OrgService"],"summary":"Where players stand under the organization's seeding whitelist rules.","description":"Where players stand under the organization's seeding whitelist rules.","operationId":"bulletmeta.api.v1.OrgService.ListSeedingStandings","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListSeedingStandingsRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListSeedingStandingsResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.OrgService/ListWhitelist":{"post":{"tags":["bulletmeta.api.v1.OrgService"],"summary":"ListWhitelist","operationId":"bulletmeta.api.v1.OrgService.ListWhitelist","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListWhitelistRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListWhitelistResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.OrgService/RevokeWhitelistGrant":{"post":{"tags":["bulletmeta.api.v1.OrgService"],"summary":"RevokeWhitelistGrant","operationId":"bulletmeta.api.v1.OrgService.RevokeWhitelistGrant","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.RevokeWhitelistGrantRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.RevokeWhitelistGrantResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.PlayerService/GetCareerStats":{"post":{"tags":["bulletmeta.api.v1.PlayerService"],"summary":"GetCareerStats","operationId":"bulletmeta.api.v1.PlayerService.GetCareerStats","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetCareerStatsRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetCareerStatsResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.PlayerService/GetPlayer":{"post":{"tags":["bulletmeta.api.v1.PlayerService"],"summary":"GetPlayer","operationId":"bulletmeta.api.v1.PlayerService.GetPlayer","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetPlayerRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetPlayerResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.PlayerService/GetPlaytime":{"post":{"tags":["bulletmeta.api.v1.PlayerService"],"summary":"GetPlaytime","operationId":"bulletmeta.api.v1.PlayerService.GetPlaytime","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetPlaytimeRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetPlaytimeResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.PlayerService/GetRatingHistory":{"post":{"tags":["bulletmeta.api.v1.PlayerService"],"summary":"GetRatingHistory","operationId":"bulletmeta.api.v1.PlayerService.GetRatingHistory","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetRatingHistoryRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetRatingHistoryResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.PlayerService/GetWeaponStats":{"post":{"tags":["bulletmeta.api.v1.PlayerService"],"summary":"GetWeaponStats","operationId":"bulletmeta.api.v1.PlayerService.GetWeaponStats","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetWeaponStatsRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetWeaponStatsResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.PlayerService/ListPlayerMatches":{"post":{"tags":["bulletmeta.api.v1.PlayerService"],"summary":"ListPlayerMatches","operationId":"bulletmeta.api.v1.PlayerService.ListPlayerMatches","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListPlayerMatchesRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListPlayerMatchesResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.ServerService/GetLiveStatus":{"post":{"tags":["bulletmeta.api.v1.ServerService"],"summary":"The live tile: status, map, players, scores. No roster.","description":"The live tile: status, map, players, scores. No roster.","operationId":"bulletmeta.api.v1.ServerService.GetLiveStatus","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetLiveStatusRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetLiveStatusResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.ServerService/GetServer":{"post":{"tags":["bulletmeta.api.v1.ServerService"],"summary":"GetServer","operationId":"bulletmeta.api.v1.ServerService.GetServer","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetServerRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.GetServerResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.ServerService/ListServers":{"post":{"tags":["bulletmeta.api.v1.ServerService"],"summary":"Servers visible to the key, by name.","description":"Servers visible to the key, by name.","operationId":"bulletmeta.api.v1.ServerService.ListServers","parameters":[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"$ref":"#/components/schemas/connect-protocol-version"}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"$ref":"#/components/schemas/connect-timeout-header"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListServersRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulletmeta.api.v1.ListServersResponse"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/connect.error"}}}}}}},"/bulletmeta.api.v1.ServerService/WatchLiveStatus":{}},"components":{"schemas":{"bulletmeta.api.v1.AddSanctionEvidenceRequest":{"type":"object","properties":{"sanctionId":{"type":"string","title":"sanction_id"},"evidenceUrls":{"type":"array","items":{"type":"string"},"title":"evidence_urls","description":"Absolute https URLs of at most 2048 bytes, added after the ones the\n sanction already has; a sanction holds at most 50."},"requestId":{"type":"string","title":"request_id"}},"title":"AddSanctionEvidenceRequest","additionalProperties":false},"bulletmeta.api.v1.AddSanctionEvidenceResponse":{"type":"object","properties":{"sanction":{"title":"sanction","$ref":"#/components/schemas/bulletmeta.api.v1.Sanction"}},"title":"AddSanctionEvidenceResponse","additionalProperties":false},"bulletmeta.api.v1.AuditEntry":{"type":"object","properties":{"id":{"type":"string","title":"id"},"at":{"title":"at","$ref":"#/components/schemas/google.protobuf.Timestamp"},"actorType":{"type":"string","title":"actor_type"},"actorUserId":{"type":"string","title":"actor_user_id"},"action":{"type":"string","title":"action"},"resourceType":{"type":"string","title":"resource_type"},"resourceId":{"type":"string","title":"resource_id"},"outcome":{"type":"string","title":"outcome","description":"accepted, denied or failed."},"reason":{"type":"string","title":"reason"}},"title":"AuditEntry","additionalProperties":false},"bulletmeta.api.v1.BoardCategory":{"type":"string","title":"BoardCategory","enum":["BOARD_CATEGORY_UNSPECIFIED","BOARD_CATEGORY_RATING","BOARD_CATEGORY_KILLS","BOARD_CATEGORY_DEATHS","BOARD_CATEGORY_KD","BOARD_CATEGORY_CASH","BOARD_CATEGORY_PLAYTIME","BOARD_CATEGORY_WINRATE","BOARD_CATEGORY_LONGEST_SHOT","BOARD_CATEGORY_INFANTRY_KILLS","BOARD_CATEGORY_VEHICLE_KILLS","BOARD_CATEGORY_HEADSHOTS","BOARD_CATEGORY_TEAMKILLS","BOARD_CATEGORY_SUICIDES","BOARD_CATEGORY_ROADKILLS","BOARD_CATEGORY_RICOCHETS","BOARD_CATEGORY_PENETRATIONS","BOARD_CATEGORY_MELEE_KILLS","BOARD_CATEGORY_FALL_DEATHS"]},"bulletmeta.api.v1.BoardEntry":{"type":"object","properties":{"rank":{"type":"integer","title":"rank","format":"int32"},"player":{"title":"player","$ref":"#/components/schemas/bulletmeta.api.v1.PlayerRef"},"value":{"type":"number","title":"value","format":"double"}},"title":"BoardEntry","additionalProperties":false},"bulletmeta.api.v1.CareerStats":{"type":"object","properties":{"kills":{"type":["integer","string"],"title":"kills","format":"int64"},"deaths":{"type":["integer","string"],"title":"deaths","format":"int64"},"cash":{"type":["integer","string"],"title":"cash","format":"int64"},"playSeconds":{"type":["integer","string"],"title":"play_seconds","format":"int64"},"matchesPlayed":{"type":"integer","title":"matches_played","format":"int32"},"wins":{"type":"integer","title":"wins","format":"int32"},"winRate":{"type":"number","title":"win_rate","format":"double","description":"Wins weighted by presence on the winning side, over weighted matches."},"rating":{"type":"number","title":"rating","format":"double","description":"Glicko-2 on the display scale. Unset before the first rated match.","nullable":true},"ratingDeviation":{"type":"number","title":"rating_deviation","format":"double","nullable":true},"ratedMatches":{"type":"integer","title":"rated_matches","format":"int32"},"lastMatchAt":{"title":"last_match_at","$ref":"#/components/schemas/google.protobuf.Timestamp"},"teamkills":{"type":"integer","title":"teamkills","format":"int32","description":"From the game's kill feed, counted matches only. `kills` above is the\n scoreboard's, which already leaves teamkills out."},"suicides":{"type":"integer","title":"suicides","format":"int32"},"vehicleKills":{"type":"integer","title":"vehicle_kills","format":"int32"},"infantryKills":{"type":"integer","title":"infantry_kills","format":"int32"},"roadkills":{"type":"integer","title":"roadkills","format":"int32"},"headshots":{"type":"integer","title":"headshots","format":"int32"},"longestInfantryKillM":{"type":"number","title":"longest_infantry_kill_m","format":"double","description":"Metres. Unset until the player has one.","nullable":true},"meleeKills":{"type":"integer","title":"melee_kills","format":"int32","description":"The kill feed's non-shot flavours. Kills: melee swings, vehicle\n explosions, backblast. Deaths: falls and being run over."},"explosionKills":{"type":"integer","title":"explosion_kills","format":"int32"},"backblastKills":{"type":"integer","title":"backblast_kills","format":"int32"},"fallDeaths":{"type":"integer","title":"fall_deaths","format":"int32"},"roadkillDeaths":{"type":"integer","title":"roadkill_deaths","format":"int32"}},"title":"CareerStats","additionalProperties":false},"bulletmeta.api.v1.ChangeBanExpiryRequest":{"type":"object","properties":{"sanctionId":{"type":"string","title":"sanction_id"},"expiresAt":{"title":"expires_at","description":"The new end, in the future. Unset makes the ban permanent.","$ref":"#/components/schemas/google.protobuf.Timestamp"},"reason":{"type":"string","title":"reason","description":"Why it moves; required, recorded in the audit log and the moderation post."},"requestId":{"type":"string","title":"request_id"}},"title":"ChangeBanExpiryRequest","additionalProperties":false},"bulletmeta.api.v1.ChangeBanExpiryResponse":{"type":"object","properties":{"sanction":{"title":"sanction","$ref":"#/components/schemas/bulletmeta.api.v1.Sanction"},"warnings":{"type":"array","items":{"type":"string"},"title":"warnings"}},"title":"ChangeBanExpiryResponse","additionalProperties":false},"bulletmeta.api.v1.Clan":{"type":"object","properties":{"id":{"type":"string","title":"id"},"slug":{"type":"string","title":"slug"},"name":{"type":"string","title":"name"},"logoUrl":{"type":"string","title":"logo_url"},"description":{"type":"string","title":"description"},"region":{"type":"string","title":"region","description":"The first of `regions` / `languages`, kept for existing clients."},"language":{"type":"string","title":"language"},"plus":{"type":"boolean","title":"plus"},"createdAt":{"title":"created_at","$ref":"#/components/schemas/google.protobuf.Timestamp"},"regions":{"type":"array","items":{"type":"string"},"title":"regions","description":"Up to three each, in the order the clan listed them."},"languages":{"type":"array","items":{"type":"string"},"title":"languages"}},"title":"Clan","additionalProperties":false},"bulletmeta.api.v1.ClanMember":{"type":"object","properties":{"player":{"title":"player","description":"Unset for a member with no linked Steam profile.","$ref":"#/components/schemas/bulletmeta.api.v1.PlayerRef"},"name":{"type":"string","title":"name"},"role":{"type":"string","title":"role"},"joinedAt":{"title":"joined_at","$ref":"#/components/schemas/google.protobuf.Timestamp"}},"title":"ClanMember","additionalProperties":false},"bulletmeta.api.v1.CreateBanRequest":{"type":"object","properties":{"steamId":{"type":"string","title":"steam_id"},"serverId":{"type":"string","title":"server_id","description":"Unset bans on every server of the organization."},"reason":{"type":"string","title":"reason"},"notes":{"type":"string","title":"notes"},"evidenceUrls":{"type":"array","items":{"type":"string"},"title":"evidence_urls","description":"Without evidence the ban applies but stays open (\"needs evidence\")."},"expiresAt":{"title":"expires_at","$ref":"#/components/schemas/google.protobuf.Timestamp"},"requestId":{"type":"string","title":"request_id"}},"title":"CreateBanRequest","additionalProperties":false},"bulletmeta.api.v1.CreateBanResponse":{"type":"object","properties":{"sanction":{"title":"sanction","$ref":"#/components/schemas/bulletmeta.api.v1.Sanction"},"warnings":{"type":"array","items":{"type":"string"},"title":"warnings"}},"title":"CreateBanResponse","additionalProperties":false},"bulletmeta.api.v1.CreateWhitelistGrantRequest":{"type":"object","properties":{"subject":{"type":"string","title":"subject","description":"A SteamID64 or a BulletMeta profile id. The profile is created for an\n unknown SteamID64, exactly as a join would create it."},"serverId":{"type":"string","title":"server_id","description":"Unset grants on every server of the organization, now and future."},"note":{"type":"string","title":"note"},"expiresAt":{"title":"expires_at","description":"Unset is open-ended. The game has no expiry, so BulletMeta enforces one\n by leaving the SteamID out of the next push.","$ref":"#/components/schemas/google.protobuf.Timestamp"},"requestId":{"type":"string","title":"request_id","description":"Repeat a call safely: the same id returns the first call's grant."}},"title":"CreateWhitelistGrantRequest","additionalProperties":false},"bulletmeta.api.v1.CreateWhitelistGrantResponse":{"type":"object","properties":{"grant":{"title":"grant","$ref":"#/components/schemas/bulletmeta.api.v1.WhitelistGrant"},"warnings":{"type":"array","items":{"type":"string"},"title":"warnings","description":"Servers the push did not reach. The grant is written either way."}},"title":"CreateWhitelistGrantResponse","additionalProperties":false},"bulletmeta.api.v1.Event":{"type":"object","properties":{"id":{"type":"string","title":"id"},"status":{"type":"string","title":"status","description":"draft, published or cancelled."},"visibility":{"type":"string","title":"visibility","description":"members or public."},"title":{"type":"string","title":"title"},"description":{"type":"string","title":"description"},"format":{"type":"string","title":"format"},"startsAt":{"title":"starts_at","$ref":"#/components/schemas/google.protobuf.Timestamp"},"endsAt":{"title":"ends_at","description":"Unset for an open-ended event.","$ref":"#/components/schemas/google.protobuf.Timestamp"},"timezone":{"type":"string","title":"timezone","description":"The organiser's IANA zone."},"serverId":{"type":"string","title":"server_id"},"seriesId":{"type":"string","title":"series_id","description":"Set on an occurrence of a repeating event."},"skipped":{"type":"boolean","title":"skipped"}},"title":"Event","additionalProperties":false},"bulletmeta.api.v1.EventAttendance":{"type":"object","properties":{"profileId":{"type":"string","title":"profile_id"},"userId":{"type":"string","title":"user_id"},"state":{"type":"string","title":"state","description":"attended, no_show or unregistered."},"secondsPresent":{"type":"integer","title":"seconds_present","format":"int32"}},"title":"EventAttendance","additionalProperties":false},"bulletmeta.api.v1.EventResponse":{"type":"object","properties":{"userId":{"type":"string","title":"user_id"},"userName":{"type":"string","title":"user_name"},"option":{"type":"string","title":"option","description":"The answer's label, and its kind: accept, tentative, decline or custom."},"optionKind":{"type":"string","title":"option_kind"},"state":{"type":"string","title":"state","description":"confirmed or waitlisted."},"note":{"type":"string","title":"note"},"source":{"type":"string","title":"source","description":"site or discord."},"respondedAt":{"title":"responded_at","$ref":"#/components/schemas/google.protobuf.Timestamp"}},"title":"EventResponse","additionalProperties":false},"bulletmeta.api.v1.FactionScore":{"type":"object","properties":{"name":{"type":"string","title":"name"},"score":{"type":"integer","title":"score","format":"int32"}},"title":"FactionScore","additionalProperties":false,"description":"A faction's score at one moment, as the game names the faction. Colours\n are presentation and are not served; draw a faction from its name."},"bulletmeta.api.v1.FinalizeSanctionRequest":{"type":"object","properties":{"sanctionId":{"type":"string","title":"sanction_id"},"requestId":{"type":"string","title":"request_id"}},"title":"FinalizeSanctionRequest","additionalProperties":false},"bulletmeta.api.v1.FinalizeSanctionResponse":{"type":"object","properties":{"sanction":{"title":"sanction","$ref":"#/components/schemas/bulletmeta.api.v1.Sanction"}},"title":"FinalizeSanctionResponse","additionalProperties":false},"bulletmeta.api.v1.GetBoardRequest":{"type":"object","properties":{"category":{"title":"category","$ref":"#/components/schemas/bulletmeta.api.v1.BoardCategory"},"pageSize":{"type":"integer","title":"page_size","format":"int32","description":"1–100; 0 means 50. The board holds the top 1000."},"pageToken":{"type":"string","title":"page_token"},"season":{"type":"string","title":"season","description":"A season (`s2`, see ListSeasons). Empty is the lifetime board, as before.\n The rating board is never seasonal and ignores it."}},"title":"GetBoardRequest","additionalProperties":false},"bulletmeta.api.v1.GetBoardResponse":{"type":"object","properties":{"entries":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.BoardEntry"},"title":"entries"},"nextPageToken":{"type":"string","title":"next_page_token"}},"title":"GetBoardResponse","additionalProperties":false},"bulletmeta.api.v1.GetCareerStatsRequest":{"type":"object","properties":{"player":{"title":"player","$ref":"#/components/schemas/bulletmeta.api.v1.PlayerSelector"},"season":{"type":"string","title":"season","description":"A season (`s2`, see LeaderboardService.ListSeasons). Empty is the lifetime\n totals, as before. The counters are that season's; the rating is the\n current one either way."}},"title":"GetCareerStatsRequest","additionalProperties":false},"bulletmeta.api.v1.GetCareerStatsResponse":{"type":"object","properties":{"stats":{"title":"stats","$ref":"#/components/schemas/bulletmeta.api.v1.CareerStats"}},"title":"GetCareerStatsResponse","additionalProperties":false},"bulletmeta.api.v1.GetClanRequest":{"type":"object","properties":{"slug":{"type":"string","title":"slug"}},"title":"GetClanRequest","additionalProperties":false},"bulletmeta.api.v1.GetClanResponse":{"type":"object","properties":{"clan":{"title":"clan","$ref":"#/components/schemas/bulletmeta.api.v1.Clan"}},"title":"GetClanResponse","additionalProperties":false},"bulletmeta.api.v1.GetKeyInfoRequest":{"type":"object","title":"GetKeyInfoRequest","additionalProperties":false},"bulletmeta.api.v1.GetKeyInfoResponse":{"type":"object","properties":{"keyId":{"type":"string","title":"key_id"},"organizationId":{"type":"string","title":"organization_id"},"organizationName":{"type":"string","title":"organization_name"},"scopes":{"type":"array","items":{"type":"string"},"title":"scopes","description":"`public:read`, `org:read`, `lists:write`."}},"title":"GetKeyInfoResponse","additionalProperties":false},"bulletmeta.api.v1.GetLiveStatusRequest":{"type":"object","properties":{"serverId":{"type":"string","title":"server_id"}},"title":"GetLiveStatusRequest","additionalProperties":false},"bulletmeta.api.v1.GetLiveStatusResponse":{"type":"object","properties":{"liveStatus":{"title":"live_status","$ref":"#/components/schemas/bulletmeta.api.v1.LiveStatus"}},"title":"GetLiveStatusResponse","additionalProperties":false},"bulletmeta.api.v1.GetMatchRequest":{"type":"object","properties":{"matchId":{"type":"string","title":"match_id"}},"title":"GetMatchRequest","additionalProperties":false},"bulletmeta.api.v1.GetMatchResponse":{"type":"object","properties":{"match":{"title":"match","$ref":"#/components/schemas/bulletmeta.api.v1.Match"},"results":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.MatchResult"},"title":"results"}},"title":"GetMatchResponse","additionalProperties":false},"bulletmeta.api.v1.GetPlayerRequest":{"type":"object","properties":{"player":{"title":"player","$ref":"#/components/schemas/bulletmeta.api.v1.PlayerSelector"}},"title":"GetPlayerRequest","additionalProperties":false},"bulletmeta.api.v1.GetPlayerResponse":{"type":"object","properties":{"player":{"title":"player","$ref":"#/components/schemas/bulletmeta.api.v1.PlayerRef"},"createdAt":{"title":"created_at","$ref":"#/components/schemas/google.protobuf.Timestamp"}},"title":"GetPlayerResponse","additionalProperties":false},"bulletmeta.api.v1.GetPlaytimeRequest":{"type":"object","properties":{"player":{"title":"player","$ref":"#/components/schemas/bulletmeta.api.v1.PlayerSelector"},"serverId":{"type":"string","title":"server_id","description":"Only this server's sessions, when set."},"organizationId":{"type":"string","title":"organization_id","description":"Only sessions on this organization's servers, when set."}},"title":"GetPlaytimeRequest","additionalProperties":false},"bulletmeta.api.v1.GetPlaytimeResponse":{"type":"object","properties":{"totalSeconds":{"type":["integer","string"],"title":"total_seconds","format":"int64","description":"The sum over `servers`; grows between calls while the player is online."},"online":{"type":"boolean","title":"online"},"lastConnectedAt":{"title":"last_connected_at","description":"The start of the latest session, not a last-seen time.","$ref":"#/components/schemas/google.protobuf.Timestamp"},"servers":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.ServerPlaytime"},"title":"servers","description":"Most played first."}},"title":"GetPlaytimeResponse","additionalProperties":false,"description":"Sessions on servers visible to the key (enrolled community servers, plus the\n key's own organization's), narrowed by the request's filters. A server the\n key cannot see, or one the player never joined, adds nothing: a known\n player with no matching sessions is an empty `servers` and zeros, while an\n unknown SteamID64 is `not_found`."},"bulletmeta.api.v1.GetRatingHistoryRequest":{"type":"object","properties":{"player":{"title":"player","$ref":"#/components/schemas/bulletmeta.api.v1.PlayerSelector"},"pageSize":{"type":"integer","title":"page_size","format":"int32","description":"1–500; 0 means 100. Newest first."},"pageToken":{"type":"string","title":"page_token"}},"title":"GetRatingHistoryRequest","additionalProperties":false},"bulletmeta.api.v1.GetRatingHistoryResponse":{"type":"object","properties":{"points":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.RatingPoint"},"title":"points"},"nextPageToken":{"type":"string","title":"next_page_token"}},"title":"GetRatingHistoryResponse","additionalProperties":false},"bulletmeta.api.v1.GetServerRequest":{"type":"object","properties":{"serverId":{"type":"string","title":"server_id"}},"title":"GetServerRequest","additionalProperties":false},"bulletmeta.api.v1.GetServerResponse":{"type":"object","properties":{"server":{"title":"server","$ref":"#/components/schemas/bulletmeta.api.v1.Server"}},"title":"GetServerResponse","additionalProperties":false},"bulletmeta.api.v1.GetWeaponStatsRequest":{"type":"object","properties":{"player":{"title":"player","$ref":"#/components/schemas/bulletmeta.api.v1.PlayerSelector"}},"title":"GetWeaponStatsRequest","additionalProperties":false},"bulletmeta.api.v1.GetWeaponStatsResponse":{"type":"object","properties":{"weapons":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.WeaponStat"},"title":"weapons"}},"title":"GetWeaponStatsResponse","additionalProperties":false},"bulletmeta.api.v1.Kill":{"type":"object","properties":{"id":{"type":"string","title":"id"},"matchId":{"type":"string","title":"match_id"},"occurredAt":{"title":"occurred_at","$ref":"#/components/schemas/google.protobuf.Timestamp"},"killer":{"title":"killer","description":"Unset for an environmental death.","$ref":"#/components/schemas/bulletmeta.api.v1.PlayerRef"},"victim":{"title":"victim","$ref":"#/components/schemas/bulletmeta.api.v1.PlayerRef"},"killerFaction":{"type":"string","title":"killer_faction"},"victimFaction":{"type":"string","title":"victim_faction"},"weaponId":{"type":"string","title":"weapon_id"},"weaponName":{"type":"string","title":"weapon_name"},"distanceM":{"type":"number","title":"distance_m","format":"double","description":"Metres. Unset when the game did not report a distance.","nullable":true},"headshot":{"type":"boolean","title":"headshot"},"suicide":{"type":"boolean","title":"suicide"},"teamkill":{"type":"boolean","title":"teamkill"},"penetration":{"type":"boolean","title":"penetration","description":"Through cover or a body, and off a bounce."},"ricochet":{"type":"boolean","title":"ricochet"}},"title":"Kill","additionalProperties":false,"description":"One kill from the game's kill feed."},"bulletmeta.api.v1.LiftSanctionRequest":{"type":"object","properties":{"sanctionId":{"type":"string","title":"sanction_id"},"reason":{"type":"string","title":"reason"},"requestId":{"type":"string","title":"request_id"}},"title":"LiftSanctionRequest","additionalProperties":false},"bulletmeta.api.v1.LiftSanctionResponse":{"type":"object","properties":{"sanction":{"title":"sanction","$ref":"#/components/schemas/bulletmeta.api.v1.Sanction"},"warnings":{"type":"array","items":{"type":"string"},"title":"warnings"}},"title":"LiftSanctionResponse","additionalProperties":false},"bulletmeta.api.v1.ListAuditLogRequest":{"type":"object","properties":{"pageSize":{"type":"integer","title":"page_size","format":"int32"},"pageToken":{"type":"string","title":"page_token"}},"title":"ListAuditLogRequest","additionalProperties":false},"bulletmeta.api.v1.ListAuditLogResponse":{"type":"object","properties":{"entries":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.AuditEntry"},"title":"entries"},"nextPageToken":{"type":"string","title":"next_page_token"}},"title":"ListAuditLogResponse","additionalProperties":false},"bulletmeta.api.v1.ListEventResponsesRequest":{"type":"object","properties":{"eventId":{"type":"string","title":"event_id"}},"title":"ListEventResponsesRequest","additionalProperties":false},"bulletmeta.api.v1.ListEventResponsesResponse":{"type":"object","properties":{"responses":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.EventResponse"},"title":"responses"},"attendance":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.EventAttendance"},"title":"attendance","description":"Empty until the attendance sweep has run, an hour after the end."},"attendanceComputedAt":{"title":"attendance_computed_at","$ref":"#/components/schemas/google.protobuf.Timestamp"}},"title":"ListEventResponsesResponse","additionalProperties":false},"bulletmeta.api.v1.ListEventsRequest":{"type":"object","properties":{"pageSize":{"type":"integer","title":"page_size","format":"int32"},"pageToken":{"type":"string","title":"page_token"},"publishedOnly":{"type":"boolean","title":"published_only","description":"Only published events; drafts and cancelled ones are left out."}},"title":"ListEventsRequest","additionalProperties":false},"bulletmeta.api.v1.ListEventsResponse":{"type":"object","properties":{"events":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.Event"},"title":"events"},"nextPageToken":{"type":"string","title":"next_page_token"}},"title":"ListEventsResponse","additionalProperties":false},"bulletmeta.api.v1.ListMatchKillsRequest":{"type":"object","properties":{"matchId":{"type":"string","title":"match_id"},"pageSize":{"type":"integer","title":"page_size","format":"int32","description":"1–500; 0 means 200."},"pageToken":{"type":"string","title":"page_token"}},"title":"ListMatchKillsRequest","additionalProperties":false},"bulletmeta.api.v1.ListMatchKillsResponse":{"type":"object","properties":{"kills":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.Kill"},"title":"kills"},"nextPageToken":{"type":"string","title":"next_page_token"}},"title":"ListMatchKillsResponse","additionalProperties":false},"bulletmeta.api.v1.ListMatchesRequest":{"type":"object","properties":{"serverId":{"type":"string","title":"server_id","description":"Only this server's matches, when set."},"pageSize":{"type":"integer","title":"page_size","format":"int32"},"pageToken":{"type":"string","title":"page_token"}},"title":"ListMatchesRequest","additionalProperties":false},"bulletmeta.api.v1.ListMatchesResponse":{"type":"object","properties":{"matches":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.Match"},"title":"matches"},"nextPageToken":{"type":"string","title":"next_page_token"}},"title":"ListMatchesResponse","additionalProperties":false},"bulletmeta.api.v1.ListMembersRequest":{"type":"object","properties":{"slug":{"type":"string","title":"slug"},"pageSize":{"type":"integer","title":"page_size","format":"int32"},"pageToken":{"type":"string","title":"page_token"}},"title":"ListMembersRequest","additionalProperties":false},"bulletmeta.api.v1.ListMembersResponse":{"type":"object","properties":{"members":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.ClanMember"},"title":"members"},"nextPageToken":{"type":"string","title":"next_page_token"}},"title":"ListMembersResponse","additionalProperties":false},"bulletmeta.api.v1.ListOrgMembersRequest":{"type":"object","properties":{"pageSize":{"type":"integer","title":"page_size","format":"int32"},"pageToken":{"type":"string","title":"page_token"}},"title":"ListOrgMembersRequest","additionalProperties":false},"bulletmeta.api.v1.ListOrgMembersResponse":{"type":"object","properties":{"members":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.OrgMember"},"title":"members"},"nextPageToken":{"type":"string","title":"next_page_token"}},"title":"ListOrgMembersResponse","additionalProperties":false},"bulletmeta.api.v1.ListPlayerMatchesRequest":{"type":"object","properties":{"player":{"title":"player","$ref":"#/components/schemas/bulletmeta.api.v1.PlayerSelector"},"pageSize":{"type":"integer","title":"page_size","format":"int32","description":"1–100; 0 means 25."},"pageToken":{"type":"string","title":"page_token"},"serverId":{"type":"string","title":"server_id","description":"Only matches on this server, when set."},"organizationId":{"type":"string","title":"organization_id","description":"Only matches on this organization's servers, when set."}},"title":"ListPlayerMatchesRequest","additionalProperties":false},"bulletmeta.api.v1.ListPlayerMatchesResponse":{"type":"object","properties":{"matches":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.PlayerMatch"},"title":"matches"},"nextPageToken":{"type":"string","title":"next_page_token"}},"title":"ListPlayerMatchesResponse","additionalProperties":false},"bulletmeta.api.v1.ListPlayerPresenceRequest":{"type":"object","properties":{"pageSize":{"type":"integer","title":"page_size","format":"int32"},"pageToken":{"type":"string","title":"page_token"},"serverId":{"type":"string","title":"server_id","description":"One of the key's own servers; unset covers every one of them."},"from":{"title":"from","$ref":"#/components/schemas/google.protobuf.Timestamp"},"to":{"title":"to","$ref":"#/components/schemas/google.protobuf.Timestamp"}},"title":"ListPlayerPresenceRequest","additionalProperties":false},"bulletmeta.api.v1.ListPlayerPresenceResponse":{"type":"object","properties":{"players":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.PlayerPresence"},"title":"players"},"nextPageToken":{"type":"string","title":"next_page_token"}},"title":"ListPlayerPresenceResponse","additionalProperties":false},"bulletmeta.api.v1.ListSanctionsRequest":{"type":"object","properties":{"pageSize":{"type":"integer","title":"page_size","format":"int32"},"pageToken":{"type":"string","title":"page_token"}},"title":"ListSanctionsRequest","additionalProperties":false},"bulletmeta.api.v1.ListSanctionsResponse":{"type":"object","properties":{"sanctions":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.Sanction"},"title":"sanctions"},"nextPageToken":{"type":"string","title":"next_page_token"}},"title":"ListSanctionsResponse","additionalProperties":false},"bulletmeta.api.v1.ListSeasonsRequest":{"type":"object","title":"ListSeasonsRequest","additionalProperties":false},"bulletmeta.api.v1.ListSeasonsResponse":{"type":"object","properties":{"seasons":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.Season"},"title":"seasons"}},"title":"ListSeasonsResponse","additionalProperties":false,"description":"Newest first. A match belongs to the season containing its end; the rating\n carries across seasons."},"bulletmeta.api.v1.ListSeedingStandingsRequest":{"type":"object","properties":{"pageSize":{"type":"integer","title":"page_size","format":"int32"},"pageToken":{"type":"string","title":"page_token"},"ruleId":{"type":"string","title":"rule_id","description":"One rule; unset covers every rule of the organization."}},"title":"ListSeedingStandingsRequest","additionalProperties":false},"bulletmeta.api.v1.ListSeedingStandingsResponse":{"type":"object","properties":{"standings":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.SeedingStanding"},"title":"standings"},"nextPageToken":{"type":"string","title":"next_page_token"}},"title":"ListSeedingStandingsResponse","additionalProperties":false},"bulletmeta.api.v1.ListServersRequest":{"type":"object","properties":{"pageSize":{"type":"integer","title":"page_size","format":"int32","description":"1–100; 0 means 25."},"pageToken":{"type":"string","title":"page_token"},"organizationId":{"type":"string","title":"organization_id","description":"Only this organization's servers, when set. `KeyService.GetKeyInfo`\n names the key's own."}},"title":"ListServersRequest","additionalProperties":false},"bulletmeta.api.v1.ListServersResponse":{"type":"object","properties":{"servers":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.Server"},"title":"servers"},"nextPageToken":{"type":"string","title":"next_page_token"}},"title":"ListServersResponse","additionalProperties":false},"bulletmeta.api.v1.ListWhitelistRequest":{"type":"object","properties":{"pageSize":{"type":"integer","title":"page_size","format":"int32"},"pageToken":{"type":"string","title":"page_token"},"includeRevoked":{"type":"boolean","title":"include_revoked","description":"Include revoked and expired grants; without it only active ones are listed."}},"title":"ListWhitelistRequest","additionalProperties":false},"bulletmeta.api.v1.ListWhitelistResponse":{"type":"object","properties":{"grants":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.WhitelistGrant"},"title":"grants"},"nextPageToken":{"type":"string","title":"next_page_token"}},"title":"ListWhitelistResponse","additionalProperties":false},"bulletmeta.api.v1.LiveStatus":{"type":"object","properties":{"serverId":{"type":"string","title":"server_id"},"status":{"title":"status","$ref":"#/components/schemas/bulletmeta.api.v1.LiveStatus.Status"},"serverName":{"type":"string","title":"server_name","description":"The server's own name, as it reports it."},"map":{"type":"string","title":"map"},"experiences":{"type":"array","items":{"type":"string"},"title":"experiences","description":"The modifiers in play (see Match.experiences)."},"lighting":{"type":"string","title":"lighting"},"playerCount":{"type":"integer","title":"player_count","format":"int32"},"maxPlayers":{"type":"integer","title":"max_players","format":"int32"},"factionScores":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.FactionScore"},"title":"faction_scores"},"scoreCap":{"type":"integer","title":"score_cap","format":"int32"},"matchStartedAt":{"title":"match_started_at","$ref":"#/components/schemas/google.protobuf.Timestamp"},"matchStartObserved":{"type":"boolean","title":"match_start_observed"},"lastHeartbeatAt":{"title":"last_heartbeat_at","$ref":"#/components/schemas/google.protobuf.Timestamp"},"problem":{"type":"string","title":"problem","description":"Set while polls fail: one human-readable line."}},"title":"LiveStatus","additionalProperties":false,"description":"What a server is doing right now."},"bulletmeta.api.v1.LiveStatus.Status":{"type":"string","title":"Status","enum":["STATUS_UNSPECIFIED","STATUS_ONLINE","STATUS_STALE","STATUS_OFFLINE","STATUS_CHANGING_MAP"]},"bulletmeta.api.v1.Match":{"type":"object","properties":{"id":{"type":"string","title":"id"},"serverId":{"type":"string","title":"server_id"},"map":{"type":"string","title":"map"},"experiences":{"type":"array","items":{"type":"string"},"title":"experiences","description":"The modifiers in play, as the game names them (\"KOTH_InfantryOnly\",\n \"KOTH_Hardcore\"). There is one game mode and it is not carried."},"startedAt":{"title":"started_at","$ref":"#/components/schemas/google.protobuf.Timestamp"},"observedStart":{"type":"boolean","title":"observed_start","description":"Whether BulletMeta saw the match from its start."},"endedAt":{"title":"ended_at","$ref":"#/components/schemas/google.protobuf.Timestamp"},"factionScores":{"type":"array","items":{"$ref":"#/components/schemas/bulletmeta.api.v1.FactionScore"},"title":"faction_scores"},"playerCount":{"type":"integer","title":"player_count","format":"int32"},"counted":{"type":"boolean","title":"counted","description":"Whether the match counted toward careers and ratings."},"notCountedReason":{"type":"string","title":"not_counted_reason"},"serverName":{"type":"string","title":"server_name","description":"The server's name, so a list needs no ListServers join to label rows."}},"title":"Match","additionalProperties":false,"description":"A finished (or running) match on one server."},"bulletmeta.api.v1.MatchResult":{"type":"object","properties":{"player":{"title":"player","$ref":"#/components/schemas/bulletmeta.api.v1.PlayerRef"},"faction":{"type":"string","title":"faction"},"factionRank":{"type":"integer","title":"faction_rank","format":"int32"},"kills":{"type":"integer","title":"kills","format":"int32"},"deaths":{"type":"integer","title":"deaths","format":"int32"},"cash":{"type":["integer","string"],"title":"cash","format":"int64"},"playSeconds":{"type":"integer","title":"play_seconds","format":"int32"},"presenceWeight":{"type":"number","title":"presence_weight","format":"double","nullable":true},"counted":{"type":"boolean","title":"counted"}},"title":"MatchResult","additionalProperties":false},"bulletmeta.api.v1.OrgMember":{"type":"object","properties":{"userId":{"type":"string","title":"user_id"},"name":{"type":"string","title":"name"},"role":{"type":"string","title":"role"},"joinedAt":{"title":"joined_at","$ref":"#/components/schemas/google.protobuf.Timestamp"}},"title":"OrgMember","additionalProperties":false},"bulletmeta.api.v1.PlayerMatch":{"type":"object","properties":{"match":{"title":"match","$ref":"#/components/schemas/bulletmeta.api.v1.Match"},"faction":{"type":"string","title":"faction"},"kills":{"type":"integer","title":"kills","format":"int32"},"deaths":{"type":"integer","title":"deaths","format":"int32"},"presenceWeight":{"type":"number","title":"presence_weight","format":"double","description":"Share of the match on the final faction, 0–1, when recorded.","nullable":true}},"title":"PlayerMatch","additionalProperties":false},"bulletmeta.api.v1.PlayerPresence":{"type":"object","properties":{"profileId":{"type":"string","title":"profile_id"},"steamId":{"type":"string","title":"steam_id"},"displayName":{"type":"string","title":"display_name"},"playSeconds":{"type":["integer","string"],"title":"play_seconds","format":"int64"},"seedingSeconds":{"type":["integer","string"],"title":"seeding_seconds","format":"int64","description":"Time on a server below its seeding threshold. Never on a public surface."}},"title":"PlayerPresence","additionalProperties":false},"bulletmeta.api.v1.PlayerRef":{"type":"object","properties":{"profileId":{"type":"string","title":"profile_id","description":"BulletMeta's profile id. Empty for a player with no profile (a private\n server's kill feed names players without creating profiles)."},"steamId":{"type":"string","title":"steam_id","description":"SteamID64. Empty for an erased player on a kill (\"Anonymous player\")."},"displayName":{"type":"string","title":"display_name"},"avatarUrl":{"type":"string","title":"avatar_url","description":"The player's Steam avatar (full size), when BulletMeta has synced it."}},"title":"PlayerRef","additionalProperties":false,"description":"A player as the public site shows one."},"bulletmeta.api.v1.PlayerSelector":{"type":"object","oneOf":[{"properties":{"profileId":{"type":"string","title":"profile_id"}},"title":"profile_id","required":["profileId"]},{"properties":{"steamId":{"type":"string","title":"steam_id"}},"title":"steam_id","required":["steamId"]}],"title":"PlayerSelector","additionalProperties":false,"description":"Names a player by profile id or by SteamID64."},"bulletmeta.api.v1.RatingPoint":{"type":"object","properties":{"matchId":{"type":"string","title":"match_id"},"ratingBefore":{"type":"number","title":"rating_before","format":"double"},"ratingAfter":{"type":"number","title":"rating_after","format":"double"},"deviationAfter":{"type":"number","title":"deviation_after","format":"double"},"ratedAt":{"title":"rated_at","$ref":"#/components/schemas/google.protobuf.Timestamp"}},"title":"RatingPoint","additionalProperties":false},"bulletmeta.api.v1.RevokeWhitelistGrantRequest":{"type":"object","properties":{"grantId":{"type":"string","title":"grant_id"},"requestId":{"type":"string","title":"request_id"}},"title":"RevokeWhitelistGrantRequest","additionalProperties":false},"bulletmeta.api.v1.RevokeWhitelistGrantResponse":{"type":"object","properties":{"grant":{"title":"grant","$ref":"#/components/schemas/bulletmeta.api.v1.WhitelistGrant"},"warnings":{"type":"array","items":{"type":"string"},"title":"warnings"}},"title":"RevokeWhitelistGrantResponse","additionalProperties":false},"bulletmeta.api.v1.Sanction":{"type":"object","properties":{"id":{"type":"string","title":"id"},"serverId":{"type":"string","title":"server_id"},"steamId":{"type":"string","title":"steam_id"},"steamName":{"type":"string","title":"steam_name"},"type":{"type":"string","title":"type","description":"warn, kick or ban."},"reason":{"type":"string","title":"reason"},"evidenceUrls":{"type":"array","items":{"type":"string"},"title":"evidence_urls"},"issuedAt":{"title":"issued_at","$ref":"#/components/schemas/google.protobuf.Timestamp"},"expiresAt":{"title":"expires_at","$ref":"#/components/schemas/google.protobuf.Timestamp"},"liftedAt":{"title":"lifted_at","$ref":"#/components/schemas/google.protobuf.Timestamp"}},"title":"Sanction","additionalProperties":false},"bulletmeta.api.v1.Season":{"type":"object","properties":{"id":{"type":"string","title":"id","description":"What `season` fields take: `s1`, `s2`, ..."},"number":{"type":"integer","title":"number","format":"int32"},"name":{"type":"string","title":"name"},"startsAt":{"title":"starts_at","$ref":"#/components/schemas/google.protobuf.Timestamp"},"endsAt":{"title":"ends_at","description":"Unset while the season is the current one.","$ref":"#/components/schemas/google.protobuf.Timestamp"},"current":{"type":"boolean","title":"current"}},"title":"Season","additionalProperties":false},"bulletmeta.api.v1.SeedingStanding":{"type":"object","properties":{"ruleId":{"type":"string","title":"rule_id"},"ruleName":{"type":"string","title":"rule_name"},"ruleKind":{"type":"string","title":"rule_kind","description":"threshold or points."},"profileId":{"type":"string","title":"profile_id"},"steamId":{"type":"string","title":"steam_id"},"points":{"type":"number","title":"points","format":"double"},"seedingSeconds":{"type":["integer","string"],"title":"seeding_seconds","format":"int64"},"activeUntil":{"title":"active_until","$ref":"#/components/schemas/google.protobuf.Timestamp"}},"title":"SeedingStanding","additionalProperties":false},"bulletmeta.api.v1.Server":{"type":"object","properties":{"id":{"type":"string","title":"id"},"organizationId":{"type":"string","title":"organization_id"},"organizationName":{"type":"string","title":"organization_name"},"name":{"type":"string","title":"name"},"statsEnrolledAt":{"title":"stats_enrolled_at","description":"When the server started counting toward public stats. Unset when it does\n not (then only its own organization's keys see it).","$ref":"#/components/schemas/google.protobuf.Timestamp"}},"title":"Server","additionalProperties":false,"description":"A registered game server visible to the key."},"bulletmeta.api.v1.ServerPlaytime":{"type":"object","properties":{"serverId":{"type":"string","title":"server_id"},"organizationId":{"type":"string","title":"organization_id"},"serverName":{"type":"string","title":"server_name"},"seconds":{"type":["integer","string"],"title":"seconds","format":"int64","description":"Closed sessions plus the running one measured to now."},"online":{"type":"boolean","title":"online"},"lastConnectedAt":{"title":"last_connected_at","description":"The start of the latest session on this server, not a last-seen time.","$ref":"#/components/schemas/google.protobuf.Timestamp"}},"title":"ServerPlaytime","additionalProperties":false,"description":"Time on one server: closed sessions plus the running one."},"bulletmeta.api.v1.WatchLiveStatusRequest":{"type":"object","properties":{"serverId":{"type":"string","title":"server_id"}},"title":"WatchLiveStatusRequest","additionalProperties":false},"bulletmeta.api.v1.WatchLiveStatusResponse":{"type":"object","properties":{"liveStatus":{"title":"live_status","$ref":"#/components/schemas/bulletmeta.api.v1.LiveStatus"}},"title":"WatchLiveStatusResponse","additionalProperties":false},"bulletmeta.api.v1.WeaponStat":{"type":"object","properties":{"weaponId":{"type":"string","title":"weapon_id"},"weaponName":{"type":"string","title":"weapon_name"},"category":{"type":"string","title":"category"},"kills":{"type":"integer","title":"kills","format":"int32"},"headshots":{"type":"integer","title":"headshots","format":"int32"},"deathsBy":{"type":"integer","title":"deaths_by","format":"int32"},"longestM":{"type":"number","title":"longest_m","format":"double","nullable":true},"ricochets":{"type":"integer","title":"ricochets","format":"int32","description":"Kills the game tagged as a ricochet or a penetration."},"penetrations":{"type":"integer","title":"penetrations","format":"int32"}},"title":"WeaponStat","additionalProperties":false},"bulletmeta.api.v1.WhitelistGrant":{"type":"object","properties":{"id":{"type":"string","title":"id"},"serverId":{"type":"string","title":"server_id","description":"Unset for an organization-wide grant."},"subjectType":{"type":"string","title":"subject_type","description":"player, clan_org or operator_role."},"subjectProfileId":{"type":"string","title":"subject_profile_id"},"subjectOrganizationId":{"type":"string","title":"subject_organization_id"},"subjectRole":{"type":"string","title":"subject_role"},"note":{"type":"string","title":"note"},"createdAt":{"title":"created_at","$ref":"#/components/schemas/google.protobuf.Timestamp"},"revokedAt":{"title":"revoked_at","$ref":"#/components/schemas/google.protobuf.Timestamp"},"expiresAt":{"title":"expires_at","description":"Unset is open-ended. An expired grant is left out of the next push.","$ref":"#/components/schemas/google.protobuf.Timestamp"}},"title":"WhitelistGrant","additionalProperties":false},"connect-protocol-version":{"type":"number","title":"Connect-Protocol-Version","enum":[1],"description":"Define the version of the Connect protocol","const":1},"connect-timeout-header":{"type":"number","title":"Connect-Timeout-Ms","description":"Define the timeout, in ms"},"connect.error":{"type":"object","properties":{"code":{"type":"string","examples":["not_found"],"enum":["canceled","unknown","invalid_argument","deadline_exceeded","not_found","already_exists","permission_denied","resource_exhausted","failed_precondition","aborted","out_of_range","unimplemented","internal","unavailable","data_loss","unauthenticated"],"description":"The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]."},"message":{"type":"string","description":"A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client."},"details":{"type":"array","items":{"$ref":"#/components/schemas/connect.error_details.Any"},"description":"A list of messages that carry the error details. There is no limit on the number of messages."}},"title":"Connect Error","additionalProperties":true,"description":"Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation"},"connect.error_details.Any":{"type":"object","properties":{"type":{"type":"string","description":"A URL that acts as a globally unique identifier for the type of the serialized message. For example: `type.googleapis.com/google.rpc.ErrorInfo`. This is used to determine the schema of the data in the `value` field and is the discriminator for the `debug` field."},"value":{"type":"string","format":"binary","description":"The Protobuf message, serialized as bytes and base64-encoded. The specific message type is identified by the `type` field."},"debug":{"oneOf":[{"type":"object","title":"Any","additionalProperties":true,"description":"Detailed error information."}],"discriminator":{"propertyName":"type"},"title":"Debug","description":"Deserialized error detail payload. The 'type' field indicates the schema. This field is for easier debugging and should not be relied upon for application logic."}},"additionalProperties":true,"description":"Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details."},"google.protobuf.Timestamp":{"type":"string","examples":["2023-01-15T01:30:15.01Z","2024-12-25T12:00:00Z"],"format":"date-time","description":"A Timestamp represents a point in time independent of any time zone or local\n calendar, encoded as a count of seconds and fractions of seconds at\n nanosecond resolution. The count is relative to an epoch at UTC midnight on\n January 1, 1970, in the proleptic Gregorian calendar which extends the\n Gregorian calendar backwards to year one.\n\n All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap\n second table is needed for interpretation, using a [24-hour linear\n smear](https://developers.google.com/time/smear).\n\n The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By\n restricting to that range, we ensure that we can convert to and from [RFC\n 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.\n\n # Examples\n\n Example 1: Compute Timestamp from POSIX `time()`.\n\n     Timestamp timestamp;\n     timestamp.set_seconds(time(NULL));\n     timestamp.set_nanos(0);\n\n Example 2: Compute Timestamp from POSIX `gettimeofday()`.\n\n     struct timeval tv;\n     gettimeofday(&tv, NULL);\n\n     Timestamp timestamp;\n     timestamp.set_seconds(tv.tv_sec);\n     timestamp.set_nanos(tv.tv_usec * 1000);\n\n Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.\n\n     FILETIME ft;\n     GetSystemTimeAsFileTime(&ft);\n     UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;\n\n     // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z\n     // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.\n     Timestamp timestamp;\n     timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));\n     timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));\n\n Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.\n\n     long millis = System.currentTimeMillis();\n\n     Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)\n         .setNanos((int) ((millis % 1000) * 1000000)).build();\n\n Example 5: Compute Timestamp from Java `Instant.now()`.\n\n     Instant now = Instant.now();\n\n     Timestamp timestamp =\n         Timestamp.newBuilder().setSeconds(now.getEpochSecond())\n             .setNanos(now.getNano()).build();\n\n Example 6: Compute Timestamp from current time in Python.\n\n     timestamp = Timestamp()\n     timestamp.GetCurrentTime()\n\n # JSON Mapping\n\n In JSON format, the Timestamp type is encoded as a string in the\n [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the\n format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\"\n where {year} is always expressed using four digits while {month}, {day},\n {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional\n seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),\n are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone\n is required. A proto3 JSON serializer should always use UTC (as indicated by\n \"Z\") when printing the Timestamp type and a proto3 JSON parser should be\n able to accept both UTC and other timezones (as indicated by an offset).\n\n For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past\n 01:30 UTC on January 15, 2017.\n\n In JavaScript, one can convert a Date object to this format using the\n standard\n [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)\n method. In Python, a standard `datetime.datetime` object can be converted\n to this format using\n [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with\n the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use\n the Joda Time's [`ISODateTimeFormat.dateTime()`](\n http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()\n ) to obtain a formatter capable of generating timestamps in this format."}},"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","description":"An API key, bm_live_<prefix>_<secret>, from Settings → API."}}},"security":[{"apiKey":[]}],"tags":[{"name":"bulletmeta.api.v1.ClanService","description":"Clans' public pages."},{"name":"bulletmeta.api.v1.KeyService","description":"The key itself."},{"name":"bulletmeta.api.v1.LeaderboardService","description":"The public boards, as bulletmeta.app/stats ranks them."},{"name":"bulletmeta.api.v1.MatchService","description":"Finished matches on servers visible to the key."},{"name":"bulletmeta.api.v1.OrgService","description":"The key's own organization. Reads need the `org:read` scope and writes need\n `lists:write`; there is no organization parameter on either, because a key\n only ever touches the organization it belongs to.\n\n Every write is audited as the key itself, and takes a `request_id` so a\n retried call returns the first result instead of writing twice."},{"name":"bulletmeta.api.v1.PlayerService","description":"Player careers, from counted matches on enrolled servers."},{"name":"bulletmeta.api.v1.ServerService","description":"Game servers: enrolled (public) servers, plus the key's own organization's."}],"servers":[{"url":"https://api.bulletmeta.app"}]}