Openminds Sock API
List Databases
Returns a list of the databases for a selected account.
URL
/databases
Method
GET
Data parameters
Required
user_token=[string]
client_token=[string]
account_id=[string]
Sample usage
curl -X GET https://sock.openminds.be/api/v1/databases -d user_token=1234 -d client_token=5678 \
-d account_id=2
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"
},
{
"account_id": 68,
"database_grants": [
{
"access_level": "read-write",
"login": "db_testcli_002",
"id": 456
},
{
"access_level": "read",
"login": "read_only_login",
"id": 789
}
],
"hosts": [
"pro-010.test_api.openminds.be",
"chroom.openminds.be",
"service-002.openminds.be"
],
"id": 2,
"name": "db_testcli_002"
}
]