Skip to content

Commit

Permalink
doc: add new query param
Browse files Browse the repository at this point in the history
Signed-off-by: He Xian <[email protected]>
  • Loading branch information
hexian000 committed Oct 6, 2024
1 parent e0165cf commit 246449f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Load the posted script and use it as follows:
3. If the field `_G.name` refers to the named module, it will be updated too.

- **Path**: `/ruleset/update`
- **Query**: `?module=name` (optional)
- **Query**: `?module=name&chunkname=name.lua` (optional)
- **Method**: POST
- **Content**: Lua ruleset script or Lua module script
- **Status**: HTTP 200, HTTP 500
Expand Down

0 comments on commit 246449f

Please sign in to comment.