Custom actions in your REST API

An updated article on this topic (with a different recommendation) is provided here, as part of my series of articles on RESTful API design.

While working on a REST API for Humanitarian ID, I came across a tricky (and therefore interesting) use case for a REST API: custom actions.

What are custom actions ?