Skip to content

Commit f782783

Browse files
author
Marta Medio
committed
Add docs with output of gateway actuator endpoint
1 parent 63fc79c commit f782783

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

docs/src/main/asciidoc/spring-cloud-gateway.adoc

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2787,6 +2787,50 @@ management.endpoints.web.exposure.include=gateway
27872787
----
27882788
====
27892789

2790+
This endpoint provides an overview of what is available on the child actuator endpoint and the available methods for each reference. The resulting response is similar to the following:
2791+
2792+
[source,json]
2793+
----
2794+
[
2795+
{
2796+
"href":"/actuator/gateway/",
2797+
"methods":[ "GET" ]
2798+
},
2799+
{
2800+
"href":"/actuator/gateway/routedefinitions",
2801+
"methods":[ "GET" ]
2802+
},
2803+
{
2804+
"href":"/actuator/gateway/globalfilters",
2805+
"methods":[ "GET" ]
2806+
},
2807+
{
2808+
"href":"/actuator/gateway/routefilters",
2809+
"methods":[ "GET" ]
2810+
},
2811+
{
2812+
"href":"/actuator/gateway/routes",
2813+
"methods":[ "POST", "GET" ]
2814+
},
2815+
{
2816+
"href":"/actuator/gateway/routepredicates",
2817+
"methods":[ "GET" ]
2818+
},
2819+
{
2820+
"href":"/actuator/gateway/refresh",
2821+
"methods":[ "POST" ]
2822+
},
2823+
{
2824+
"href":"/actuator/gateway/routes/route-id-1/combinedfilters",
2825+
"methods":[ "GET" ]
2826+
},
2827+
{
2828+
"href":"/actuator/gateway/routes/route-id-1",
2829+
"methods":[ "POST", "DELETE", "GET" ]
2830+
}
2831+
]
2832+
----
2833+
27902834
=== Verbose Actuator Format
27912835

27922836
A new, more verbose format has been added to Spring Cloud Gateway.

0 commit comments

Comments
 (0)