{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/pulls/4","id":95991538,"html_url":"https://github.com/datascienceinc/RestfulContentManager/pull/4","diff_url":"https://github.com/datascienceinc/RestfulContentManager/pull/4.diff","patch_url":"https://github.com/datascienceinc/RestfulContentManager/pull/4.patch","issue_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/issues/4","number":4,"state":"open","locked":false,"title":"Fix/rename file","user":{"login":"amareesh86","id":5559060,"avatar_url":"https://avatars.githubusercontent.com/u/5559060?v=3","gravatar_id":"","url":"https://api.github.com/users/amareesh86","html_url":"https://github.com/amareesh86","followers_url":"https://api.github.com/users/amareesh86/followers","following_url":"https://api.github.com/users/amareesh86/following{/other_user}","gists_url":"https://api.github.com/users/amareesh86/gists{/gist_id}","starred_url":"https://api.github.com/users/amareesh86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amareesh86/subscriptions","organizations_url":"https://api.github.com/users/amareesh86/orgs","repos_url":"https://api.github.com/users/amareesh86/repos","events_url":"https://api.github.com/users/amareesh86/events{/privacy}","received_events_url":"https://api.github.com/users/amareesh86/received_events","type":"User","site_admin":false},"body":"This PR partially fixes https://github.com/datascienceinc/notebooks-api/issues/58 by doing a file existence check in the extension side. This PR also fixes https://github.com/datascienceinc/RestfulContentManager/issues/3 and throws an error if model returned is null.\r\n\r\nTesting.\r\n\r\n- If you have way to test RCM locally go for it.\r\n- Else build a wheel of RCM using `python setup.py bdist_wheel --universal` and use that wheel to isntall RCM in singleuser. Let me know if have questions.\r\n\r\n\r\nUAT\r\n- Create a new notebook and rename it.\r\n- Create another notebook and try to rename with same name as in previous step.\r\n","created_at":"2016-11-30T22:56:54Z","updated_at":"2016-11-30T22:56:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/pulls/4/commits","review_comments_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/pulls/4/comments","review_comment_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/issues/4/comments","statuses_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/statuses/de83594819e99bf0e457787430b3300b954cba82","head":{"label":"datascienceinc:fix/rename-file","ref":"fix/rename-file","sha":"de83594819e99bf0e457787430b3300b954cba82","user":{"login":"datascienceinc","id":6758119,"avatar_url":"https://avatars.githubusercontent.com/u/6758119?v=3","gravatar_id":"","url":"https://api.github.com/users/datascienceinc","html_url":"https://github.com/datascienceinc","followers_url":"https://api.github.com/users/datascienceinc/followers","following_url":"https://api.github.com/users/datascienceinc/following{/other_user}","gists_url":"https://api.github.com/users/datascienceinc/gists{/gist_id}","starred_url":"https://api.github.com/users/datascienceinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datascienceinc/subscriptions","organizations_url":"https://api.github.com/users/datascienceinc/orgs","repos_url":"https://api.github.com/users/datascienceinc/repos","events_url":"https://api.github.com/users/datascienceinc/events{/privacy}","received_events_url":"https://api.github.com/users/datascienceinc/received_events","type":"Organization","site_admin":false},"repo":{"id":55630432,"name":"RestfulContentManager","full_name":"datascienceinc/RestfulContentManager","owner":{"login":"datascienceinc","id":6758119,"avatar_url":"https://avatars.githubusercontent.com/u/6758119?v=3","gravatar_id":"","url":"https://api.github.com/users/datascienceinc","html_url":"https://github.com/datascienceinc","followers_url":"https://api.github.com/users/datascienceinc/followers","following_url":"https://api.github.com/users/datascienceinc/following{/other_user}","gists_url":"https://api.github.com/users/datascienceinc/gists{/gist_id}","starred_url":"https://api.github.com/users/datascienceinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datascienceinc/subscriptions","organizations_url":"https://api.github.com/users/datascienceinc/orgs","repos_url":"https://api.github.com/users/datascienceinc/repos","events_url":"https://api.github.com/users/datascienceinc/events{/privacy}","received_events_url":"https://api.github.com/users/datascienceinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datascienceinc/RestfulContentManager","description":"A content manager for Jupyter that retrieves data from an external api","fork":false,"url":"https://api.github.com/repos/datascienceinc/RestfulContentManager","forks_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/forks","keys_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/teams","hooks_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/hooks","issue_events_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/issues/events{/number}","events_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/events","assignees_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/assignees{/user}","branches_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/branches{/branch}","tags_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/tags","blobs_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/git/refs{/sha}","trees_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/statuses/{sha}","languages_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/languages","stargazers_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/stargazers","contributors_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/contributors","subscribers_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/subscribers","subscription_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/subscription","commits_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/commits{/sha}","git_commits_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/git/commits{/sha}","comments_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/comments{/number}","issue_comment_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/issues/comments{/number}","contents_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/contents/{+path}","compare_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/merges","archive_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/downloads","issues_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/issues{/number}","pulls_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/pulls{/number}","milestones_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/milestones{/number}","notifications_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/labels{/name}","releases_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/releases{/id}","deployments_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/deployments","created_at":"2016-04-06T18:21:54Z","updated_at":"2016-11-06T20:33:51Z","pushed_at":"2016-11-30T22:56:54Z","git_url":"git://github.com/datascienceinc/RestfulContentManager.git","ssh_url":"git@github.com:datascienceinc/RestfulContentManager.git","clone_url":"https://github.com/datascienceinc/RestfulContentManager.git","svn_url":"https://github.com/datascienceinc/RestfulContentManager","homepage":null,"size":16,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":5,"default_branch":"master"}},"base":{"label":"datascienceinc:master","ref":"master","sha":"e853bd2b4b898bb51ec382b027840ea6a870853c","user":{"login":"datascienceinc","id":6758119,"avatar_url":"https://avatars.githubusercontent.com/u/6758119?v=3","gravatar_id":"","url":"https://api.github.com/users/datascienceinc","html_url":"https://github.com/datascienceinc","followers_url":"https://api.github.com/users/datascienceinc/followers","following_url":"https://api.github.com/users/datascienceinc/following{/other_user}","gists_url":"https://api.github.com/users/datascienceinc/gists{/gist_id}","starred_url":"https://api.github.com/users/datascienceinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datascienceinc/subscriptions","organizations_url":"https://api.github.com/users/datascienceinc/orgs","repos_url":"https://api.github.com/users/datascienceinc/repos","events_url":"https://api.github.com/users/datascienceinc/events{/privacy}","received_events_url":"https://api.github.com/users/datascienceinc/received_events","type":"Organization","site_admin":false},"repo":{"id":55630432,"name":"RestfulContentManager","full_name":"datascienceinc/RestfulContentManager","owner":{"login":"datascienceinc","id":6758119,"avatar_url":"https://avatars.githubusercontent.com/u/6758119?v=3","gravatar_id":"","url":"https://api.github.com/users/datascienceinc","html_url":"https://github.com/datascienceinc","followers_url":"https://api.github.com/users/datascienceinc/followers","following_url":"https://api.github.com/users/datascienceinc/following{/other_user}","gists_url":"https://api.github.com/users/datascienceinc/gists{/gist_id}","starred_url":"https://api.github.com/users/datascienceinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datascienceinc/subscriptions","organizations_url":"https://api.github.com/users/datascienceinc/orgs","repos_url":"https://api.github.com/users/datascienceinc/repos","events_url":"https://api.github.com/users/datascienceinc/events{/privacy}","received_events_url":"https://api.github.com/users/datascienceinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datascienceinc/RestfulContentManager","description":"A content manager for Jupyter that retrieves data from an external api","fork":false,"url":"https://api.github.com/repos/datascienceinc/RestfulContentManager","forks_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/forks","keys_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/teams","hooks_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/hooks","issue_events_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/issues/events{/number}","events_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/events","assignees_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/assignees{/user}","branches_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/branches{/branch}","tags_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/tags","blobs_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/git/refs{/sha}","trees_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/statuses/{sha}","languages_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/languages","stargazers_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/stargazers","contributors_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/contributors","subscribers_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/subscribers","subscription_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/subscription","commits_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/commits{/sha}","git_commits_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/git/commits{/sha}","comments_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/comments{/number}","issue_comment_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/issues/comments{/number}","contents_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/contents/{+path}","compare_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/merges","archive_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/downloads","issues_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/issues{/number}","pulls_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/pulls{/number}","milestones_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/milestones{/number}","notifications_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/labels{/name}","releases_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/releases{/id}","deployments_url":"https://api.github.com/repos/datascienceinc/RestfulContentManager/deployments","created_at":"2016-04-06T18:21:54Z","updated_at":"2016-11-06T20:33:51Z","pushed_at":"2016-11-30T22:56:54Z","git_url":"git://github.com/datascienceinc/RestfulContentManager.git","ssh_url":"git@github.com:datascienceinc/RestfulContentManager.git","clone_url":"https://github.com/datascienceinc/RestfulContentManager.git","svn_url":"https://github.com/datascienceinc/RestfulContentManager","homepage":null,"size":16,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/datascienceinc/RestfulContentManager/pulls/4"},"html":{"href":"https://github.com/datascienceinc/RestfulContentManager/pull/4"},"issue":{"href":"https://api.github.com/repos/datascienceinc/RestfulContentManager/issues/4"},"comments":{"href":"https://api.github.com/repos/datascienceinc/RestfulContentManager/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/datascienceinc/RestfulContentManager/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/datascienceinc/RestfulContentManager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/datascienceinc/RestfulContentManager/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/datascienceinc/RestfulContentManager/statuses/de83594819e99bf0e457787430b3300b954cba82"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":16,"deletions":10,"changed_files":1}}
{"actor":{"display_login":"amareesh86"}}