Files
scylladb/api/endpoint_snitch.hh
Amnon Heiman ff4da7fcdc Adding the endpoint_snitch API implementation
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>
2015-07-02 17:45:23 +03:00

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_ */