{"action":"closed","issue":{"url":"https://api.github.com/repos/json-api/json-api/issues/156","labels_url":"https://api.github.com/repos/json-api/json-api/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/json-api/json-api/issues/156/comments","events_url":"https://api.github.com/repos/json-api/json-api/issues/156/events","html_url":"https://github.com/json-api/json-api/issues/156","id":22409181,"number":156,"title":"Multiple URI templates per resource type","user":{"login":"rkh","id":30442,"avatar_url":"https://avatars.githubusercontent.com/u/30442?v=3","gravatar_id":"","url":"https://api.github.com/users/rkh","html_url":"https://github.com/rkh","followers_url":"https://api.github.com/users/rkh/followers","following_url":"https://api.github.com/users/rkh/following{/other_user}","gists_url":"https://api.github.com/users/rkh/gists{/gist_id}","starred_url":"https://api.github.com/users/rkh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkh/subscriptions","organizations_url":"https://api.github.com/users/rkh/orgs","repos_url":"https://api.github.com/users/rkh/repos","events_url":"https://api.github.com/users/rkh/events{/privacy}","received_events_url":"https://api.github.com/users/rkh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2013-11-10T14:10:08Z","updated_at":"2015-02-18T23:52:33Z","closed_at":"2015-02-18T23:52:33Z","body":"How do I use multiple URI templates per resource type?\r\n\r\nImage you are building the API for a CI system to be used with GitHub. You might implement two different endpoints for fetching infos about a repository: `/repos/{repositories.id}` and `/repos/{repositories.owner_name}/{repositories.name}`.\r\n\r\nHowever, the links section only allows to list one URI template per type (and URI templates do not support unions of different patterns."}}