{"action":"created","issue":{"url":"https://api.github.com/repos/metadatacenter/cedar-project/issues/448","repository_url":"https://api.github.com/repos/metadatacenter/cedar-project","labels_url":"https://api.github.com/repos/metadatacenter/cedar-project/issues/448/labels{/name}","comments_url":"https://api.github.com/repos/metadatacenter/cedar-project/issues/448/comments","events_url":"https://api.github.com/repos/metadatacenter/cedar-project/issues/448/events","html_url":"https://github.com/metadatacenter/cedar-project/issues/448","id":226817554,"node_id":"MDU6SXNzdWUyMjY4MTc1NTQ=","number":448,"title":"Means to get to template from instance","user":{"login":"graybeal","id":1266896,"node_id":"MDQ6VXNlcjEyNjY4OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1266896?v=4","gravatar_id":"","url":"https://api.github.com/users/graybeal","html_url":"https://github.com/graybeal","followers_url":"https://api.github.com/users/graybeal/followers","following_url":"https://api.github.com/users/graybeal/following{/other_user}","gists_url":"https://api.github.com/users/graybeal/gists{/gist_id}","starred_url":"https://api.github.com/users/graybeal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graybeal/subscriptions","organizations_url":"https://api.github.com/users/graybeal/orgs","repos_url":"https://api.github.com/users/graybeal/repos","events_url":"https://api.github.com/users/graybeal/events{/privacy}","received_events_url":"https://api.github.com/users/graybeal/received_events","type":"User","site_admin":false},"labels":[{"id":328945615,"node_id":"MDU6TGFiZWwzMjg5NDU2MTU=","url":"https://api.github.com/repos/metadatacenter/cedar-project/labels/feature","name":"feature","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-07T01:10:04Z","updated_at":"2018-06-19T21:51:01Z","closed_at":null,"author_association":"MEMBER","body":"Given an instance, there is no way to find its template (or more to the point, look at the template JSON).  Used to be trivial with the template viewer button, but now I have to look at the JSON or RDF of the instance, find the template ID, and figure out how to enter it into CEDAR so I can see it, but sometimes that won't work either. None of this is straightforward for a user that just wants to look up the template.\n\nNote: When I tried it with https://repo.metadatacenter.net/templates/4373d376-c567-40c9-8349-dfa152908aac, I got the following error, which could mean my key had to be included, my key was wrong, my key didn't have sufficient authentication privileges, or I don't know what. Can we actually tell the poor user what has to be fixed for that, in nicely formatted English (not JSON)?  \n\nIn this case, I'm not sure why I should need to provideAuthorizationHeader, if that's the answer to the above. I'm logged in to CEDAR, so it already has my authentication information. (I'm not really asking to understand the reason, I'm asking because that's what everyone will ask when they're trying to access some CEDAR entity.)\n\n{\"status\":\"FORBIDDEN\",\"errorType\":\"authorization\",\"errorKey\":\"authorizationTypeNotFound\",\"errorReasonKey\":null,\"message\":\"Authorization not found.\",\"parameters\":{},\"suggestedAction\":\"provideAuthorizationHeader\",\"originalException\":null,\"sourceException\":null,\"operation\":null}\n\nIf there is an access error"},"comment":{"url":"https://api.github.com/repos/metadatacenter/cedar-project/issues/comments/398558018","html_url":"https://github.com/metadatacenter/cedar-project/issues/448#issuecomment-398558018","issue_url":"https://api.github.com/repos/metadatacenter/cedar-project/issues/448","id":398558018,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODU1ODAxOA==","user":{"login":"martinjoconnor","id":1731323,"node_id":"MDQ6VXNlcjE3MzEzMjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1731323?v=4","gravatar_id":"","url":"https://api.github.com/users/martinjoconnor","html_url":"https://github.com/martinjoconnor","followers_url":"https://api.github.com/users/martinjoconnor/followers","following_url":"https://api.github.com/users/martinjoconnor/following{/other_user}","gists_url":"https://api.github.com/users/martinjoconnor/gists{/gist_id}","starred_url":"https://api.github.com/users/martinjoconnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinjoconnor/subscriptions","organizations_url":"https://api.github.com/users/martinjoconnor/orgs","repos_url":"https://api.github.com/users/martinjoconnor/repos","events_url":"https://api.github.com/users/martinjoconnor/events{/privacy}","received_events_url":"https://api.github.com/users/martinjoconnor/received_events","type":"User","site_admin":false},"created_at":"2018-06-19T21:51:01Z","updated_at":"2018-06-19T21:51:01Z","author_association":"MEMBER","body":"Will be addressed by https://github.com/metadatacenter/cedar-template-editor/issues/720"}}
{"actor":{"display_login":"martinjoconnor"}}