I have a resource (project
) which can be activated and deactivated.
What\'s the most RESTful URL endpoint for this purpose?
Right now I\'m thinking abou
The most conventional way to do this is via POST to /projects/:id, with parameters indicating whether you want to activate or deactivate or something else (always leave room for something else).
note that RESTful URLs should refer to things (like projects), not actions. Then the common methods have clear meanings: