achievementConfigurations

POST /games/v1configuration/applications/{applicationId}/achievements

Insert a new achievement configuration in this application.

Request

Path parameters

applicationIdstring required

The application ID from the Google Play developer console.

Request body

idstring

The ID of the achievement.

stepsToUnlockinteger

Steps to unlock. Only applicable to incremental achievements.

initialState'INITIAL_STATE_UNSPECIFIED' | 'HIDDEN' | 'REVEALED'

The initial state of the achievement.

kindstring

Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfiguration.

tokenstring

The token for this resource.

achievementType'ACHIEVEMENT_TYPE_UNSPECIFIED' | 'STANDARD' | 'INCREMENTAL'

The type of the achievement.

Response

Successful response

idstring

The ID of the achievement.

stepsToUnlockinteger

Steps to unlock. Only applicable to incremental achievements.

initialState'INITIAL_STATE_UNSPECIFIED' | 'HIDDEN' | 'REVEALED'

The initial state of the achievement.

kindstring

Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfiguration.

tokenstring

The token for this resource.

achievementType'ACHIEVEMENT_TYPE_UNSPECIFIED' | 'STANDARD' | 'INCREMENTAL'

The type of the achievement.

Changes

No recorded changes to this operation across all 1 revision of this API.