Closed johanneswuerbach closed 9 years ago
@johanneswuerbach , did you end up getting clarity on this?
Okay, so it looks like the jsonapi spec recommends dasherized URLs, meaning this adapter isn't conforming to that:
It is also recommended that resource types be pluralized. Dasherized and pluralized resource types can be used as URL segments without translation
Source: http://jsonapi.org/recommendations/#naming
I can work on a pull request if @kurko agrees this should happen.
:+1:
@jamonholmgren No need for that, work is being done the pull request for RC3 compliance to dashterize all the things. See https://github.com/eneuhauser/ember-json-api/issues/8.
Oh, nice. Thanks @jonkoops !
Closing this issue because @eneuhauser's work on this has been merged.
I couldn't find any hint in http://jsonapi.org/, but how should URLs for models like
PlaceRequest
look like?api/place_requests
(ED uses this today) orapi/place-requests
(Everything is hyphenated in ember-cli)//cc @stefanpenner