Spring Framework Routes API
The Routes API from Spring Framework — 3 operation(s) for routes.
The Routes API from Spring Framework — 3 operation(s) for routes.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/spring-routes-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Spring Cloud Gateway Actuator Routes API
description: Actuator endpoints exposed by Spring Cloud Gateway for managing routes, global filters, and route filters at runtime. These endpoints are available under the /actuator/gateway path.
version: 4.1.0
contact:
name: Spring Cloud Team
url: https://spring.io/projects/spring-cloud-gateway
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: http://localhost:8080/actuator/gateway
description: Default Gateway Actuator base path
tags:
- name: Routes
paths:
/routes:
get:
operationId: getRoutes
summary: Spring Cloud List all gateway routes
description: Returns all route definitions including predicates, filters, URI, order, and metadata
tags:
- Routes
responses:
'200':
description: List of route definitions
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/RouteDefinition'
post:
operationId: createRoute
summary: Spring Cloud Create a new route definition
tags:
- Routes
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RouteDefinition'
responses:
'201':
description: Route created
'400':
description: Invalid route definition
/routes/{id}:
get:
operationId: getRoute
summary: Spring Cloud Get a specific route definition
tags:
- Routes
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Route definition
content:
application/json:
schema:
$ref: '#/components/schemas/RouteDefinition'
'404':
description: Route not found
put:
operationId: updateRoute
summary: Spring Cloud Update a route definition
tags:
- Routes
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RouteDefinition'
responses:
'200':
description: Route updated
delete:
operationId: deleteRoute
summary: Spring Cloud Delete a route definition
tags:
- Routes
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Route deleted
'404':
description: Route not found
/refresh:
post:
operationId: refreshRoutes
summary: Spring Cloud Refresh the routes cache
description: Forces a refresh of the route definitions
tags:
- Routes
responses:
'200':
description: Routes refreshed
components:
schemas:
RouteDefinition:
type: object
properties:
id:
type: string
description: Unique route identifier
uri:
type: string
description: Destination URI
predicates:
type: array
items:
$ref: '#/components/schemas/PredicateDefinition'
filters:
type: array
items:
$ref: '#/components/schemas/FilterDefinition'
order:
type: integer
description: Route priority
metadata:
type: object
additionalProperties: true
required:
- id
- uri
- predicates
PredicateDefinition:
type: object
properties:
name:
type: string
description: Predicate factory name
args:
type: object
additionalProperties:
type: string
description: Predicate arguments
FilterDefinition:
type: object
properties:
name:
type: string
description: Filter factory name
args:
type: object
additionalProperties:
type: string
description: Filter arguments