{"action":"created","issue":{"url":"https://api.github.com/repos/edx/cs_comments_service/issues/131","labels_url":"https://api.github.com/repos/edx/cs_comments_service/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/edx/cs_comments_service/issues/131/comments","events_url":"https://api.github.com/repos/edx/cs_comments_service/issues/131/events","html_url":"https://github.com/edx/cs_comments_service/pull/131","id":96120419,"number":131,"title":"TNL-1943 Add context field to CommentThread","user":{"login":"benmcmorran","id":6981284,"avatar_url":"https://avatars.githubusercontent.com/u/6981284?v=3","gravatar_id":"","url":"https://api.github.com/users/benmcmorran","html_url":"https://github.com/benmcmorran","followers_url":"https://api.github.com/users/benmcmorran/followers","following_url":"https://api.github.com/users/benmcmorran/following{/other_user}","gists_url":"https://api.github.com/users/benmcmorran/gists{/gist_id}","starred_url":"https://api.github.com/users/benmcmorran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benmcmorran/subscriptions","organizations_url":"https://api.github.com/users/benmcmorran/orgs","repos_url":"https://api.github.com/users/benmcmorran/repos","events_url":"https://api.github.com/users/benmcmorran/events{/privacy}","received_events_url":"https://api.github.com/users/benmcmorran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-20T17:52:57Z","updated_at":"2015-07-20T21:09:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/cs_comments_service/pulls/131","html_url":"https://github.com/edx/cs_comments_service/pull/131","diff_url":"https://github.com/edx/cs_comments_service/pull/131.diff","patch_url":"https://github.com/edx/cs_comments_service/pull/131.patch"},"body":"This PR introduces a `context` field on the `CommentThread` model. Currently, context can be `course` or `standalone`. `course` is the normal value, and indicates that the thread is part of general course discussions. `standalone` indicates that the thread is separate from general course discussion and should only be returned if explicitly requested. Context can be specified when creating threads associated with commentables by passing an extra parameter. Context can also be specified when retrieving threads associated with a commentable by passing a parameter. https://github.com/edx/edx-platform/pull/8982 uses this field.\r\n\r\n@cahrens @dan-f please review."},"comment":{"url":"https://api.github.com/repos/edx/cs_comments_service/issues/comments/123040260","html_url":"https://github.com/edx/cs_comments_service/pull/131#issuecomment-123040260","issue_url":"https://api.github.com/repos/edx/cs_comments_service/issues/131","id":123040260,"user":{"login":"benmcmorran","id":6981284,"avatar_url":"https://avatars.githubusercontent.com/u/6981284?v=3","gravatar_id":"","url":"https://api.github.com/users/benmcmorran","html_url":"https://github.com/benmcmorran","followers_url":"https://api.github.com/users/benmcmorran/followers","following_url":"https://api.github.com/users/benmcmorran/following{/other_user}","gists_url":"https://api.github.com/users/benmcmorran/gists{/gist_id}","starred_url":"https://api.github.com/users/benmcmorran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benmcmorran/subscriptions","organizations_url":"https://api.github.com/users/benmcmorran/orgs","repos_url":"https://api.github.com/users/benmcmorran/repos","events_url":"https://api.github.com/users/benmcmorran/events{/privacy}","received_events_url":"https://api.github.com/users/benmcmorran/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T21:09:57Z","updated_at":"2015-07-20T21:09:57Z","body":"@cahrens FYI added migrations for context field"}}