Expand description
Apisix Client Library
Provides a REST models for service consumers of Apisix.
Maintained by Trust1Team for Apisix
Modules§
Functions§
- admin_
check - Check if the Admin API is up and running
- admin_
create_ consumer_ group_ with_ id - Creates or updates a new Consumer group with the specified id
- admin_
create_ consumer_ with_ name - Create new Consumer
- admin_
create_ route_ with_ id - Creates or updates a Route with the specified id
- admin_
create_ service_ with_ id - Creates or updates a Service with the specified id
- admin_
create_ upstream_ with_ id - Creates or updates a Route with the specified id
- admin_
delete_ consumer - Removes the Consumer with the specified username
- admin_
delete_ consumer_ group - Removes the Consumer group with the specified id
- admin_
delete_ route - Removes the Route with the specified id
- admin_
delete_ service - Removes the Service with the specified id
- admin_
delete_ upstream - Removes the Upstream with the specified id
- admin_
get_ consumer - Fetches specified Consumer by username
- admin_
get_ consumer_ group - Fetches specified Consumer group by id
- admin_
get_ consumer_ groups - Fetches a list of all configured Consumer Groups
- admin_
get_ consumers - Fetches a list of all Consumers
- admin_
get_ route - Fetches specified Route by id
- admin_
get_ routes - Fetches a list of all configured Routes
- admin_
get_ service - Fetches specified Service by id
- admin_
get_ services - Fetches a list of available Services
- admin_
get_ upstream - Fetches specified Upstream by id
- admin_
get_ upstreams - Fetch a list of all configured Upstreams
- ctrl_
garbage_ collect - Triggers a full garbage collection in the HTTP subsystem. Note: When stream proxy is enabled, APISIX runs another Lua VM for the stream subsystem. Full garbage collection is not triggered in this VM.
- ctrl_
health_ check - Returns a health check of the APISIX instance
- ctrl_
schema - Returns the JSON schema used by the APISIX instance (untyped JSON)
- get_
config_ default - Get configuration based on the Apisix development environment variables Function is used during development, and in combination with a Smart ID demo client application
- get_
config_ from_ env - Get configuration based on the environment variables (default config override) Function will panic when the environment variables are not set The following variables must be set: