add: models for controller and relay

add: first controller endpoints
This commit is contained in:
Tobias Reisinger 2020-05-06 01:05:36 +02:00
parent b5a8523ae0
commit 1171ef22be
11 changed files with 951 additions and 20 deletions
include/endpoints

View file

@ -0,0 +1,12 @@
#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);
#endif /* CORE_ENDPOINTS_API_V1_CONTROLLERS_H */