<feed xmlns='http://www.w3.org/2005/Atom'>
<title>awwan/testdata/http_server/execute/cancel.aww, branch dev</title>
<subtitle>Configuration management software, scriptable shell with SSH support.</subtitle>
<id>http://git.kilabit.info/awwan/atom?h=dev</id>
<link rel='self' href='http://git.kilabit.info/awwan/atom?h=dev'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/awwan/'/>
<updated>2023-12-21T20:08:04Z</updated>
<entry>
<title>all: implement HTTP API to stop local or play execution</title>
<updated>2023-12-21T20:08:04Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-12-21T19:57:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/awwan/commit/?id=aa64efe9e8957da6c122f9decaaa78dca83d14ee'/>
<id>urn:sha1:aa64efe9e8957da6c122f9decaaa78dca83d14ee</id>
<content type='text'>
The HTTP API for stopping execution have the following signature,

	DELETE /awwan/api/execute?id=&lt;string&gt;

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
</content>
</entry>
</feed>
