List Bolts
GET
/v1/boltsList all the Bolts you have access to.
Request
None
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
array [object {4}]
required
id
integer
required
type
string
required
attributes
object
required
relationships
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": 0,
"type": "string",
"attributes": {
"internalName": "string",
"boltId": 0,
"name": "string",
"customerId": 0,
"customer": "string",
"subscriptionId": "string",
"plan": "string",
"enabled": true,
"hostname": "string",
"dedicated": true,
"location": "string",
"environments": 0,
"cms": "string",
"services": {
"php": "string"
},
"storage": {
"used": 0,
"total": 0
},
"created": "string",
"domains": [
"string"
],
"price": null,
"isLegacy": true,
"isArchived": true
},
"relationships": {
"environments": [
{
"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",
"environmentInfoFile": "string"
},
"relationships": {
"bolt": {
"data": {
"id": "string",
"type": "string",
"attributes": {
"internalName": "string"
}
}
}
},
"links": {
"self": "string"
}
}
],
"databases": [
{
"id": 0,
"type": "string",
"attributes": {
"webhostId": 0,
"name": "string",
"dbHost": "string",
"dbName": "string",
"dbUser": "string",
"size": 0,
"tags": "string",
"environments": [
{
"id": 0,
"name": "string",
"state": "string"
}
]
},
"relationships": {
"bolt": {
"data": {
"type": "string",
"id": 0
}
},
"server": {
"data": {
"type": "string",
"id": 0
}
}
}
}
]
}
}
],
"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: 4 months ago