Legacy Dev Forum Posts

 View Only

Sign Up

Validation for the allowedDomains field in the WebDeployment API

  • 1.  Validation for the allowedDomains field in the WebDeployment API

    Posted 06-05-2025 18:35

    anon59476161 | 2021-02-22 13:02:15 UTC | #1

    Category:

    API

    Summary:

    Validation for the allowedDomains field in the WebDeployment resource

    Context:

    This is a breaking change. The validation rules for the allowedDomains field have been updated. The API will only accept well-formed domains. For example: "www.mybusiness.co.uk", "mybusiness.com" will be accepted but "https://mybusiness.com", "mybusiness", "mybusiness.*.uk" will not be accepted.

    There is a new field named 'allowAllDomains' that can be used for accepting any domain. This can be used for development or testing purposes. Note that the fields allowAllDomains and allowedDomains are mutually exclusive. If allowAllDomains is true, allowedDomains should be null or empty.

    Impact:

    Customers will only be affected if currently participating in the beta release for Web Messaging release for epic PURE-3282.

    Date of Change:

    This is already in effect.

    Impacted APIs:

    POST /api/v2/webdeployments/deployments

    PUT /api/v2/webdeployments/deployments/{deploymentId}

    References:

    SQUONK-58, PURE-3295, PURE-3282


    This post was migrated from the old Developer Forum.

    ref: 10047