Authorization: Bearer ********************
curl --location --request GET 'https://api.servebolt.io/v1/environments//domains' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
{
"data": [
{
"id": 2541,
"type": "domain",
"attributes": {
"boltId": 9002,
"environmentId": 1785,
"name": "testms-1785.xxx",
"sslId": -1,
"sslType": 1,
"deletable": false,
"tags": []
},
"relationships": {
"certificates": [],
"environment": {
"data": {
"id": 1785,
"attributes": {
"title": "Test"
}
}
}
}
}
],
"links": {
"first": "https://xxx/v1/environments/1785/domains?page=1",
"last": "https://xxx/v1/environments/1785/domains?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://xxx/v1/environments/1785/domains?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "https://xxx/v1/environments/1785/domains",
"per_page": 15,
"to": 1,
"total": 1
}
}