Groups
Sign in
Groups
Hypermedia Web
Conversations
About
Send feedback
Help
Media Type for errors?
20 views
Skip to first unread message
James Nail
unread,
Mar 16, 2016, 4:14:35 PM
3/16/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Hypermedia Web
Has anyone here used a specific media type to return API errors?
If so, which one(s)?
Which would you recommend?
I know about Mark Nottingham's
application/problem+json
type, but I figured I'd try to get some opinions before just going with that one by default.
Thanks,
James
Martynas Jusevičius
unread,
Mar 16, 2016, 4:23:41 PM
3/16/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hyperme...@googlegroups.com
Hey James,
I have used a specific RDF vocabulary:
https://www.w3.org/TR/HTTP-in-RDF10/
Martynas
graphityhq.com
> --
> You received this message because you are subscribed to the Google Groups
> "Hypermedia Web" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
hypermedia-we...@googlegroups.com
.
> To post to this group, send email to
hyperme...@googlegroups.com
.
> Visit this group at
https://groups.google.com/group/hypermedia-web
.
> For more options, visit
https://groups.google.com/d/optout
.
Joost Cassee
unread,
Mar 16, 2016, 4:35:12 PM
3/16/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hyperme...@googlegroups.com
I have been using vnd.error [1], which works well in combination with HAL.
[1]
https://github.com/blongden/vnd.error
Best,
Joost
--
Joost Cassee
+31 (0)6 14585693
https://jcassee.com
Erlend Hamnaberg
unread,
Mar 17, 2016, 3:56:41 AM
3/17/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hyperme...@googlegroups.com
I have used problem+json with great success.
/E
On Wed, Mar 16, 2016 at 9:14 PM, James Nail
<
jrna...@gmail.com
>
wrote:
--
Reply all
Reply to author
Forward
0 new messages