games.namespaces.validateGameNamespaceMatchmakerConfig


Description

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


Code Examples

# 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

required path parameter

namespace_id

required path parameter

Request Body

  • lobby_count_max
    number

    Unsigned 32 bit integer.

  • max_players
    number

    Unsigned 32 bit integer.


Response Body

  • errors
    array of objects

    A list of validation errors.

    • errors.path
      array of strings

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