Link

Action Profile

Profile: <http://level3.rest/profiles/action>

An Action resource is a hypermedia control that triggers a state change. They act like buttons to execute an action on the server. Actions do not accept a payload; the URL contains all the Action’s identifying information.

Discovery

The Action profile presents the required Profile and Allow headers.

Trigger Action

Clients trigger an Action by POSTing to it. The resource responds with 303 See Other and the Location header points to the state that was changed by the triggered action. The resource returns a 403 Forbidden status if the action cannot be completed because the business state will not accept it.

Mixins

Representation Mixin

The Representation profile mixin enables the client to receive the target representation in the Action response.

Specifications

HTTP/1.1 Semantics and Content: RFC 7231


Copyright © 2019 Matt Bishop
Creative Commons Licence
This work is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International License.