Enterprise only. Allows you to declare additional URLs other than the ones defined under the endpoints configuration, used as aliases of existing endpoints. See: https://www.krakend.io/docs/enterprise/endpoints/url-rewrite/
Get JSON SchemaBundleIdentifier | https://schemas.sourcemeta.com/krakend/v2.2/plugin/url-rewrite.json |
---|---|
Base Dialect | Draft7 |
Dialect | http://json-schema.org/draft-07/schema# |
Size | 0.001441 MB |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://schemas.sourcemeta.com/krakend/v2.2/plugin/url-rewrite.json",
"title": "URL rewrite",
"description": "Enterprise only. Allows you to declare additional URLs other than the ones defined under the endpoints configuration, used as aliases of existing endpoints.\n\nSee: https://www.krakend.io/docs/enterprise/endpoints/url-rewrite/",
"type": "object",
"anyOf": [
{
"required": [ "literal" ]
},
{
"required": [ "regexp" ]
}
],
"properties": {
"literal": {
"title": "Literal match",
"description": "A map with the exact desired url and its mapping to an endpoint. If the endpoint has `{placeholders}` you need to write them, but the literal value `{placeholders}` is passed.\n\nSee: https://www.krakend.io/docs/enterprise/endpoints/url-rewrite/",
"examples": [
{
...
See the full schema