Alternatives of using verbs and adjectives in RESTful URL
问题 I want to add actions to my REST API that would move 'resources' between different 'stores'. For instance, suppose my resources are normally accessed by the following URL: /resources /resources/{resourceId} Now suppose I want to 'deactivate' some resource, i.e. conceptually move it to another sub-folder. The most straightforward way to allow this would be as followed. 'Deactivate' the resource, i.e. cause it to be unavailable under /resources. Conceptually, it 'moves' the object to the '