2020-05-05 23:05:36 +00:00
|
|
|
#ifndef CORE_ENDPOINTS_API_V1_CONTROLLERS_H
|
|
|
|
#define CORE_ENDPOINTS_API_V1_CONTROLLERS_H
|
|
|
|
|
|
|
|
#include <router.h>
|
|
|
|
|
|
|
|
void
|
|
|
|
api_v1_controllers_discover_POST(struct mg_connection *c, endpoint_args_t *args, struct http_message *hm);
|
|
|
|
|
|
|
|
void
|
|
|
|
api_v1_controllers_GET(struct mg_connection *c, endpoint_args_t *args, struct http_message *hm);
|
|
|
|
|
2020-05-06 20:49:22 +00:00
|
|
|
void
|
|
|
|
api_v1_controllers_STR_GET(struct mg_connection *c, endpoint_args_t *args, struct http_message *hm);
|
|
|
|
|
|
|
|
void
|
|
|
|
api_v1_controllers_STR_PUT(struct mg_connection *c, endpoint_args_t *args, struct http_message *hm);
|
|
|
|
|
|
|
|
void
|
|
|
|
api_v1_controllers_STR_DELETE(struct mg_connection *c, endpoint_args_t *args, struct http_message *hm);
|
|
|
|
|
|
|
|
void
|
|
|
|
api_v1_controllers_STR_relays_GET(struct mg_connection *c, endpoint_args_t *args, struct http_message *hm);
|
|
|
|
|
|
|
|
void
|
|
|
|
api_v1_controllers_STR_relays_INT_GET(struct mg_connection *c, endpoint_args_t *args, struct http_message *hm);
|
|
|
|
|
|
|
|
void
|
|
|
|
api_v1_controllers_STR_relays_INT_PUT(struct mg_connection *c, endpoint_args_t *args, struct http_message *hm);
|
|
|
|
|
2020-05-05 23:05:36 +00:00
|
|
|
#endif /* CORE_ENDPOINTS_API_V1_CONTROLLERS_H */
|