{"action":"created","issue":{"url":"https://api.github.com/repos/rightsstatements/rights-app/issues/33","labels_url":"https://api.github.com/repos/rightsstatements/rights-app/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/rightsstatements/rights-app/issues/33/comments","events_url":"https://api.github.com/repos/rightsstatements/rights-app/issues/33/events","html_url":"https://github.com/rightsstatements/rights-app/pull/33","id":121706532,"number":33,"title":"Recovery guidance","user":{"login":"literarymachine","id":149825,"avatar_url":"https://avatars.githubusercontent.com/u/149825?v=3","gravatar_id":"","url":"https://api.github.com/users/literarymachine","html_url":"https://github.com/literarymachine","followers_url":"https://api.github.com/users/literarymachine/followers","following_url":"https://api.github.com/users/literarymachine/following{/other_user}","gists_url":"https://api.github.com/users/literarymachine/gists{/gist_id}","starred_url":"https://api.github.com/users/literarymachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/literarymachine/subscriptions","organizations_url":"https://api.github.com/users/literarymachine/orgs","repos_url":"https://api.github.com/users/literarymachine/repos","events_url":"https://api.github.com/users/literarymachine/events{/privacy}","received_events_url":"https://api.github.com/users/literarymachine/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rightsstatements/rights-app/labels/review","name":"review","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"acka47","id":160292,"avatar_url":"https://avatars.githubusercontent.com/u/160292?v=3","gravatar_id":"","url":"https://api.github.com/users/acka47","html_url":"https://github.com/acka47","followers_url":"https://api.github.com/users/acka47/followers","following_url":"https://api.github.com/users/acka47/following{/other_user}","gists_url":"https://api.github.com/users/acka47/gists{/gist_id}","starred_url":"https://api.github.com/users/acka47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acka47/subscriptions","organizations_url":"https://api.github.com/users/acka47/orgs","repos_url":"https://api.github.com/users/acka47/repos","events_url":"https://api.github.com/users/acka47/events{/privacy}","received_events_url":"https://api.github.com/users/acka47/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-12-11T13:18:28Z","updated_at":"2015-12-13T19:57:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rightsstatements/rights-app/pulls/33","html_url":"https://github.com/rightsstatements/rights-app/pull/33","diff_url":"https://github.com/rightsstatements/rights-app/pull/33.diff","patch_url":"https://github.com/rightsstatements/rights-app/pull/33.patch"},"body":"On dev, see e.g.\r\n\r\n    $ curl -v \"http://h2481931.stratoserver.net:9001/vocab/InC-OW-EU/1.0/?relatedURL=http://example.org/\"\r\n    > GET /vocab/InC-OW-EU/1.0/?relatedURL=http://example.org/ HTTP/1.1\r\n    > User-Agent: curl/7.35.0\r\n    > Host: h2481931.stratoserver.net:9001\r\n    > Accept: */*\r\n    > \r\n    < HTTP/1.1 406 Not Acceptable\r\n    < Alternates: {\"/page/InC-OW-EU/1.0/?relatedURL=http://example.org/\" 0.9 {text/html}},{\"/data/InC-OW-EU/1.0/\" 0.9 {text/turtle}}\r\n    < Date: Fri, 11 Dec 2015 13:14:01 GMT\r\n    < Content-Length: 0\r\n\r\nfor a parameter that is valid for the statement and\r\n\r\n    $ curl -v \"http://h2481931.stratoserver.net:9001/vocab/InC/1.0/?relatedURL=http://example.org/\"\r\n    > GET /vocab/InC/1.0/?relatedURL=http://example.org/ HTTP/1.1\r\n    > User-Agent: curl/7.35.0\r\n    > Host: h2481931.stratoserver.net:9001\r\n    > Accept: */*\r\n    > \r\n    < HTTP/1.1 406 Not Acceptable\r\n    < Date: Fri, 11 Dec 2015 13:14:55 GMT\r\n    < Content-Length: 0\r\n\r\nfor a parameter that is not valid for the statement.\r\n\r\nFixes #10."},"comment":{"url":"https://api.github.com/repos/rightsstatements/rights-app/issues/comments/164293479","html_url":"https://github.com/rightsstatements/rights-app/pull/33#issuecomment-164293479","issue_url":"https://api.github.com/repos/rightsstatements/rights-app/issues/33","id":164293479,"user":{"login":"acka47","id":160292,"avatar_url":"https://avatars.githubusercontent.com/u/160292?v=3","gravatar_id":"","url":"https://api.github.com/users/acka47","html_url":"https://github.com/acka47","followers_url":"https://api.github.com/users/acka47/followers","following_url":"https://api.github.com/users/acka47/following{/other_user}","gists_url":"https://api.github.com/users/acka47/gists{/gist_id}","starred_url":"https://api.github.com/users/acka47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acka47/subscriptions","organizations_url":"https://api.github.com/users/acka47/orgs","repos_url":"https://api.github.com/users/acka47/repos","events_url":"https://api.github.com/users/acka47/events{/privacy}","received_events_url":"https://api.github.com/users/acka47/received_events","type":"User","site_admin":false},"created_at":"2015-12-13T19:57:32Z","updated_at":"2015-12-13T19:57:32Z","body":"It is not taken into account yet that the `relatedURL` parameter (which is the only one that is currently used) is only allowed on a subset of statements, see this table from p.6 of the technical white paper:\r\n\r\n![parameter-table](https://cloud.githubusercontent.com/assets/160292/11768934/f67d3682-a1db-11e5-98fa-dce9ebcf61bc.png)\r\n\r\nConsequently, e.g. also `$ curl -v \"http://h2481931.stratoserver.net:9001/page/InC/1.0/?relatedURL=http://example.org/\"` should result in a 406 with recovery guidance."}}