add: models for controller and relay
add: first controller endpoints
This commit is contained in:
		
							parent
							
								
									b5a8523ae0
								
							
						
					
					
						commit
						1171ef22be
					
				
					 11 changed files with 951 additions and 20 deletions
				
			
		
							
								
								
									
										12
									
								
								include/endpoints/api_v1_controllers.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								include/endpoints/api_v1_controllers.h
									
										
									
									
									
										Normal 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 */
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue