buildURL (modelName, id, snapshot, requestType, query) String
Defined in addon/-private/adapters/build-url-mixin.js:33
Builds a URL for a given type and optional ID. By default, it pluralizes the type's name (for example, 'post' becomes 'posts' and 'person' becomes 'people'). To override the pluralization see pathForType. If an ID is specified, it adds the ID to the path generated for the type, separated by a /. When called by RESTAdapter.findMany() the id and snapshot parameters will be ar