games.validateGame


Description

Validates information used to create a new game.


Code Examples

# Write the request body to body.json before running
curl -X POST -d '@body.json' 'https://api.rivet.gg/cloud/games/validate'

Request Parameters


Request Body

  • display_name
    string

    Represent a resource's readable display name.

  • name_id
    any value

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.