g
Frontend | Backend | Api

Sites\Models\Api\Environment

Environment

Property Description Returns
primary Check whether this environment is the primary environment bool
lastVcsHash Gets last VCS hash for current environment. Returns first 7 characters. string
id int
name string
sitePath string
rootEntity Get the root entity associated with this environment string
rootRecordId Get the ID of the root record associated with this environment int
primaryHostname Hostname
vcsConfig VcsConfig
site Site
hostnames Collection (Hostname)
vcsLogs Collection (VcsLog)