Prepare v0.6.7-alpha discovery release
This commit is contained in:
parent
ef30369865
commit
54937fad4b
7 changed files with 75 additions and 12 deletions
|
|
@ -10,7 +10,7 @@ All request and response bodies use `application/json`. Production clients must
|
|||
|
||||
Returns service status, package version, configured build revision, and the number of active,
|
||||
unexpired room leases. Deployments should set `NETFISHING_DISCOVERY_BUILD_REVISION` to the exact
|
||||
Git commit they are running.
|
||||
Git commit they are running. The package version follows the coordinated NETfishing release tag.
|
||||
|
||||
## `GET /v1/rooms`
|
||||
|
||||
|
|
@ -32,7 +32,7 @@ trusting an address supplied by the game client.
|
|||
"port": 7777,
|
||||
"current_players": 0,
|
||||
"max_players": 8,
|
||||
"game_version": "0.6.4-alpha",
|
||||
"game_version": "0.6.7-alpha",
|
||||
"protocol_version": 3
|
||||
}
|
||||
```
|
||||
|
|
@ -47,6 +47,10 @@ excluded from public listings until the service observes that endpoint.
|
|||
The service applies configured global and per-observed-address active-room limits. Exceeding one
|
||||
returns `429 room_limit`; expired leases stop counting automatically.
|
||||
|
||||
The discovery release accepts room advertisements only from the matching NETfishing game release.
|
||||
A mismatched `game_version` returns `409 game_version_mismatch` with `required_game_version`; the
|
||||
room is not created or updated.
|
||||
|
||||
## `PUT /v1/rooms/{room_id}`
|
||||
|
||||
Renews and updates a room lease. Send the complete room payload and:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue