Files
RootPanel/plugin/nginx/API.md
2014-06-29 12:23:54 +08:00

355 B

Nginx Plugin API

POST /plugin/nginx/update_site/

Request:

{
    "action": "create/update/delete",
    // only when update and delete
    "id": "525284cc2cebb6d0008b4567",
    "type": "guide/json/nginx",
    "config": <Object>
}

No Response.

Exception:

  • not_in_service
  • invalid_action
  • invalid_type
  • forbidden