Posted by brynbellomy on April 4, 2011 at 11:52pm
Data Services allows administrators to very quickly and easily expose any table in the current database as a Service. Tables can be queried for information via a simple syntax.
To list all data:/my-endpoint/my_db_table.json
To search for data by the table's primary key:/my-endpoint/my_db_table/38.json
To search for data using explicit field values:/my-endpoint/my_db_table/field1:39,field2:something,field3:778899.json
Co-maintainers wanted!
To expose tables, simply implement hook_data_services_tables() in a module:
/**
* Implementation of hook_data_services_tables().
*/
function my_helper_module_data_services_tables() {
return array('some_table', 'some_other_table', 'another_table');
}Downloads
Project Information
- Maintenance status: Seeking co-maintainer(s)
- Development status: Under active development
- Module categories: Content, Content Display, RDF, Syndication
- Reported installs: 1 site currently reports using this module. View usage statistics.
- Downloads: 57
- Last modified: April 5, 2011