Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
getAllDBServers
getAllDBServers

Get all the

...

database server details 
Deck of Cards
idbimGetAllDBServers
Card
labelHTTP Method
 GET
Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: administration/dbserverstatistics

URLhttps://api.bimplus.net/v2/administration/dbserverstatistics

Examplehttps://api.bimplus.net/v2/administration/dbserverstatistics

Card
labelDescription

 Retrieves the whole log information from the beginning of the timedetails of all the DB servers found in the Bimplus platform.

Card
labelRequest
Code Block
borderColorGreen
titleHeaders
langxml
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Card
labelResponse
Code Block
borderColorGreen
titleStatus
langxml
Status: 200 OK
Code Block
borderColorRed
titleJSON
langxml
 [
     {
        "id": 853539"6c3bcbd4-df39-4b5c-9d55-257d15b6f2f2",
        "serverdbServerName": "K2177k3345.ims-firmen.de",
        "datedbServerStatus": "2013-12-16T10:00:23Active",
        "requestidusageStatisticsIsWorking": "653750b3-a97e-451f-bd01-1a4671344087"true,
        "threaddbServerIsClosed": "51"false,
        "leveldbSpaceTotal": "INFO"800000,
        "loggerdbSpaceUsed": "PerformanceLog.ServiceLog"24603,
        "messagegrowingSumLastWeekSpaceUsed": "BEGIN Request (GET /v2/best-company/projects/679532b9-f7f7-41ce-817f-6e58225b32b1/disciplines)"2717,
        "exceptiongrowingSumLastMonthSpaceUsed": ""14853,
     },
    {"growingPerDayLastWeekSpaceUsed": 388.14285714285717,
        "idgrowingPerDayLastMonthSpaceUsed": 853540479.1290322580645,
        "servergrowingDaysLastMonth": "K2177"31,
        "dategrowingDaysLastWeek": "2013-12-16T10:00:23"7,
        "requestiddbSpaceRemaining": "653750b3-a97e-451f-bd01-1a4671344087"775397,
        "threaddbSpaceRemainingPercentage": "51"96.9,
        "levelnumberOfTeams": "INFO"100,
        "loggergrowingSumLastWeekTeams": "PerformanceLog.UserLog"12,
        "messagegrowingSumLastMonthTeams": "User found byId: bestcustomer@bimplus.net"63,
        "exceptiongrowingPerDayLastWeekTeams": ""
1.7142857142857142,
     },
    {"growingPerDayLastMonthTeams": 2.032258064516129,
        "idnumberOfProjects": 853541194,
        "servergrowingSumLastWeekProjects": "K2177"30,
        "dategrowingSumLastMonthProjects": "2013-12-16T10:00:23"123,
        "growingPerDayLastWeekProjects": 4.285714285714286,
        "growingPerDayLastMonthProjects": 3.967741935483871,
        "numberOfProjectsMin": 0,
        "numberOfProjectsMax": 32,
        "teamDbSpaceMin": 20,
        "requestidteamDbSpaceMax": "653750b3-a97e-451f-bd01-1a4671344087" 3017,
        "popularity": 98.5742,
        "threadunitSpace": "51",MB"
    },
    {
        "levelid": "INFOc37d4829-b547-4c8d-b031-ffd2101b7c54",
        "loggerdbServerName": "PerformanceLog.ServiceLogk2222.ims-firmen.de",
        "messagedbServerStatus": "END Request (GET /v2/best-company/projects/679532b9-f7f7-41ce-817f-6e58225b32b1/disciplines) with StatusCode 200; took 216 ms"Active",
        "usageStatisticsIsWorking": true,
        "dbServerIsClosed": false,
        "exceptiondbSpaceTotal": 800000,
        "dbSpaceUsed": 19011,
        },.....]

...

"growingSumLastWeekSpaceUsed": 2114,
        "growingSumLastMonthSpaceUsed": 9595,
        "growingPerDayLastWeekSpaceUsed": 302,
        "growingPerDayLastMonthSpaceUsed": 309.51612903225805,
        "growingDaysLastMonth": 31,
        "growingDaysLastWeek": 7,
        "dbSpaceRemaining": 780989,
        "dbSpaceRemainingPercentage": 97.6,
        "numberOfTeams": 101,
        "growingSumLastWeekTeams": 12,
        "growingSumLastMonthTeams": 68,
        "growingPerDayLastWeekTeams": 1.7142857142857142,
        "growingPerDayLastMonthTeams": 2.193548387096774,
        "numberOfProjects": 147,
        "growingSumLastWeekProjects": 26,
        "growingSumLastMonthProjects": 96,
        "growingPerDayLastWeekProjects": 3.7142857142857144,
        "growingPerDayLastMonthProjects": 3.096774193548387,
        "numberOfProjectsMin": 0,
        "numberOfProjectsMax": 26,
        "teamDbSpaceMin": 20,
        "teamDbSpaceMax": 4447,
        "popularity": 98.16266,
        "unitSpace": "MB"
    }
]

Anchor
getDBServer
getDBServer

Get

...

Get the particular database server details 
Deck of Cards
idbimGetAllLogbimGetDBServer
Card
labelHTTP Method
 GET
Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: administration/dbserverstatistics/<server_id>

URLhttps://api.bimplus.net/v2/logsadministration/<startDate>dbserverstatistics/<endDate><server_id>

Examplehttps://api.bimplus.net/v2/logsadministration/20130101/20130102

OR

https://api.bimplus.net/v2/logs/201301011200/201301011400dbserverstatistics/cccbcbd4-df39-4b5c-9d55-257d15b6f2f2

Card
labelDescription

 Retrieves the log information between the mentioned time interval. The time interval could be either date based(eg: between 01.01.2013,02.01.2013) or time based (between 01.01.2013 12:00, 01.01.2013 14:00)details of a particular database server.

 

Card
labelRequest
Code Block
borderColorGreen
titleHeaders
langxml
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Card
labelResponse
Code Block
borderColorGreen
titleStatus
langxml
Status: 200 OK
Green
titleStatus
langxml
Status: 200 OK
Code Block
borderColorRed
titleJSON
langxml
{
Code Block
borderColorRed
titleJSON
langxml
[
     {
        "id": 853539,
        "server": "K2177",
        "date": "2013-12-16T10:00:23",
        "requestidid": "653750b3cccbcbd4-a97edf39-451f4b5c-bd019d55-1a4671344087257d15b6f2f2",
        "threaddbServerName": "51",
        "level": "INFO",
        "logger": "PerformanceLog.ServiceLog",
        "message": "BEGIN Request (GET /v2/best-company/projects/679532b9-f7f7-41ce-817f-6e58225b32b1/disciplines)",
    k2222.ims-firmen.de",
    "exceptiondbServerStatus": "Active"
    },
    {
        "idusageStatisticsIsWorking": 853540true,
        "serverdbServerIsClosed": "K2177"false,
        "datedbSpaceTotal": "2013-12-16T10:00:23"800000,
        "requestiddbSpaceUsed": "653750b3-a97e-451f-bd01-1a4671344087"24603,
        "threadgrowingSumLastWeekSpaceUsed": "51"2717,
        "levelgrowingSumLastMonthSpaceUsed": "INFO",
     14853,
    "loggergrowingPerDayLastWeekSpaceUsed": "PerformanceLog388.UserLog"14285714285717,
        "messagegrowingPerDayLastMonthSpaceUsed": "User found byId: bestcustomer@bimplus.net"479.1290322580645,
        "exceptiongrowingDaysLastMonth": ""31,
    "growingDaysLastWeek": }7,
    {"dbSpaceRemaining": 775397,
        "iddbSpaceRemainingPercentage": 85354196.9,
        "servernumberOfTeams": "K2177"100,
        "dategrowingSumLastWeekTeams": "2013-12-16T10:00:23",
    "growingSumLastMonthTeams": 63,
    "requestidgrowingPerDayLastWeekTeams": "653750b3-a97e-451f-bd01-1a4671344087"1.7142857142857142,
    "growingPerDayLastMonthTeams": 2.032258064516129,
    "threadnumberOfProjects": "51"194,
    "growingSumLastWeekProjects": 30,
    "levelgrowingSumLastMonthProjects": "INFO"123,
    "growingPerDayLastWeekProjects": 4.285714285714286,
    "loggergrowingPerDayLastMonthProjects": "PerformanceLog3.ServiceLog"967741935483871,
    "numberOfProjectsMin": 0,
    "messagenumberOfProjectsMax": "END32,
 Request (GET /v2/best-company/projects/679532b9-f7f7-41ce-817f-6e58225b32b1/disciplines) with StatusCode 200; took 216 ms",
     "teamDbSpaceMin": 20,
    "teamDbSpaceMax": 3017,
    "popularity": 98.5742,
    "exceptionunitSpace": "MB",
    },.....]"adminLog": []
}