name | type | description |
---|---|---|
address | query | |
adminAccount | query | |
adminPassword | query | |
storageToCheck | query |
media type | data type | description |
---|---|---|
application/json | DDBoostConfigResult (JSON) |
GET /ddboost-configuration/check-storage-exists
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"resultCode" : 12345,
"details" : "..."
}
name | type | description |
---|---|---|
address | query | |
adminAccount | query | |
adminPassword | query | |
userToCheck | query |
media type | data type | description |
---|---|---|
application/json | DDBoostConfigResult (JSON) |
GET /ddboost-configuration/check-user-exists
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"resultCode" : 12345,
"details" : "..."
}
media type | data type |
---|---|
application/json | DdBoostCreateStorageParameters (JSON) |
media type | data type | description |
---|---|---|
application/json | DDBoostConfigResult (JSON) |
POST /ddboost-configuration/storage
Content-Type: application/json
Accept: application/json
{
"address" : "...",
"storageUnit" : "...",
"softLimitSize" : 12345,
"softLimitUnit" : "...",
"hardLimitSize" : 12345,
"hardLimitUnit" : "...",
"user" : "...",
"adminAccount" : "...",
"adminPassword" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"resultCode" : 12345,
"details" : "..."
}
media type | data type |
---|---|
application/json | DdBoostConfigureStorageParameters (JSON) |
media type | data type | description |
---|---|---|
application/json | DDBoostConfigResult (JSON) |
PUT /ddboost-configuration/storage
Content-Type: application/json
Accept: application/json
{
"address" : "...",
"storageUnit" : "...",
"user" : "...",
"adminAccount" : "...",
"adminPassword" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"resultCode" : 12345,
"details" : "..."
}
name | type | description |
---|---|---|
address | query | |
adminAccount | query | |
adminPassword | query | |
storageToCheck | query |
media type | data type | description |
---|---|---|
application/json | DDBoostConfigResult (JSON) |
GET /ddboost-configuration/storage-owner
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"resultCode" : 12345,
"details" : "..."
}
name | type | description | constraints |
---|---|---|---|
address | query | ||
adminAccount | query | ||
adminPassword | query | ||
page | query | required | |
size | query | required |
media type | data type | description |
---|---|---|
application/json | DDBoostGetStoragesResult (JSON) |
GET /ddboost-configuration/storage-units
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"resultCode" : 12345,
"details" : "...",
"storageUnits" : [ {
"name" : "...",
"id" : "...",
"deleted" : true
}, {
"name" : "...",
"id" : "...",
"deleted" : true
} ],
"pagingInfo" : {
"currentPage" : 12345,
"pageEntries" : 12345,
"totalEntries" : 12345,
"pageSize" : 12345
}
}
name | type | description |
---|---|---|
address | query | |
password | query | |
user | query |
media type | data type | description |
---|---|---|
application/json | DDBoostConfigResult (JSON) |
GET /ddboost-configuration/test-admin-connection
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"resultCode" : 12345,
"details" : "..."
}
name | type | description |
---|---|---|
address | query | |
password | query | |
user | query |
media type | data type | description |
---|---|---|
application/json | DDBoostConfigResult (JSON) |
GET /ddboost-configuration/test-user-connection
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"resultCode" : 12345,
"details" : "..."
}
media type | data type |
---|---|
application/json | DdBoostCreateUserParameters (JSON) |
media type | data type | description |
---|---|---|
application/json | DDBoostConfigResult (JSON) |
POST /ddboost-configuration/user
Content-Type: application/json
Accept: application/json
{
"address" : "...",
"user" : "...",
"password" : "...",
"adminAccount" : "...",
"adminPassword" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"resultCode" : 12345,
"details" : "..."
}
name | type | description | constraints |
---|---|---|---|
address | query | ||
adminAccount | query | ||
adminPassword | query | ||
page | query | required | |
size | query | required |
media type | data type | description |
---|---|---|
application/json | DDBoostGetUsersResult (JSON) |
GET /ddboost-configuration/users
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"resultCode" : 12345,
"details" : "...",
"users" : [ {
"userName" : "...",
"uid" : "...",
"role" : "..."
}, {
"userName" : "...",
"uid" : "...",
"role" : "..."
} ],
"pagingInfo" : {
"currentPage" : 12345,
"pageEntries" : 12345,
"totalEntries" : 12345,
"pageSize" : 12345
}
}