games.getGameById


Description

Returns a game by its game id.


Code Examples

Request

GET
https://api.rivet.gg/cloud/games/{game_id}
curl -X GET 'https://api.rivet.gg/cloud/games/{game_id}'

Request Parameters

game_id

required path parameter

watch_index

optional query parameter

A query parameter denoting the requests watch index.


Response Body

game

required object

A full game.

available_regions

required array<object>

A list of region summaries.

available_regions[*]

object

A region summary.

provider

required string

The server provider of this region.

provider_display_name

required string

Represent a resource's readable display name.

region_display_name

required string

Represent a resource's readable display name.

region_id

required string

region_name_id

required string

A human readable short identifier used to references resources. Different than a rivet.common#Uuid because this is intended to be human readable. Different than rivet.common#DisplayName because this should not include special characters and be short.

banner_url

string

The URL of this game's banner image.

create_ts

required string

RFC3339 timestamp

developer_group_id

required string

display_name

required string

Represent a resource's readable display name.

game_id

required string

logo_url

string

The URL of this game's logo image.

name_id

required string

A human readable short identifier used to references resources. Different than a rivet.common#Uuid because this is intended to be human readable. Different than rivet.common#DisplayName because this should not include special characters and be short.

namespaces

required array<object>

A list of namespace summaries.

namespaces[*]

object

A namespace summary.

create_ts

required string

RFC3339 timestamp

display_name

required string

Represent a resource's readable display name.

name_id

required string

A human readable short identifier used to references resources. Different than a rivet.common#Uuid because this is intended to be human readable. Different than rivet.common#DisplayName because this should not include special characters and be short.

namespace_id

required string

version_id

required string

total_player_count

required integer

Unsigned 32 bit integer.

versions

required array<object>

A list of version summaries.

versions[*]

object

A version summary.

create_ts

required string

RFC3339 timestamp

display_name

required string

Represent a resource's readable display name.

version_id

required string

watch

required object

Provided by watchable endpoints used in blocking loops.

index

required string

Index indicating the version of the data responded. Pass this to WatchQuery to block and wait for the next response.


Rivet

Open-source multiplayer infrastructure. Easy, flexible, and affordable.

This website is not sponsored by or affiliated with Unity Technologies or its affiliates. Unity Trademark(s) are trademark(s) or registered trademark(s) of Unity Technologies or its affiliates in the U.S. and elsewhere. | This website is not sponsored by, affiliated with, or endorsed by Epic Games, Inc. or its affiliates. 'Unreal Engine' is a trademark or registered trademark of Epic Games, Inc. in the U.S. and elsewhere. | The HTML5 Logo by the World Wide Web Consortium (W3C), used under a Creative Commons Attribution 3.0 License. Source | The Godot Engine Logo by the Andrea Calabró, used under a Creative Commons Attribution 4.0 International License. Source | Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries. Docker, Inc. and other parties may also have trademark rights in other terms used herein.

© 2024 Rivet Gaming, Inc. All rights reserved.