Get Environment
GET
/v1/environments/{environmentId}Get the details of an environment.
Request
Path Params
environmentId
string
required
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
required
id
string
required
type
string
required
attributes
object
required
relationships
object
required
links
object
required
Example
{
"data": {
"id": "1803",
"type": "environments",
"attributes": {
"title": "new awesome environment",
"enabled": true,
"hostname": "xxx",
"ip": "185.91.65.158",
"internalName": "newawe_1803",
"internalUrl": "newawe-1803.xxx",
"phpVersion": "8.3",
"phpExtensions": [],
"phpWorkers": {
"max": 128,
"nice": 18,
"maxRequests": 500
},
"domains": [],
"state": "development",
"storage": {
"used": null,
"total": 4096
},
"location": "Oslo, NO",
"devMode": false,
"apikey": "xxx",
"isLegacy": false,
"cloudflareLock": false,
"cacheMode": "static",
"phpMemoryLimit": 128,
"htaccessRoot": "public",
"ssh": true,
"sftp": true,
"phpTimezone": "UTC"
},
"relationships": {
"bolt": {
"data": {
"id": "8988",
"type": "bolts",
"attributes": {
"internalName": "wefwef_8988"
}
}
}
},
"links": {
"self": "https://xxx/v1/environments/1803"
}
}
}
Modified at 3 months ago