Openminds Sock API
Show Account
Returns detailed information for the requested account.
URL
/accounts/: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/accounts/68 -d user_token=1234 -d client_token=5678
Sample response
{
"applications": [
{
"account_id": 68,
"aliases": [],
"created_at": "2015-05-20 14:26:07 +0200",
"id": 68,
"name": "production"
}
],
"created_at": "2015-05-20 14:26:07 +0200",
"databases": [
{
"account_id": 68,
"database_grants": [
{
"access_level": "read-write",
"login": "db_testcli_001"
}
],
"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"
},
{
"access_level": "read",
"login": "read_only_login"
}
],
"hosts": [
"pro-010.test_api.openminds.be",
"chroom.openminds.be",
"service-002.openminds.be"
],
"id": 2,
"name": "db_testcli_002"
}
],
"ftp_users": [],
"id": 68,
"name": "testclientsharedruby",
"ssh_keys": [],
"virtual_server_id": 3
}