List Environments
GET
/v1/environmentsList all the environments of all Bolts in your account.
Request
None
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
array [object {5}]
required
id
string
required
type
string
required
attributes
object
required
relationships
object
required
links
object
required
links
object
required
first
string
required
last
string
required
prev
null
required
next
null
required
meta
object
required
current_page
integer
required
from
integer
required
last_page
integer
required
links
array [object {3}]
required
path
string
required
per_page
integer
required
to
integer
required
total
integer
required
Example
{
"data": [
{
"id": "string",
"type": "string",
"attributes": {
"title": "string",
"enabled": true,
"hostname": "string",
"ip": "string",
"internalName": "string",
"internalUrl": "string",
"phpVersion": "string",
"phpExtensions": [
{
"id": 0,
"name": "string",
"cli": true,
"web": true
}
],
"phpWorkers": {
"max": 0,
"nice": 0,
"maxRequests": 0
},
"domains": [
"string"
],
"state": "string",
"storage": {
"used": null,
"total": 0
},
"location": "string",
"devMode": true,
"apikey": "string",
"isLegacy": true,
"cloudflareLock": true,
"cacheMode": "string",
"phpMemoryLimit": 0,
"htaccessRoot": "string",
"ssh": true,
"sftp": true,
"phpTimezone": "string"
},
"relationships": {
"bolt": {
"data": {
"id": "string",
"type": "string",
"attributes": {
"internalName": "string"
}
}
}
},
"links": {
"self": "string"
}
}
],
"links": {
"first": "string",
"last": "string",
"prev": null,
"next": null
},
"meta": {
"current_page": 0,
"from": 0,
"last_page": 0,
"links": [
{
"url": "string",
"label": "string",
"active": true
}
],
"path": "string",
"per_page": 0,
"to": 0,
"total": 0
}
}
Last modified: 5 months ago