You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -185,7 +185,17 @@ This server exposes the following REST API's:
185
185
-**[WIP] POST `/config`**
186
186
187
187
Allows you to edit the ElastAlert configuration from `config.yaml` in `elastalertPath` (from the config). The required body to be send will be edited when the work on this API is done.
188
-
188
+
189
+
-**[WIP] POST `/download`**
190
+
191
+
Allows you to download .tar archive with rules from HTTP endpoint. Archive will be downloaded,extracted and removed.
192
+
Please note, body should contain URL pointing to tar archive, with tar extension.
193
+
194
+
Usage example:
195
+
196
+
```curl -X POST localhost:3030/download -d "url=https://artifactory.com:443/artifactory/raw/rules/rules.tar"```
197
+
198
+
189
199
## Contributing
190
200
Want to contribute to this project? Great! Please read our [contributing guidelines](CONTRIBUTING.md) before submitting an issue or a pull request.
0 commit comments