{"action":"created","comment":{"url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/pulls/comments/201872898","pull_request_review_id":136460067,"id":201872898,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTg3Mjg5OA==","diff_hunk":"@@ -77,20 +77,24 @@ To run this code sample:\n     `cd \\DevNetCode\\~your-name~\\coding-skills-sample-code\\coding102-REST-python-ga`\n 2. Assign the DNA Center IP address or DNS to the **controller** variable.\n     * Open the file `get-network-hosts.py`. For example, in Windows, enter: `notepad get-network-hosts.py`\n-    * *If you are not using your DNA Center*, use the [DevNet Sandbox](https://developer.cisco.com/site/devnet/sandbox/) DNA Center Lab: [sandboxapic.cisco.com](https://sandboxdnac.cisco.com)\n-        * controller='sandboxapic.cisco.com'\n+    * *If you are not using your DNA Center*, use the [DevNet Sandbox](https://developer.cisco.com/site/devnet/sandbox/) DNA Center Lab: [sandboxdnac.cisco.com](https://sandboxdnac.cisco.com)\n+        * controller='sandboxdnac.cisco.com'\n 3. Save the file. If encoding type is an option, select **UTF-8**.\n 4. At the command prompt, enter the `python` command followed by the filename.\n     * On Windows, enter: `py -3 get-network-hosts.py` or `python get-network-hosts.py`\n-    * On Mac OS or Linux, enter: `python3 get-network-hosts.py`\n+    * On macOS or Linux, enter: `python3 get-network-hosts.py`\n 5. The program should run or display an error message.\n \n     You should see a result like the following one.\n \n-![](/posts/files/coding-102-rest-python-ga/assets/images/get-hosts.png)\n+![](assets/images/get-hosts.png)\n \n-## Things to Try\n+### Things to try\n * Do you see the ID for each network host?  \n * In the file `get-network-hosts.py` append `?limit=1&offset=1` to the host url so it reads as `url = \"https://\" + controller + \"/api/v1/host?limit=1&offset=1\"`. Then, run the code again. What change occurred and why?","path":"labs/coding-102-rest-python-ga/3.md","position":38,"original_position":38,"commit_id":"c83455aaf37d65782c8bcb61c1bf54017c5c0fdc","original_commit_id":"c83455aaf37d65782c8bcb61c1bf54017c5c0fdc","user":{"login":"annegentle","id":501981,"node_id":"MDQ6VXNlcjUwMTk4MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/501981?v=4","gravatar_id":"","url":"https://api.github.com/users/annegentle","html_url":"https://github.com/annegentle","followers_url":"https://api.github.com/users/annegentle/followers","following_url":"https://api.github.com/users/annegentle/following{/other_user}","gists_url":"https://api.github.com/users/annegentle/gists{/gist_id}","starred_url":"https://api.github.com/users/annegentle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annegentle/subscriptions","organizations_url":"https://api.github.com/users/annegentle/orgs","repos_url":"https://api.github.com/users/annegentle/repos","events_url":"https://api.github.com/users/annegentle/events{/privacy}","received_events_url":"https://api.github.com/users/annegentle/received_events","type":"User","site_admin":false},"body":"Ohhhh code samples have to change too... or we point to the newer code samples...","created_at":"2018-07-11T23:47:13Z","updated_at":"2018-07-11T23:50:24Z","html_url":"https://github.com/CiscoDevNet/coding-series-learning-labs/pull/77#discussion_r201872898","pull_request_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/pulls/77","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/pulls/comments/201872898"},"html":{"href":"https://github.com/CiscoDevNet/coding-series-learning-labs/pull/77#discussion_r201872898"},"pull_request":{"href":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/pulls/77","id":200832120,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwODMyMTIw","html_url":"https://github.com/CiscoDevNet/coding-series-learning-labs/pull/77","diff_url":"https://github.com/CiscoDevNet/coding-series-learning-labs/pull/77.diff","patch_url":"https://github.com/CiscoDevNet/coding-series-learning-labs/pull/77.patch","issue_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/issues/77","number":77,"state":"open","locked":false,"title":"Replace APIC-EM and provide consistency edits on all labs","user":{"login":"charleslavoy","id":38150592,"node_id":"MDQ6VXNlcjM4MTUwNTky","avatar_url":"https://avatars3.githubusercontent.com/u/38150592?v=4","gravatar_id":"","url":"https://api.github.com/users/charleslavoy","html_url":"https://github.com/charleslavoy","followers_url":"https://api.github.com/users/charleslavoy/followers","following_url":"https://api.github.com/users/charleslavoy/following{/other_user}","gists_url":"https://api.github.com/users/charleslavoy/gists{/gist_id}","starred_url":"https://api.github.com/users/charleslavoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charleslavoy/subscriptions","organizations_url":"https://api.github.com/users/charleslavoy/orgs","repos_url":"https://api.github.com/users/charleslavoy/repos","events_url":"https://api.github.com/users/charleslavoy/events{/privacy}","received_events_url":"https://api.github.com/users/charleslavoy/received_events","type":"User","site_admin":false},"body":"@annegentle This is a PR for the entire repo. I completed the task of replacing APIC-EM which you started in the previous PR: https://github.com/CiscoDevNet/coding-series-learning-labs/pull/75/files\r\n\r\nIn addition, I provided the high-level consistency edits on all 10 of the labs, including updating the JSON files and shortening image paths.","created_at":"2018-07-11T21:35:01Z","updated_at":"2018-07-11T23:50:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5554448a4a8c959069dd8454d95636cd942f92cd","assignee":null,"assignees":[],"requested_reviewers":[{"login":"paulzim","id":319171,"node_id":"MDQ6VXNlcjMxOTE3MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/319171?v=4","gravatar_id":"","url":"https://api.github.com/users/paulzim","html_url":"https://github.com/paulzim","followers_url":"https://api.github.com/users/paulzim/followers","following_url":"https://api.github.com/users/paulzim/following{/other_user}","gists_url":"https://api.github.com/users/paulzim/gists{/gist_id}","starred_url":"https://api.github.com/users/paulzim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulzim/subscriptions","organizations_url":"https://api.github.com/users/paulzim/orgs","repos_url":"https://api.github.com/users/paulzim/repos","events_url":"https://api.github.com/users/paulzim/events{/privacy}","received_events_url":"https://api.github.com/users/paulzim/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/pulls/77/commits","review_comments_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/pulls/77/comments","review_comment_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/issues/77/comments","statuses_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/statuses/c83455aaf37d65782c8bcb61c1bf54017c5c0fdc","head":{"label":"CiscoDevNet:replace-apic-em","ref":"replace-apic-em","sha":"c83455aaf37d65782c8bcb61c1bf54017c5c0fdc","user":{"login":"CiscoDevNet","id":8827988,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4Mjc5ODg=","avatar_url":"https://avatars2.githubusercontent.com/u/8827988?v=4","gravatar_id":"","url":"https://api.github.com/users/CiscoDevNet","html_url":"https://github.com/CiscoDevNet","followers_url":"https://api.github.com/users/CiscoDevNet/followers","following_url":"https://api.github.com/users/CiscoDevNet/following{/other_user}","gists_url":"https://api.github.com/users/CiscoDevNet/gists{/gist_id}","starred_url":"https://api.github.com/users/CiscoDevNet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CiscoDevNet/subscriptions","organizations_url":"https://api.github.com/users/CiscoDevNet/orgs","repos_url":"https://api.github.com/users/CiscoDevNet/repos","events_url":"https://api.github.com/users/CiscoDevNet/events{/privacy}","received_events_url":"https://api.github.com/users/CiscoDevNet/received_events","type":"Organization","site_admin":false},"repo":{"id":61832574,"node_id":"MDEwOlJlcG9zaXRvcnk2MTgzMjU3NA==","name":"coding-series-learning-labs","full_name":"CiscoDevNet/coding-series-learning-labs","owner":{"login":"CiscoDevNet","id":8827988,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4Mjc5ODg=","avatar_url":"https://avatars2.githubusercontent.com/u/8827988?v=4","gravatar_id":"","url":"https://api.github.com/users/CiscoDevNet","html_url":"https://github.com/CiscoDevNet","followers_url":"https://api.github.com/users/CiscoDevNet/followers","following_url":"https://api.github.com/users/CiscoDevNet/following{/other_user}","gists_url":"https://api.github.com/users/CiscoDevNet/gists{/gist_id}","starred_url":"https://api.github.com/users/CiscoDevNet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CiscoDevNet/subscriptions","organizations_url":"https://api.github.com/users/CiscoDevNet/orgs","repos_url":"https://api.github.com/users/CiscoDevNet/repos","events_url":"https://api.github.com/users/CiscoDevNet/events{/privacy}","received_events_url":"https://api.github.com/users/CiscoDevNet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CiscoDevNet/coding-series-learning-labs","description":"Source for the Cisco DevNet Coding series learning labs","fork":false,"url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs","forks_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/forks","keys_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/teams","hooks_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/hooks","issue_events_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/issues/events{/number}","events_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/events","assignees_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/assignees{/user}","branches_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/branches{/branch}","tags_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/tags","blobs_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/git/refs{/sha}","trees_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/statuses/{sha}","languages_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/languages","stargazers_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/stargazers","contributors_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/contributors","subscribers_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/subscribers","subscription_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/subscription","commits_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/commits{/sha}","git_commits_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/git/commits{/sha}","comments_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/comments{/number}","issue_comment_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/issues/comments{/number}","contents_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/contents/{+path}","compare_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/merges","archive_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/downloads","issues_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/issues{/number}","pulls_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/pulls{/number}","milestones_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/milestones{/number}","notifications_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/labels{/name}","releases_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/releases{/id}","deployments_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/deployments","created_at":"2016-06-23T19:53:34Z","updated_at":"2018-07-10T21:41:14Z","pushed_at":"2018-07-11T21:35:02Z","git_url":"git://github.com/CiscoDevNet/coding-series-learning-labs.git","ssh_url":"git@github.com:CiscoDevNet/coding-series-learning-labs.git","clone_url":"https://github.com/CiscoDevNet/coding-series-learning-labs.git","svn_url":"https://github.com/CiscoDevNet/coding-series-learning-labs","homepage":null,"size":7726,"stargazers_count":6,"watchers_count":6,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":10,"open_issues":1,"watchers":6,"default_branch":"master"}},"base":{"label":"CiscoDevNet:master","ref":"master","sha":"41f41396a6258e268e3ff4a0978edee0bcd7d762","user":{"login":"CiscoDevNet","id":8827988,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4Mjc5ODg=","avatar_url":"https://avatars2.githubusercontent.com/u/8827988?v=4","gravatar_id":"","url":"https://api.github.com/users/CiscoDevNet","html_url":"https://github.com/CiscoDevNet","followers_url":"https://api.github.com/users/CiscoDevNet/followers","following_url":"https://api.github.com/users/CiscoDevNet/following{/other_user}","gists_url":"https://api.github.com/users/CiscoDevNet/gists{/gist_id}","starred_url":"https://api.github.com/users/CiscoDevNet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CiscoDevNet/subscriptions","organizations_url":"https://api.github.com/users/CiscoDevNet/orgs","repos_url":"https://api.github.com/users/CiscoDevNet/repos","events_url":"https://api.github.com/users/CiscoDevNet/events{/privacy}","received_events_url":"https://api.github.com/users/CiscoDevNet/received_events","type":"Organization","site_admin":false},"repo":{"id":61832574,"node_id":"MDEwOlJlcG9zaXRvcnk2MTgzMjU3NA==","name":"coding-series-learning-labs","full_name":"CiscoDevNet/coding-series-learning-labs","owner":{"login":"CiscoDevNet","id":8827988,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4Mjc5ODg=","avatar_url":"https://avatars2.githubusercontent.com/u/8827988?v=4","gravatar_id":"","url":"https://api.github.com/users/CiscoDevNet","html_url":"https://github.com/CiscoDevNet","followers_url":"https://api.github.com/users/CiscoDevNet/followers","following_url":"https://api.github.com/users/CiscoDevNet/following{/other_user}","gists_url":"https://api.github.com/users/CiscoDevNet/gists{/gist_id}","starred_url":"https://api.github.com/users/CiscoDevNet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CiscoDevNet/subscriptions","organizations_url":"https://api.github.com/users/CiscoDevNet/orgs","repos_url":"https://api.github.com/users/CiscoDevNet/repos","events_url":"https://api.github.com/users/CiscoDevNet/events{/privacy}","received_events_url":"https://api.github.com/users/CiscoDevNet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CiscoDevNet/coding-series-learning-labs","description":"Source for the Cisco DevNet Coding series learning labs","fork":false,"url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs","forks_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/forks","keys_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/teams","hooks_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/hooks","issue_events_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/issues/events{/number}","events_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/events","assignees_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/assignees{/user}","branches_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/branches{/branch}","tags_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/tags","blobs_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/git/refs{/sha}","trees_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/statuses/{sha}","languages_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/languages","stargazers_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/stargazers","contributors_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/contributors","subscribers_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/subscribers","subscription_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/subscription","commits_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/commits{/sha}","git_commits_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/git/commits{/sha}","comments_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/comments{/number}","issue_comment_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/issues/comments{/number}","contents_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/contents/{+path}","compare_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/merges","archive_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/downloads","issues_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/issues{/number}","pulls_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/pulls{/number}","milestones_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/milestones{/number}","notifications_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/labels{/name}","releases_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/releases{/id}","deployments_url":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/deployments","created_at":"2016-06-23T19:53:34Z","updated_at":"2018-07-10T21:41:14Z","pushed_at":"2018-07-11T21:35:02Z","git_url":"git://github.com/CiscoDevNet/coding-series-learning-labs.git","ssh_url":"git@github.com:CiscoDevNet/coding-series-learning-labs.git","clone_url":"https://github.com/CiscoDevNet/coding-series-learning-labs.git","svn_url":"https://github.com/CiscoDevNet/coding-series-learning-labs","homepage":null,"size":7726,"stargazers_count":6,"watchers_count":6,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":10,"open_issues":1,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/pulls/77"},"html":{"href":"https://github.com/CiscoDevNet/coding-series-learning-labs/pull/77"},"issue":{"href":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/issues/77"},"comments":{"href":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/CiscoDevNet/coding-series-learning-labs/statuses/c83455aaf37d65782c8bcb61c1bf54017c5c0fdc"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"annegentle"}}