diff options
| author | Shulhan <ms@kilabit.info> | 2023-12-22 02:57:21 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-12-22 03:08:04 +0700 |
| commit | aa64efe9e8957da6c122f9decaaa78dca83d14ee (patch) | |
| tree | a6b60b025b369c21d9d4e4efce957c313be38c69 /_example | |
| parent | c0d336ca456093b2b7c0b585dbe08f62cbc8ca83 (diff) | |
| download | awwan-aa64efe9e8957da6c122f9decaaa78dca83d14ee.tar.xz | |
all: implement HTTP API to stop local or play execution
The HTTP API for stopping execution have the following signature,
DELETE /awwan/api/execute?id=<string>
If the ID is exist, the execution will be cancelled and return HTTP
status 200 with the following body,
Content-Type: application/json
{
"code": 200,
}
Otherwise it will return HTTP status 404 with error message.
References: https://todo.sr.ht/~shulhan/awwan/9
Diffstat (limited to '_example')
0 files changed, 0 insertions, 0 deletions
