[API-50] Magically relate resources

https://gointegro.atlassian.net/browse/API-51