Authorization: Bearer ********************
curl --location --request GET 'https://api.servebolt.io/v1/domains?q' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
{
"data": [
{
"id": 2476,
"type": "domain",
"attributes": {
"boltId": 8944,
"environmentId": 1702,
"name": "domain.com",
"sslId": 217,
"sslType": 1,
"deletable": true,
"tags": []
},
"relationships": {
"certificates": [
{
"id": 217,
"type": "certificates",
"attributes": {
"type": "SELFSIGNED",
"expires": "2025-04-19T21:59:59Z"
}
}
],
"environment": {
"data": {
"id": 1702,
"attributes": {
"title": "Test"
}
}
}
}
},
{
"id": 2266,
"type": "domain",
"attributes": {
"boltId": 8853,
"environmentId": 1604,
"name": "asub.domain.com",
"sslId": null,
"sslType": 1,
"deletable": true,
"tags": []
},
"relationships": {
"certificates": [],
"environment": {
"data": {
"id": 1604,
"attributes": {
"title": "Hihello"
}
}
}
}
}
],
"links": {
"first": "https://xxx/v1/domains?page=1",
"last": "https://xxx/v1/domains?page=2",
"prev": null,
"next": "https://xxx/v1/domains?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 2,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://xxx/v1/domains?page=1",
"label": "1",
"active": true
},
{
"url": "https://xxx/v1/domains?page=2",
"label": "2",
"active": false
},
{
"url": "https://xxx/v1/domains?page=2",
"label": "Next »",
"active": false
}
],
"path": "https://xxx/v1/domains",
"per_page": 15,
"to": 15,
"total": 17
}
}