Updates the information about the webhook settings in Store. Check webhooks documentation to learn more.
project_id required | integer ID de projet. Ce paramètre se trouve dans le Compte éditeur à côté du nom du projet. Example: 44056 |
Informations sur les paramètres du webhook.
url required | string URL of your server for receiving Game services webhooks. The URL must be publicly accessible and use the HTTPS protocol, for example For Game services webhooks, the setting specified in this API call takes precedence over the setting configured in Publisher Account in Project Settings > Webhooks section. |
secret required | string The project secret key for signing Game services webhooks. For Game services, the key specified in this API call takes precedence over the key generated in Publisher Account in Project Settings > Webhooks section. |
is_enabled required | boolean Whether Game services webhooks are enabled. For Game services webhooks, the setting specified in this API call takes precedence over the setting configured in Publisher Account in Project Settings > Webhooks section. |
version | integer Webhooks version. In version |
Les informations sur les paramètres du webhook ont été mises à jour avec succès.
L'authentification de base n'a pas été passée ou est incorrecte. Vérifiez que vous avez utilisé l'authentification de base ou des informations d'identification correctes.
Des informations sur les paramètres du webhook avec leproject_id
passé n'existent pas. Assurez-vous d'avoir utilisé le bon project_id
ou d'avoir créé le webhook plus tôt.
Les informations sur les paramètres du webhook contiennent une URL vide.
{- "is_enabled": true,
- "secret": "my_secret_key",
- "version": 1
}
{- "errorCode": 1020,
- "errorMessage": "[0401-1020]: Error in Authentication method occurred",
- "statusCode": 401
}