Domain Patterns

Retrieves a domain pattern by environment ID and pattern ID.

get/environments/{environmentId}/domain-patterns/{patternId}

Request

Path parameters

environmentIdstring required

Unique identifier for the environment.

patternIdstring required

Unique identifier for the domain pattern.

Response

OK

idstring required

Unique identifier for the domain pattern.

patternstring required

The domain pattern string, optionally followed by a single path segment (e.g. [site-name].acme.com/app). The [site-name] token is mandatory; [environment-name] is optional at environment level. Domain rules (enforced in service layer): ≤ 200 chars excluding token placeholders, at least 2 components (must contain .), no IP addresses, no forbidden suffixes (acquia-sites.com, hosting.acquia.com), no wildcards, no leading/trailing dot or hyphen, no consecutive dots, no query string or fragment. Path rules: optional, max 255 chars, must match ^/[A-Za-z0-9._-]+$, max 1 segment. DNS label limit: 63 chars after token substitution ([site-name] ≤ 14 chars). One pattern per environment.

_embeddedobject

Embedded resources (optional)

Example response

{
  "pattern": "[site-name].acme.com",
  "_links": {
    "self": {
      "href": "https://api.acquia.com/v3/resources/1"
    }
  }
}

Changes

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