Dynamic segment in Ember Data adapter url

Is it possible to have a dynamic segment in the url of an adapter? I don’t have control over the api.

Basically I have a Post and Comments model, but there is no information about the comments in the post, and no information about the post in the comments. So a hasMany relationship can’t be established which would solve this.

I need to do a request to api/posts/<post_id>/comments but can’t figure out how I can do this with Ember Data