api/db/<dbname>/structs/<struct_no> ResourceThe
api/db/<dbname>/structs/<struct_no>resource returns the schema of the specifiedstruct.For an overview see page eXtremeDB Web Service Resources
With the REST server started (listening on port 8083), the following http request will display the schema for the specified
struct:GET http://localhost:8083/api/db/xsqldb/structs/0The response displays the schema for the specified
structin the following format:{ "schema": { "struct_no": 0, "name": "B", "fields" [ { "field_no": 0, "name": "i1", "type": 4, "type_s": "MCO_DD_INT1", }, { "field_no": 1, "name": "i2", "type": 4, "type_s": "MCO_DD_INT2", }, { "field_no": 2, "name": "i4", "type": 6, "type_s": "MCO_DD_INT4", }, { "field_no": 3, "name": "f", "type": 8, "type_s": "MCO_DD_FLOAT", }, { "field_no": 4, "name": "c10", "type": 13, "type_s": "MCO_DD_CHAR", } ] } }