rdm interface
The rdm interface is a read-write interface that utilizes the HTTP GET, PUT, POST, and DELETE methods to create, retrieve, update, and delete data in a specific RaimaDB database. The following operations are supported by the rdm interface
- Retrieve a list of the tables in a database
- Retrieve a list of the columns for a table in a database
- Retrieve a list of the keys for a table in a database
- Retrieve a list of the reference for a table in a database
- Retrieve a list of rows in a table ordered by rowid
- Retrieve a list of rows in a table ordered by a specified key
- Insert a new row into a table
- Update a row in a table
- Delete a row in a table
The rdm interface can be accessed using the following URI syntax:
Database Actions
http://hostname:port/rdm/dbname/?list=request[options]
Table Actions
http://hostname:port/rdm/dbname/tablename/?list=request[options]
| hostname | The IP address or host name of the TFS server |
| port | The port the server is listening on |
| dbname | Name of the database on the TFS to use (this name is may be case-sensitive) |
| tablename | Name of the table in the dbname database |
| request | The type of data to be retrieved |
| [options] | Some request types have additional options that can be specified |
The supported list request types are:
| tables | List tables in dbname database |
| info | List dbname database info (disk usage, etc.) |
| rows | List row content of tablename in the dbname database |