Openminds Sock API
Show Database
Returns detailed information for the requested database.
URL
/databases/:id
Method
GET
URL parameters
Required
id=[integer]
Data parameters
Required
user_token=[string]
client_token=[string]
Sample usage
curl -X GET https://sock.openminds.be/api/v1/databases/1 -d user_token=1234 -d client_token=5678
Sample response
{
"account_id": 68,
"database_grants": [
{
"access_level": "read-write",
"login": "db_testcli_001",
"id": 123
}
],
"hosts": [
"pro-010.test_api.openminds.be",
"chroom.openminds.be",
"service-002.openminds.be"
],
"id": 1,
"name": "db_testcli_001"
}