api/db/<dbname>/classes
ResourceThe
api/db/<dbname>/classes
resource shows the list of database classes.For an overview see page eXtremeDB Web Service Resources
With the REST server started (listening on port 8083), the following http request will return a list of the available classes:
http://localhost:8083/api/db/perfmondb/classesThe
classes
array displays thestruct_no, name
andclass_code
for each class in the database in the following format:{ "classes": [ { "struct_no": 0, "name": "Node", "class_code": 1 }, { "struct_no": 1, "name": "eXDBDatabase", "class_code": 2 }, { "struct_no": 2, "name": "PerfCounter", "class_code": 3 }, { "struct_no": 3, "name": "PerfReading", "class_code": 4 }, { "struct_no": 4, "name": "PerfTimingReading", "class_code": 5 } ] }(Note that, in this example, "
perfmondb
" indicates that the eXtremeDB Performance Monitor has been enabled. See thepage for further details.)
perf
Resource