Get Bolt Database
GET
/v1/bolts/{boltId}/databases/{databaseId}Get the details of a database.
Request
Path Params
boltId
string
required
The ID of your Bolt.
Example:
1234
databaseId
integer
required
The ID of the database can be retrieved via the List Bolt Database endpoint.
Example:
5678
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
required
id
integer
required
type
string
required
attributes
object
required
relationships
object
required
Example
{
"data": {
"id": 1261,
"type": "databases",
"attributes": {
"webhostId": 8988,
"name": "Test",
"dbHost": "xxx",
"dbName": "testob",
"dbUser": "testob",
"size": 0,
"tags": "",
"environments": [
{
"id": 1760,
"name": "Test",
"state": "development"
}
]
},
"relationships": {
"bolt": {
"data": {
"type": "bolts",
"id": 8988
}
},
"server": {
"data": {
"type": "servers",
"id": 35
}
}
}
}
}
Last modified: 5 months ago