Updates the information about the webhook settings in Store. Check webhooks documentation to learn more.
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 |
已成功更新Webhook设置信息。
基本认证未通过或错误。确保您使用了基本认证或正确的凭据。
传入的project_id
不存在相关Webhook设置信息。确保使用了正确的project_id
或已在之前创建了Webhook。
Webhook设置信息包含空URL。
{- "is_enabled": true,
- "secret": "my_secret_key",
- "version": 1
}
{- "errorCode": 1020,
- "errorMessage": "[0401-1020]: Error in Authentication method occurred",
- "statusCode": 401
}