Xsolla-logo

Create age restriction for country

post/projects/{project_id}/age_rating

Creates or updates existing age restriction for a selected country in a project.

Request
path Parameters
project_id
required
string <uuid>

게시자 계정의 로그인 프로젝트 ID입니다.

Request Body schema: application/json
age
required
integer [ 1 .. 99 ]
country_code
required
string^[a-zA-Z]{2}$

Country code in the ISO 3166-1 alpha-2 format. Use XX to update default restrictions for all countries.

rating_name
string <= 255 characters
Responses
200

확인

403

액세스가 거부됨

422

처리할 수 없는 엔터티

500

내부 서버 오류

Request samples
application/json
{
  • "age": 1,
  • "country_code": "string",
  • "rating_name": "string"
}