Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add self and avatar link to the generated Json #164

Closed
ulfa opened this issue Mar 14, 2015 · 3 comments
Closed

add self and avatar link to the generated Json #164

ulfa opened this issue Mar 14, 2015 · 3 comments

Comments

@ulfa
Copy link
Member

ulfa commented Mar 14, 2015

The actual Json doesn't contain the self link and the avatar link.

{
"author" : "timo",
"time" : "2015-03-13T23:47:07.205+01:00",
"id" : 2975,
"can-delete?" : false,
"text" : "Alter Trick für Maven (2010): Lokale in-project repositories wenn man doch mal ein Artefakt einchecken muss: http://bit.ly/1MzgWmr"
},

Please, insert avatar link and a self link like the following.

"avatar" : "URI"
"self" : "URI"

@aheusingfeld
Copy link
Contributor

This is related to #144. Actually you're missing more than just the two links mentioned above as you don't have

  • a link to the "submit" url (including the "method")
  • a link to the "reply" url (including the "method")
  • a link to the "delete" url (including the "method")
  • a link to the "next reply" url
  • a link to the "previous reply" url
  • links for pagination (see Improve Hypermedia-Support #144)

@stilkov
Copy link
Contributor

stilkov commented Mar 14, 2015

Or you could just use the HTML.

@aheusingfeld
Copy link
Contributor

👍 or the atom feed but that doesn't contain all the links either

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants