aboutsummaryrefslogtreecommitdiff
path: root/_example
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-12-22 02:57:21 +0700
committerShulhan <ms@kilabit.info>2023-12-22 03:08:04 +0700
commitaa64efe9e8957da6c122f9decaaa78dca83d14ee (patch)
treea6b60b025b369c21d9d4e4efce957c313be38c69 /_example
parentc0d336ca456093b2b7c0b585dbe08f62cbc8ca83 (diff)
downloadawwan-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