26#ifndef MYSQLROUTER_REST_CLUSTERS_LISTS_INCLUDED
27#define MYSQLROUTER_REST_CLUSTERS_LISTS_INCLUDED
33 static constexpr const char path_regex[] =
"^/clusters/?$";
39 const std::vector<std::string> &path_matches)
override;
handler for REST API calls.
Definition: rest_api_component.h:74
Definition: rest_clusters_list.h:31
RestClustersList(const std::string &require_realm)
Definition: rest_clusters_list.h:35
static constexpr const char path_regex[]
Definition: rest_clusters_list.h:33
bool on_handle_request(http::base::Request &req, const std::string &base_path, const std::vector< std::string > &path_matches) override
Definition: rest_clusters_list.cc:38
constexpr pos_type Get
Definition: method.h:43