sites
Get Environment Variables
Retrieves environment variables for an environment.
get/v0/sites/{site_id}/environments/{env_id}/variables
Request
- Base URLhttps://api.pantheon.io
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
site_idstring required
Site UUID
env_idstring required
Environment ID
Response
Example response
{
"CACHE_PORT": "10695",
"DB_NAME": "pantheon",
"DB_PORT": "10692",
"DB_USER": "pantheon"
}Changes
No recorded changes to this operation across all 2 revisions of this API.