games.namespaces.validateGameNamespaceMatchmakerConfig


Description

Validates information used to update a game namespace's matchmaker config.


Code Examples

Request

POST
https://api.rivet.gg/cloud/games/{game_id}/namespaces/{namespace_id}/mm-config/validate
# Write the request body to body.json before running
curl -X POST -d '@body.json' 'https://api.rivet.gg/cloud/games/{game_id}/namespaces/{namespace_id}/mm-config/validate'

Request Parameters

game_id

Path parameter, required

namespace_id

Path parameter, required


Request Body

lobby_count_max

integer (required)

Unsigned 32 bit integer.

max_players

integer (required)

Unsigned 32 bit integer.


Response Body

errors

array<object> (required)

A list of validation errors.

errors[*].path

array<string> (required)

A list of strings denoting the origin of a validation error.