# Best way to load belongsTo from owner when ID not present

**URL:** <https://discuss.emberjs.com/t/best-way-to-load-belongsto-from-owner-when-id-not-present/13008>\
**Category:** Ember Data\
**Created:** [May 20, 2017, 11:53pm UTC](https://discuss.emberjs.com/t/best-way-to-load-belongsto-from-owner-when-id-not-present/13008 "2017-05-20T23:53:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gattra](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/gattra/32/12352_2.png) [@gattra](https://discuss.emberjs.com/u/gattra)\
**Post date:** [May 20, 2017, 11:53pm UTC](https://discuss.emberjs.com/t/best-way-to-load-belongsto-from-owner-when-id-not-present/13008/1 "2017-05-20T23:53:56Z")

</div>

I am trying to load a model, `likedList` from the owner of that model, `user`. In other words, `likedList` belongs to `user`. The only problem is, the user model doesn’t have the id of the `likedList`, instead `likedList` has the `user_id`.

What is the best way to load this from the server? A custom endpoint that finds it based on the `user_id`?

---

<div class="post-metadata">

**Author:** ![skaterdav85](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/skaterdav85/32/18291_2.png) [@skaterdav85](https://discuss.emberjs.com/u/skaterdav85)\
**Post date:** [May 21, 2017, 6:18pm UTC](https://discuss.emberjs.com/t/best-way-to-load-belongsto-from-owner-when-id-not-present/13008/2 "2017-05-21T18:18:31Z")

</div>

What’s the endpoint to get a `likedList`?
