Search code examples
web2pyweb2py-modules

Web2PY status of hypermedia for generating REST API for database tables


We are creating REST API for tables in my database. We are using Web2PY for the same. Found this old link which says we can use hypermedia. However, I see that last year the example was removed from the default.py(controller). Would like to understand what is the status? Is it still experimental as mentioned in the mail?

Any other suggestions to approach the above problem will be helpful.


Solution

  • The hypermedia module is still in gluon.contrib, but I don't think it has received much further development attention. Feel free to use it, though.

    Another effort that might be of interest is APIMaker.

    Finally, there is the DAL's parse_as_rest and smart_query functionality (the latter is used to provide the advanced search functionality of SQLFORM.grid). These are still marked as "experimental" but are fairly stable and will likely continue to be supported.