State of urls?

48 views
Skip to first unread message

Carles Jove i Buxeda

unread,
Dec 31, 2014, 6:54:33 AM12/31/14
to rails-a...@googlegroups.com
Hello,

I'm writing an adapter for Collection+JSON, and I've already done the attributes part. Now I'd like to go with URLs, that in CJ translate to absolute paths to either self or the collection (i.e http://example.com/posts/1). A simplified sample would look like:

"collection": {
  "href": "http://example.com/posts",
  "items": [{
    "href": "http://example.com/posts/1",
    "data": []
  }]
}


I hoped there'd be some adapter using URLs already, as an example, but this doesn't seem to be the case, right?

At the moment, I'm checking the usage of `url` against the `serializer.class`, but I guess it's because `url` hasn't been fully implemented yet.

I'd like to know what's the current state of `url`, if there is any work being done on this and, if help is needed, how could I help.

Cheers,

carles
Reply all
Reply to author
Forward
0 new messages