sites

Get Environment Settings

Returns environment settings for the specified environment.

get/v0/sites/{site_id}/environments/{env_id}/settings

Request

Path parameters

site_idstring required

Site ID

env_idstring required

Environment ID

Response

domainstring required

Primary domain for the environment

domainsstring[]

List of all domains associated with the environment (for WordPress multisite)

Example response

{
  "domain": "dev-sitename.pantheonsite.io",
  "domains": [
    "dev-sitename.pantheonsite.io",
    "www.example.com"
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.