/stashes (POST)

EXAMPLES

The following example demonstrates submitting an HTTP POST containing a JSON
document payload to the /stashes API, resulting in a 201 (Created) HTTP
response code and a payload containing a JSON Hash confirming the stash
path (i.e. the “key” where the stash can be accessed).

/stashes/:path (POST)

EXAMPLES

The following example demonstrates submitting an HTTP POST to the
/stashes/:path API with a :path called my/example/path, resulting in a
201 (Created) HTTP response code (i.e. HTTP/1.1 201 Created), and a
payload containing a JSON Hash confirming the stash path (i.e. the “key” where
the stash can be accessed).

/stashes/:path (DELETE)

EXAMPLES

The following example demonstrates submitting an HTTP DELETE to the
/stashes/:path API with a :path called my/example/path, resulting in a
204 (No Response) HTTP response code (i.e. HTTP/1.1 204 No Response).

About Sensu

The Sensu monitoring event pipeline empowers businesses to automate their monitoring workflows and gain deep visibility into their multi-cloud infrastructure, from Kubernetes to bare metal. Companies like Sony, Box.com, and Activision rely on Sensu to help deliver value faster, at scale.