Authorization: Bearer ********************
curl --location --request GET 'https://api.servebolt.io/v1/bolts//environments' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
{
"data": [
{
"id": "1760",
"type": "environments",
"attributes": {
"title": "Test",
"enabled": true,
"hostname": "xxx",
"ip": "185.91.65.158",
"internalName": "testyx_1760",
"internalUrl": "testyx-1760.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": "all",
"phpMemoryLimit": 128,
"htaccessRoot": "public",
"ssh": true,
"sftp": true,
"phpTimezone": "UTC"
},
"relationships": {
"bolt": {
"data": {
"id": "8988",
"type": "bolts",
"attributes": {
"internalName": "wefwef_8988"
}
}
}
},
"links": {
"self": "https://api.sbdev.r99.no/v1/environments/1760"
}
}
],
"links": {
"first": "https://api.sbdev.r99.no/v1/bolts/8988/environments?page=1",
"last": "https://api.sbdev.r99.no/v1/bolts/8988/environments?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://api.sbdev.r99.no/v1/bolts/8988/environments?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "https://api.sbdev.r99.no/v1/bolts/8988/environments",
"per_page": 15,
"to": 1,
"total": 1
}
}