{"action":"created","comment":{"url":"https://api.github.com/repos/jupyter/notebook/pulls/comments/60043993","id":60043993,"diff_hunk":"@@ -654,12 +639,18 @@ definitions:\n       id:\n         type: string\n         format: uuid\n-      notebook:\n-        type: object\n-        properties:\n-          path:\n-            type: string\n-            description: path to notebook\n+      path:\n+        type: string\n+        description: \"The path to the session.  For console sessions, the path \n+         contains the cwd of the kernel and the name of the console session, \n+         which may be a uuid\"\n+      type:\n+        type: string;\n+        description: session type\n+        enum:\n+          - notebook\n+          - file\n+          - console","path":"notebook/services/api/api.yaml","position":71,"original_position":71,"commit_id":"5d8a0aba8b39710bdab24bb34faf1499c38d66dc","original_commit_id":"5d8a0aba8b39710bdab24bb34faf1499c38d66dc","user":{"login":"parente","id":153745,"avatar_url":"https://avatars.githubusercontent.com/u/153745?v=3","gravatar_id":"","url":"https://api.github.com/users/parente","html_url":"https://github.com/parente","followers_url":"https://api.github.com/users/parente/followers","following_url":"https://api.github.com/users/parente/following{/other_user}","gists_url":"https://api.github.com/users/parente/gists{/gist_id}","starred_url":"https://api.github.com/users/parente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parente/subscriptions","organizations_url":"https://api.github.com/users/parente/orgs","repos_url":"https://api.github.com/users/parente/repos","events_url":"https://api.github.com/users/parente/events{/privacy}","received_events_url":"https://api.github.com/users/parente/received_events","type":"User","site_admin":false},"body":"/cc @bpburns","created_at":"2016-04-18T11:44:35Z","updated_at":"2016-04-18T11:44:35Z","html_url":"https://github.com/jupyter/notebook/pull/1359#discussion_r60043993","pull_request_url":"https://api.github.com/repos/jupyter/notebook/pulls/1359","_links":{"self":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/comments/60043993"},"html":{"href":"https://github.com/jupyter/notebook/pull/1359#discussion_r60043993"},"pull_request":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/1359"}}},"pull_request":{"url":"https://api.github.com/repos/jupyter/notebook/pulls/1359","id":66700561,"html_url":"https://github.com/jupyter/notebook/pull/1359","diff_url":"https://github.com/jupyter/notebook/pull/1359.diff","patch_url":"https://github.com/jupyter/notebook/pull/1359.patch","issue_url":"https://api.github.com/repos/jupyter/notebook/issues/1359","number":1359,"state":"open","locked":false,"title":"Update the session api in preparation for file and console sessions","user":{"login":"blink1073","id":2096628,"avatar_url":"https://avatars.githubusercontent.com/u/2096628?v=3","gravatar_id":"","url":"https://api.github.com/users/blink1073","html_url":"https://github.com/blink1073","followers_url":"https://api.github.com/users/blink1073/followers","following_url":"https://api.github.com/users/blink1073/following{/other_user}","gists_url":"https://api.github.com/users/blink1073/gists{/gist_id}","starred_url":"https://api.github.com/users/blink1073/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blink1073/subscriptions","organizations_url":"https://api.github.com/users/blink1073/orgs","repos_url":"https://api.github.com/users/blink1073/repos","events_url":"https://api.github.com/users/blink1073/events{/privacy}","received_events_url":"https://api.github.com/users/blink1073/received_events","type":"User","site_admin":false},"body":"Fixes #1358.","created_at":"2016-04-15T20:31:51Z","updated_at":"2016-04-18T11:44:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"80865615f6f4fbcdab30d8d722db560c47708a66","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jupyter/notebook/pulls/1359/commits","review_comments_url":"https://api.github.com/repos/jupyter/notebook/pulls/1359/comments","review_comment_url":"https://api.github.com/repos/jupyter/notebook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jupyter/notebook/issues/1359/comments","statuses_url":"https://api.github.com/repos/jupyter/notebook/statuses/5d8a0aba8b39710bdab24bb34faf1499c38d66dc","head":{"label":"blink1073:generic-session","ref":"generic-session","sha":"5d8a0aba8b39710bdab24bb34faf1499c38d66dc","user":{"login":"blink1073","id":2096628,"avatar_url":"https://avatars.githubusercontent.com/u/2096628?v=3","gravatar_id":"","url":"https://api.github.com/users/blink1073","html_url":"https://github.com/blink1073","followers_url":"https://api.github.com/users/blink1073/followers","following_url":"https://api.github.com/users/blink1073/following{/other_user}","gists_url":"https://api.github.com/users/blink1073/gists{/gist_id}","starred_url":"https://api.github.com/users/blink1073/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blink1073/subscriptions","organizations_url":"https://api.github.com/users/blink1073/orgs","repos_url":"https://api.github.com/users/blink1073/repos","events_url":"https://api.github.com/users/blink1073/events{/privacy}","received_events_url":"https://api.github.com/users/blink1073/received_events","type":"User","site_admin":false},"repo":{"id":37158400,"name":"notebook","full_name":"blink1073/notebook","owner":{"login":"blink1073","id":2096628,"avatar_url":"https://avatars.githubusercontent.com/u/2096628?v=3","gravatar_id":"","url":"https://api.github.com/users/blink1073","html_url":"https://github.com/blink1073","followers_url":"https://api.github.com/users/blink1073/followers","following_url":"https://api.github.com/users/blink1073/following{/other_user}","gists_url":"https://api.github.com/users/blink1073/gists{/gist_id}","starred_url":"https://api.github.com/users/blink1073/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blink1073/subscriptions","organizations_url":"https://api.github.com/users/blink1073/orgs","repos_url":"https://api.github.com/users/blink1073/repos","events_url":"https://api.github.com/users/blink1073/events{/privacy}","received_events_url":"https://api.github.com/users/blink1073/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/blink1073/notebook","description":"Jupyter Interactive Notebook","fork":true,"url":"https://api.github.com/repos/blink1073/notebook","forks_url":"https://api.github.com/repos/blink1073/notebook/forks","keys_url":"https://api.github.com/repos/blink1073/notebook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blink1073/notebook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blink1073/notebook/teams","hooks_url":"https://api.github.com/repos/blink1073/notebook/hooks","issue_events_url":"https://api.github.com/repos/blink1073/notebook/issues/events{/number}","events_url":"https://api.github.com/repos/blink1073/notebook/events","assignees_url":"https://api.github.com/repos/blink1073/notebook/assignees{/user}","branches_url":"https://api.github.com/repos/blink1073/notebook/branches{/branch}","tags_url":"https://api.github.com/repos/blink1073/notebook/tags","blobs_url":"https://api.github.com/repos/blink1073/notebook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blink1073/notebook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blink1073/notebook/git/refs{/sha}","trees_url":"https://api.github.com/repos/blink1073/notebook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blink1073/notebook/statuses/{sha}","languages_url":"https://api.github.com/repos/blink1073/notebook/languages","stargazers_url":"https://api.github.com/repos/blink1073/notebook/stargazers","contributors_url":"https://api.github.com/repos/blink1073/notebook/contributors","subscribers_url":"https://api.github.com/repos/blink1073/notebook/subscribers","subscription_url":"https://api.github.com/repos/blink1073/notebook/subscription","commits_url":"https://api.github.com/repos/blink1073/notebook/commits{/sha}","git_commits_url":"https://api.github.com/repos/blink1073/notebook/git/commits{/sha}","comments_url":"https://api.github.com/repos/blink1073/notebook/comments{/number}","issue_comment_url":"https://api.github.com/repos/blink1073/notebook/issues/comments{/number}","contents_url":"https://api.github.com/repos/blink1073/notebook/contents/{+path}","compare_url":"https://api.github.com/repos/blink1073/notebook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blink1073/notebook/merges","archive_url":"https://api.github.com/repos/blink1073/notebook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blink1073/notebook/downloads","issues_url":"https://api.github.com/repos/blink1073/notebook/issues{/number}","pulls_url":"https://api.github.com/repos/blink1073/notebook/pulls{/number}","milestones_url":"https://api.github.com/repos/blink1073/notebook/milestones{/number}","notifications_url":"https://api.github.com/repos/blink1073/notebook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blink1073/notebook/labels{/name}","releases_url":"https://api.github.com/repos/blink1073/notebook/releases{/id}","deployments_url":"https://api.github.com/repos/blink1073/notebook/deployments","created_at":"2015-06-09T21:06:00Z","updated_at":"2016-02-10T14:45:43Z","pushed_at":"2016-04-16T16:15:44Z","git_url":"git://github.com/blink1073/notebook.git","ssh_url":"git@github.com:blink1073/notebook.git","clone_url":"https://github.com/blink1073/notebook.git","svn_url":"https://github.com/blink1073/notebook","homepage":null,"size":19370,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jupyter:master","ref":"master","sha":"db7fa4ab85270a0152963f9a9091f3c102b1a8e3","user":{"login":"jupyter","id":7388996,"avatar_url":"https://avatars.githubusercontent.com/u/7388996?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter","html_url":"https://github.com/jupyter","followers_url":"https://api.github.com/users/jupyter/followers","following_url":"https://api.github.com/users/jupyter/following{/other_user}","gists_url":"https://api.github.com/users/jupyter/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter/subscriptions","organizations_url":"https://api.github.com/users/jupyter/orgs","repos_url":"https://api.github.com/users/jupyter/repos","events_url":"https://api.github.com/users/jupyter/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter/received_events","type":"Organization","site_admin":false},"repo":{"id":33653601,"name":"notebook","full_name":"jupyter/notebook","owner":{"login":"jupyter","id":7388996,"avatar_url":"https://avatars.githubusercontent.com/u/7388996?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter","html_url":"https://github.com/jupyter","followers_url":"https://api.github.com/users/jupyter/followers","following_url":"https://api.github.com/users/jupyter/following{/other_user}","gists_url":"https://api.github.com/users/jupyter/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter/subscriptions","organizations_url":"https://api.github.com/users/jupyter/orgs","repos_url":"https://api.github.com/users/jupyter/repos","events_url":"https://api.github.com/users/jupyter/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jupyter/notebook","description":"Jupyter Interactive Notebook","fork":false,"url":"https://api.github.com/repos/jupyter/notebook","forks_url":"https://api.github.com/repos/jupyter/notebook/forks","keys_url":"https://api.github.com/repos/jupyter/notebook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jupyter/notebook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jupyter/notebook/teams","hooks_url":"https://api.github.com/repos/jupyter/notebook/hooks","issue_events_url":"https://api.github.com/repos/jupyter/notebook/issues/events{/number}","events_url":"https://api.github.com/repos/jupyter/notebook/events","assignees_url":"https://api.github.com/repos/jupyter/notebook/assignees{/user}","branches_url":"https://api.github.com/repos/jupyter/notebook/branches{/branch}","tags_url":"https://api.github.com/repos/jupyter/notebook/tags","blobs_url":"https://api.github.com/repos/jupyter/notebook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jupyter/notebook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jupyter/notebook/git/refs{/sha}","trees_url":"https://api.github.com/repos/jupyter/notebook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jupyter/notebook/statuses/{sha}","languages_url":"https://api.github.com/repos/jupyter/notebook/languages","stargazers_url":"https://api.github.com/repos/jupyter/notebook/stargazers","contributors_url":"https://api.github.com/repos/jupyter/notebook/contributors","subscribers_url":"https://api.github.com/repos/jupyter/notebook/subscribers","subscription_url":"https://api.github.com/repos/jupyter/notebook/subscription","commits_url":"https://api.github.com/repos/jupyter/notebook/commits{/sha}","git_commits_url":"https://api.github.com/repos/jupyter/notebook/git/commits{/sha}","comments_url":"https://api.github.com/repos/jupyter/notebook/comments{/number}","issue_comment_url":"https://api.github.com/repos/jupyter/notebook/issues/comments{/number}","contents_url":"https://api.github.com/repos/jupyter/notebook/contents/{+path}","compare_url":"https://api.github.com/repos/jupyter/notebook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jupyter/notebook/merges","archive_url":"https://api.github.com/repos/jupyter/notebook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jupyter/notebook/downloads","issues_url":"https://api.github.com/repos/jupyter/notebook/issues{/number}","pulls_url":"https://api.github.com/repos/jupyter/notebook/pulls{/number}","milestones_url":"https://api.github.com/repos/jupyter/notebook/milestones{/number}","notifications_url":"https://api.github.com/repos/jupyter/notebook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jupyter/notebook/labels{/name}","releases_url":"https://api.github.com/repos/jupyter/notebook/releases{/id}","deployments_url":"https://api.github.com/repos/jupyter/notebook/deployments","created_at":"2015-04-09T06:58:03Z","updated_at":"2016-04-18T11:18:11Z","pushed_at":"2016-04-18T09:37:32Z","git_url":"git://github.com/jupyter/notebook.git","ssh_url":"git@github.com:jupyter/notebook.git","clone_url":"https://github.com/jupyter/notebook.git","svn_url":"https://github.com/jupyter/notebook","homepage":"https://jupyter-notebook.readthedocs.org/","size":27830,"stargazers_count":984,"watchers_count":984,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":308,"mirror_url":null,"open_issues_count":328,"forks":308,"open_issues":328,"watchers":984,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/1359"},"html":{"href":"https://github.com/jupyter/notebook/pull/1359"},"issue":{"href":"https://api.github.com/repos/jupyter/notebook/issues/1359"},"comments":{"href":"https://api.github.com/repos/jupyter/notebook/issues/1359/comments"},"review_comments":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/1359/comments"},"review_comment":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/1359/commits"},"statuses":{"href":"https://api.github.com/repos/jupyter/notebook/statuses/5d8a0aba8b39710bdab24bb34faf1499c38d66dc"}}}}