You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/12/07 09:01:18 UTC

[GitHub] [apisix-dashboard] nic-chen commented on issue #973: docs: API document about `Manager-API`

nic-chen commented on issue #973:
URL: https://github.com/apache/apisix-dashboard/issues/973#issuecomment-739777982


   @membphis  
   Here is the list:
   
   |Method      |Request URI|Request Body|Description        |
   |---------|-------------------------|--|------|
   |GET      |/apisix/admin/routes?page=&page_size=&name=&uri=|NULL|Fetch route list|
   |GET      |/apisix/admin/routes/{id}|NULL|Fetch route|
   |PUT      |/apisix/admin/routes/{id}|{...}|Create route by ID|
   |POST     |/apisix/admin/routes     |{...}|Create route, and ID is generated by server|
   |DELETE   |/apisix/admin/routes/{id}|NULL|Remove route|
   |GET      |/apisix/admin/notexist/routes?name=&exclude=|NULL|Check route exists by name|
   |GET      |/apisix/admin/services?page=&page_size=&name=|NULL|Fetch service list|
   |GET      |/apisix/admin/services/{id}|NULL|Fetch service|
   |PUT      |/apisix/admin/services/{id}|{...}|Create service by ID|
   |POST     |/apisix/admin/services     |{...}|Create service, and ID is generated by server|
   |DELETE   |/apisix/admin/services/{id}|NULL|Remove service|
   |GET      |/apisix/admin/upstreams?page=&page_size=&name=|NULL|Fetch upstream list|
   |GET      |/apisix/admin/upstreams/{id}|NULL|Fetch upstream|
   |PUT      |/apisix/admin/upstreams/{id}|{...}|Create upstream by ID|
   |POST     |/apisix/admin/upstreams     |{...}|Create upstream, and ID is generated by server|
   |DELETE   |/apisix/admin/upstreams/{id}|NULL|Remove upstream|
   |GET      |/apisix/admin/ssl?page=&page_size=&sni=|NULL|Fetch SSL list|
   |GET      |/apisix/admin/ssl/{id}|NULL|Fetch SSL|
   |PUT      |/apisix/admin/ssl/{id}|{...}|Create SSL by ID|
   |POST     |/apisix/admin/ssl     |{...}|Create SSL, and ID is generated by server|
   |DELETE   |/apisix/admin/ssl/{id}|NULL|Remove SSL|
   |POST     |/apisix/admin/check_ssl_cert     |{"cert": "xx", "key":"xx"}|verify SSL cert and key|
   |POST     |/apisix/admin/check_ssl_exists     |["a.com", "b.com"]|check SSL exists or not by sni|
   |GET      |/apisix/admin/consumers?page=&page_size=&username=|NULL|Fetch consumer list|
   |GET      |/apisix/admin/consumers/{username}|NULL|Fetch consumer|
   |PUT      |/apisix/admin/consumers|{...}|Create consumer by username|
   |DELETE   |/apisix/admin/consumers/{username}|NULL|Remove consumer|
   |GET      |/apisix/admin/plugins|NULL|Fetch plugin list|
   |GET      |/apisix/admin/schema/plugins/{name}|NULL|Fetch Plugin schema|
   |POST   |/apisix/admin/user/login|{"username":"xx", "password":"xx"}|User login|
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org