The api/db/<dbname>/structs Resource

The api/db/<dbname>/structs resource shows the list of database structs.

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 structs:

 
    http://localhost:8083/api/db/xsqldb/structs
            
     

The structs array displays the struct_no and name for each struct in the database in the same format as the api/db/<dbname>/classes resource:

 
    {
        "structs":

        [
            {
                "struct_no": 0,
                "name": "B"
            }
        ]

    }