ポスト

Validate Configuration


開発者プレビュー

このAPIは変更される可能性があります。プレビュー期間中、開発者からのフィードバックに基づいてバグ修正や新機能がリリースされる予定です。

This endpoint is used to validate the user's action configuration.

Wix calls this endpoint when a site contributor configures an automation with your action, and when they select the automation from the Your automations list in the Automations dashboard. Wix uses the returned response to display an error message to a site contributor if the action is invalid.

Implementing this endpoint is optional. To implement it, select the endpoint under Action's service plugin Endpoints when editing your action in the Wix Developers Center. If you don't implement this endpoint, Wix assumes that the action is always valid.

As an example, a user configures an action called “Send gift card”, where a gift card is identified by a unique UUID. After some period of time the user deletes the gift card, making the action’s mapping with the current UUID invalid. Validate Configuration checks the validity of the action’s input values, and returns an error to the user if one or more of the values is not valid.

Endpoint
POST
{DEPLOYMENT-URI}/v1/validate-configuration
役に立ちましたか?
はい
いいえ