Get Database
GET
/v1/databases/{id}Get details for a database.
Request
Path Params
id
integer
required
Header Params
Accept
string
required
Example:
application/json
Content-Type
string
required
Example:
application/json
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": 1289,
"type": "databases",
"attributes": {
"webhostId": 8988,
"name": "New Database",
"dbHost": "xxx",
"dbName": "newdatabas0a65",
"dbUser": "newdatabas0a65",
"size": 0,
"tags": "",
"environments": []
},
"relationships": {
"bolt": {
"data": {
"type": "bolts",
"id": 8988
}
},
"server": {
"data": {
"type": "servers",
"id": 35
}
}
}
}
}
Last modified: 6 months ago