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
|
2020-09-06 11:19:10 +00:00
|
|
|
api_v1_controllers_discover_PUT(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
2020-05-05 23:05:36 +00:00
|
|
|
|
|
|
|
void
|
2020-05-31 00:07:25 +00:00
|
|
|
api_v1_controllers_GET(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
2020-05-05 23:05:36 +00:00
|
|
|
|
2020-05-06 20:49:22 +00:00
|
|
|
void
|
2020-05-31 00:07:25 +00:00
|
|
|
api_v1_controllers_STR_GET(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
2020-05-06 20:49:22 +00:00
|
|
|
|
|
|
|
void
|
2020-05-31 00:07:25 +00:00
|
|
|
api_v1_controllers_STR_PUT(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
2020-05-06 20:49:22 +00:00
|
|
|
|
|
|
|
void
|
2020-05-31 00:07:25 +00:00
|
|
|
api_v1_controllers_STR_DELETE(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
2020-05-06 20:49:22 +00:00
|
|
|
|
|
|
|
void
|
2020-05-31 00:07:25 +00:00
|
|
|
api_v1_controllers_STR_relays_GET(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
2020-05-06 20:49:22 +00:00
|
|
|
|
|
|
|
void
|
2020-05-31 00:07:25 +00:00
|
|
|
api_v1_controllers_STR_relays_INT_GET(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
2020-05-06 20:49:22 +00:00
|
|
|
|
|
|
|
void
|
2020-05-31 00:07:25 +00:00
|
|
|
api_v1_controllers_STR_relays_INT_PUT(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
2020-05-06 20:49:22 +00:00
|
|
|
|
2020-06-27 16:31:36 +00:00
|
|
|
void
|
|
|
|
api_v1_controllers_STR_relays_INT_pulse_POST(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
|
|
|
|
2020-05-05 23:05:36 +00:00
|
|
|
#endif /* CORE_ENDPOINTS_API_V1_CONTROLLERS_H */
|