Skip to main content

ValidateGame

Validates information used to create a new game.

Request Body required
  • display_name string required

    Possible values: 1 ≤ length ≤ 24, Value must match regular expression ^(?:[^ \n\r] ?)+[^ \n\r]$

    Represent a resource's readable display name.

  • name_id string required

    Possible values: 1 ≤ length ≤ 16, Value must match regular expression ^[a-zA-Z0-9](?:[a-zA-Z0-9]-?)+[a-zA-Z0-9]$

    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.

Responses

ValidateGame 200 response

Schema
  • errors object[] required

    A list of validation errors.

    • path string[] required

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