This adds the implementation for the API endpoint_snitch After this patch the API doc can be found at: /api-doc/endpoint_snitch_info/ The following url are available: /snitch/datacenter /snitch/rack The get name is stubed /snitch/name Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
17 lines
241 B
C++
17 lines
241 B
C++
/*
|
|
* Copyright 2015 Cloudius Systems
|
|
*/
|
|
|
|
#ifndef API_ENDPOINT_SNITCH_HH_
|
|
#define API_ENDPOINT_SNITCH_HH_
|
|
|
|
#include "api.hh"
|
|
|
|
namespace api {
|
|
|
|
void set_endpoint_snitch(http_context& ctx, routes& r);
|
|
|
|
}
|
|
|
|
#endif /* API_ENDPOINT_SNITCH_HH_ */
|