REST Module API

The REST add-on module has only one API function to publish, in the global resources list, REST resources created by the application.

This function can only be called after the HTTP server initialization and before the HTTP server start. Also, the HTTPsREST_Init() hook function must be bound to the HTTP server or to the Control layer prior the initialization. Otherwise, the REST memory pools won't be initialized and the resource lists cannot be created.

For each REST resources, a set of hook functions will also need to be defined. For more information please refer to section REST module.