News for hackers. Stuff that matters.
Re:ShowHN: dweet.io – Twitter for machines by terabytest on Friday February 07, 2014 @05:13PM (#7199122)
I kind of like the HAPI concept but it feels strangely redundant. Especially in the responses, where almost half of the k/v pairs are just for "decoration" purposes. I concede that it does make things a slight bit easier to read, but are you guys sure it isn't bordering on redundancy for the sake of redundancy?

Very nice idea, by the way! Congrats!

Re:ShowHN: dweet.io – Twitter for machines by jheising on Friday February 07, 2014 @07:00PM (#7199620)
It might seem like it, but it's actually not that different from a lot of REST APIs I know of. Most REST APIs return a status (in our case "this":"succeeded"), and some sort of wrapper for the actual data (in our case "with":{}). The only thing that might be redundant is the "by" property, but I think it's useful to have in cases where you want to make doubly sure that the API did what you thought it was going to do.