Let's say I have an app and in that app I need to view and edit "documents". I was thinking of this URL design.
To pull up the default view of document with the ID "x123":
To edit the same document:
Delete
This is more from my thinking about a document as an object in an OO point of view (e.g. "object.Action()"). Is this a bad thing? Will I run into trouble? i.e. would it be better to have #s 2 and 3 as the following?
1.
http://domain/app/edit/document-x123
2.
http://domain/app/delete/document-x123