We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the admin-api api chapter ( https://apisix.apache.org/docs/apisix/admin-api/ ) all the examples for defining SSL, Upstream and Route use an {id}
In the Request methods it is indicated as {...}
In all examples this {id} is a numeric string
There is no explanation of the {id} syntax
Add the syntax rules for {id}:
If it is a string:
The text was updated successfully, but these errors were encountered:
Following is the schema for {id}:
https://github.com/shreemaan-abhishek/apisix/blob/6e4347840727c54dd6b79a60e53afc1204938242/apisix/schema_def.lua#L30-L38
local id_schema = { anyOf = { { type = "string", minLength = 1, maxLength = 64, pattern = [[^[a-zA-Z0-9-_.]+$]] }, {type = "integer", minimum = 1} } }
Sorry, something went wrong.
Fantastic! It is exactly what I needed!
Successfully merging a pull request may close this issue.
Current State
In the admin-api api chapter ( https://apisix.apache.org/docs/apisix/admin-api/ ) all the examples for defining SSL, Upstream and Route use an {id}
In the Request methods it is indicated as {...}
In all examples this {id} is a numeric string
There is no explanation of the {id} syntax
Desired State
Add the syntax rules for {id}:
If it is a string:
The text was updated successfully, but these errors were encountered: