commit
ab0b5cca78
|
@ -213,7 +213,7 @@ api_list() ->
|
||||||
<<"api/v2/nodes/{node_name}/clients">>,
|
<<"api/v2/nodes/{node_name}/clients">>,
|
||||||
<<"api/v2/nodes/{node_name}/clients/{clientid}">>,
|
<<"api/v2/nodes/{node_name}/clients/{clientid}">>,
|
||||||
<<"api/v2/clients/{clientid}">>,
|
<<"api/v2/clients/{clientid}">>,
|
||||||
<<"api/v2/kick_client/{clientid}">>,
|
<<"api/v2/clean_acl_cache/{clientid}">>,
|
||||||
<<"api/v2/nodes/{node_name}/sessions">>,
|
<<"api/v2/nodes/{node_name}/sessions">>,
|
||||||
<<"api/v2/nodes/{node_name}/sessions/{clientid}">>,
|
<<"api/v2/nodes/{node_name}/sessions/{clientid}">>,
|
||||||
<<"api/v2/sessions/{clientid}">>,
|
<<"api/v2/sessions/{clientid}">>,
|
||||||
|
@ -226,4 +226,6 @@ api_list() ->
|
||||||
<<"api/v2/mqtt/subscribe">>,
|
<<"api/v2/mqtt/subscribe">>,
|
||||||
<<"api/v2/mqtt/unsubscribe">>,
|
<<"api/v2/mqtt/unsubscribe">>,
|
||||||
<<"api/v2/nodes/{node_name}/plugins">>,
|
<<"api/v2/nodes/{node_name}/plugins">>,
|
||||||
<<"api/v2/nodes/{node_name}/plugins/{plugin_name}">>]}].
|
<<"api/v2/nodes/{node_name}/plugins/{plugin_name}">>,
|
||||||
|
<<"api/v2/configs/{app}">>,
|
||||||
|
<<"api/v2/nodes/{node_name}/configs/{app}">>]}].
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
-http_api({"^nodes/(.+?)/clients/(.+?)/?$", 'GET',client_list, []}).
|
-http_api({"^nodes/(.+?)/clients/(.+?)/?$", 'GET',client_list, []}).
|
||||||
-http_api({"^clients/(.+?)/?$", 'GET', client, []}).
|
-http_api({"^clients/(.+?)/?$", 'GET', client, []}).
|
||||||
-http_api({"^clients/(.+?)/?$", 'DELETE', kick_client, []}).
|
-http_api({"^clients/(.+?)/?$", 'DELETE', kick_client, []}).
|
||||||
-http_api({"^clean_acl_cache/(.+?)/?$", 'PUT', clean_acl_cache, [{<<"topic">>, binary}]}).
|
-http_api({"^clean_acl_cache/(.+?)/?$", 'DELETE', clean_acl_cache, [{<<"topic">>, binary}]}).
|
||||||
|
|
||||||
-http_api({"^routes?$", 'GET', route_list, []}).
|
-http_api({"^routes?$", 'GET', route_list, []}).
|
||||||
-http_api({"^routes/(.+?)/?$", 'GET', route, []}).
|
-http_api({"^routes/(.+?)/?$", 'GET', route, []}).
|
||||||
|
|
Loading…
Reference in New Issue