{"action":"created","issue":{"url":"https://api.github.com/repos/adlnet/xAPI-Spec/issues/690","labels_url":"https://api.github.com/repos/adlnet/xAPI-Spec/issues/690/labels{/name}","comments_url":"https://api.github.com/repos/adlnet/xAPI-Spec/issues/690/comments","events_url":"https://api.github.com/repos/adlnet/xAPI-Spec/issues/690/events","html_url":"https://github.com/adlnet/xAPI-Spec/issues/690","id":69801643,"number":690,"title":" Is it possible that an LRS might not build this definition, meaning that a GET call to the “activities” endpoint would return nothing?","user":{"login":"garemoko","id":1363163,"avatar_url":"https://avatars.githubusercontent.com/u/1363163?v=3","gravatar_id":"","url":"https://api.github.com/users/garemoko","html_url":"https://github.com/garemoko","followers_url":"https://api.github.com/users/garemoko/followers","following_url":"https://api.github.com/users/garemoko/following{/other_user}","gists_url":"https://api.github.com/users/garemoko/gists{/gist_id}","starred_url":"https://api.github.com/users/garemoko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garemoko/subscriptions","organizations_url":"https://api.github.com/users/garemoko/orgs","repos_url":"https://api.github.com/users/garemoko/repos","events_url":"https://api.github.com/users/garemoko/events{/privacy}","received_events_url":"https://api.github.com/users/garemoko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-21T10:05:50Z","updated_at":"2015-04-25T18:15:49Z","closed_at":null,"body":"See this thread and my response: https://groups.google.com/a/adlnet.gov/forum/#!topic/xapi-design/TAQpsAHhCBk\r\n\r\nI propose we add something like:\r\n\r\n``If an LRS does not have a canonical definition of the Activity to return, the LRS SHOULD* still return an Activity Object when queried, but that Activity Object will not include a \"definition\" property.``\r\n\r\nand/or:\r\n\r\n``If an LRS does not have a canonical definition of the Activity to return, the LRS MUST still return an Activity Object when queried, but that Activity Object will either not include a \"definition\" property or the \"definition\" property will contain an empty object.``\r\n\r\nThis/these requirements would be added somewhere around [here](https://github.com/adlnet/xAPI-Spec/blob/1.0.3/xAPI.md#full-activity-object-get) in section 7.6."},"comment":{"url":"https://api.github.com/repos/adlnet/xAPI-Spec/issues/comments/96254029","html_url":"https://github.com/adlnet/xAPI-Spec/issues/690#issuecomment-96254029","issue_url":"https://api.github.com/repos/adlnet/xAPI-Spec/issues/690","id":96254029,"user":{"login":"dacdave","id":3857245,"avatar_url":"https://avatars.githubusercontent.com/u/3857245?v=3","gravatar_id":"","url":"https://api.github.com/users/dacdave","html_url":"https://github.com/dacdave","followers_url":"https://api.github.com/users/dacdave/followers","following_url":"https://api.github.com/users/dacdave/following{/other_user}","gists_url":"https://api.github.com/users/dacdave/gists{/gist_id}","starred_url":"https://api.github.com/users/dacdave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dacdave/subscriptions","organizations_url":"https://api.github.com/users/dacdave/orgs","repos_url":"https://api.github.com/users/dacdave/repos","events_url":"https://api.github.com/users/dacdave/events{/privacy}","received_events_url":"https://api.github.com/users/dacdave/received_events","type":"User","site_admin":false},"created_at":"2015-04-25T18:15:49Z","updated_at":"2015-04-25T18:15:49Z","body":"I am fine with a third possibility.\r\n\r\n\"If an LRS does not have a canonical definition of the Activity to return, the LRS MUST return a null object while setting the operations success attribute to true even though the HttpResponse status is set to 404.\"\r\n\r\nIn other words, an HTTP response status of 404 is acceptable (i.e. success) and indicates that the LRS has no Activity defined for the requested ActivityId."}}