{"action":"created","issue":{"url":"https://api.github.com/repos/neomerx/json-api/issues/32","labels_url":"https://api.github.com/repos/neomerx/json-api/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/neomerx/json-api/issues/32/comments","events_url":"https://api.github.com/repos/neomerx/json-api/issues/32/events","html_url":"https://github.com/neomerx/json-api/issues/32","id":90798224,"number":32,"title":"Relationship without a data object, but only with links. Is this possible?","user":{"login":"steffenbrem","id":1569156,"avatar_url":"https://avatars.githubusercontent.com/u/1569156?v=3","gravatar_id":"","url":"https://api.github.com/users/steffenbrem","html_url":"https://github.com/steffenbrem","followers_url":"https://api.github.com/users/steffenbrem/followers","following_url":"https://api.github.com/users/steffenbrem/following{/other_user}","gists_url":"https://api.github.com/users/steffenbrem/gists{/gist_id}","starred_url":"https://api.github.com/users/steffenbrem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steffenbrem/subscriptions","organizations_url":"https://api.github.com/users/steffenbrem/orgs","repos_url":"https://api.github.com/users/steffenbrem/repos","events_url":"https://api.github.com/users/steffenbrem/events{/privacy}","received_events_url":"https://api.github.com/users/steffenbrem/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neomerx/json-api/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-24T22:48:30Z","updated_at":"2015-06-25T15:27:42Z","closed_at":null,"body":"Hi,\r\n\r\nI am trying to have a relationship that does not include the data object and only use the links. This way my API can async load them later.\r\n\r\nThis is what I tried, but my relationship does not have any value, just `null`:\r\n\r\n```php\r\npublic function getRelationships($product)\r\n{\r\n    return [\r\n        'translations' => [\r\n            self::SHOW_SELF => true,\r\n            self::SHOW_RELATED => true\r\n        ];\r\n}\r\n```\r\n\r\nIs this possible and how would I accomplish this?"},"comment":{"url":"https://api.github.com/repos/neomerx/json-api/issues/comments/115293301","html_url":"https://github.com/neomerx/json-api/issues/32#issuecomment-115293301","issue_url":"https://api.github.com/repos/neomerx/json-api/issues/32","id":115293301,"user":{"login":"neomerx","id":10420662,"avatar_url":"https://avatars.githubusercontent.com/u/10420662?v=3","gravatar_id":"","url":"https://api.github.com/users/neomerx","html_url":"https://github.com/neomerx","followers_url":"https://api.github.com/users/neomerx/followers","following_url":"https://api.github.com/users/neomerx/following{/other_user}","gists_url":"https://api.github.com/users/neomerx/gists{/gist_id}","starred_url":"https://api.github.com/users/neomerx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neomerx/subscriptions","organizations_url":"https://api.github.com/users/neomerx/orgs","repos_url":"https://api.github.com/users/neomerx/repos","events_url":"https://api.github.com/users/neomerx/events{/privacy}","received_events_url":"https://api.github.com/users/neomerx/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T15:27:42Z","updated_at":"2015-06-25T15:27:42Z","body":"@steffenbrem it's is possible with ```self::SHOW_DATA => false``` [flag](https://github.com/neomerx/json-api/wiki/Schemas#showhide-data) however there is an issue with it. The ```self::DATA``` must be set to something and it must be a single resource (not array).\r\nI have fixed array/not array issue (however it's not published yet) and investigating issue how mandatory ```self::DATA```."}}