mamund / Building-Hypermedia-APIs

Source code for the O'Reilly book of the same name
http://amundsen.com/hypermedia/
77 stars 37 forks source link

There are no links to create a user from the user or users page #6

Open jcteague opened 12 years ago

jcteague commented 12 years ago

There are not references to the register page from the user.ejs or the users.ejs files. Shouldn't there be a link or something so consumers would know how to create new users?

In the json example, this was included on the collection resource. Would it be the same here?

jcteague commented 12 years ago

Ok, I see it now, in the the layout page. So you include the links to all forms for all pages?

mamund commented 12 years ago

well, the actual design of each representation is up in the air, really. IOW, there is no "rule" about where links should appear.

The example in the book definitely does not include all possible links, tho.