Actions REST

Categories

Component ID

740178

Component name

Actions REST

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1663

Component created

Component changed

Component body

Actions REST enables actions to be called on the URL, using a parameter encoding scheme of the form:

node/%nid/action/%action_callback?param1=value1&param2=value2&...

You can substitute node for other entity types (user, comment, etc.) If the parameters for a configurable action are not found on the URL, the action form is shown.

The risk of CSRF is reduced by using drupal_get_token() to sign action links. The action link implementation checks for a valid token before proceeding with the execution.