Skip to content

docs: add the service-player api snapshot - #17

Closed
hbrombeer wants to merge 1 commit into
mainfrom
feat/player-api
Closed

docs: add the service-player api snapshot#17
hbrombeer wants to merge 1 commit into
mainfrom
feat/player-api

Conversation

@hbrombeer

Copy link
Copy Markdown
Member

Adds Player API to the reference — network-wide presence: who is online, on which proxy and backend server, under what name, and in which language.

service-player was the only data service missing here, because it spoke only gRPC and so had no OpenAPI document to publish. groundsgg/service-player#99 gives it a REST API under /v1/players; this is the snapshot that build produces — 12 operations, 15 schemas.

Generated with groundsgg/.github/actions/update-openapi-snapshot, the same action the release bot runs, rather than written by hand. The registry entry and file layout are therefore what the bot would produce, and its next run against a tagged release is a plain content update rather than a conflict.

Draft until two things happen

  1. service-player#99 merges and ships. Until then this documents an API that answers nowhere.
  2. The OPENAPI_PUBLISHER_PRIVATE_KEY secret is added to groundsgg/service-player. It is missing today, so the release workflow cannot open this PR itself — which is why it is here by hand. (OPENAPI_PUBLISHER_APP_ID is already set.) That missing secret is the same failure that silently dropped service-maps v1.3.0 from the reference.

The snapshot's info.version reads dev because it comes from an unreleased build, matching how service-permissions is published today. The release run will replace it with the tag.

service-player was missing from the reference because it spoke only gRPC and had
no OpenAPI document to publish. groundsgg/service-player#99 gives it a REST API
under /v1/players; this is the snapshot that build produces.

Written with the same action the release bot uses, rather than by hand, so the
bot's next run against a tagged release is a plain content update.
@hbrombeer

Copy link
Copy Markdown
Member Author

Superseded by #19: with OPENAPI_PUBLISHER_PRIVATE_KEY in place, the release of service-player v0.9.0 published the snapshot itself — same content, stamped with the tag instead of dev. This one existed only as the manual route around the missing secret.

@hbrombeer hbrombeer closed this Aug 4, 2026
@hbrombeer
hbrombeer deleted the feat/player-api branch August 4, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant