Skip to content

Commit 8bd8e51

Browse files
committed
Apply minor fixes to 2013-10-04 blog post
1 parent c4a8f9b commit 8bd8e51

7 files changed

Lines changed: 90 additions & 96 deletions

File tree

changes.atom

Lines changed: 60 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<feed xmlns="http://www.w3.org/2005/Atom">
33
<id>http://developer.github.com/</id>
44
<title>GitHub API Changes</title>
5-
<updated>2013-10-04T07:00:00Z</updated>
5+
<updated>2013-10-04T04:00:00Z</updated>
66
<link rel="alternate" href="http://developer.github.com/" />
77
<link rel="self" href="http://developer.github.com/changes.atom" />
88
<author>
@@ -12,8 +12,8 @@
1212
<entry>
1313
<id>tag:developer.github.com,2013-10-04:/changes/2013-10-04-oauth-changes-coming/</id>
1414
<title type="html">OAuth changes coming</title>
15-
<published>2013-10-04T07:00:00Z</published>
16-
<updated>2013-10-04T07:00:00Z</updated>
15+
<published>2013-10-04T04:00:00Z</published>
16+
<updated>2013-10-04T04:00:00Z</updated>
1717
<author>
1818
<name>tclem</name>
1919
<uri>https://github.com/technoweenie</uri>
@@ -24,13 +24,11 @@
2424
For example, if you are making a POST with the &lt;code&gt;application/json&lt;/code&gt;
2525
mime-type you’ll see an additional field for the granted scopes.&lt;/p&gt;
2626

27-
&lt;pre class="highlight"&gt;
28-
&lt;code class="language-javascript"&gt;&lt;span class="p"&gt;{&lt;/span&gt;
27+
&lt;pre class="highlight"&gt;&lt;code class="language-javascript"&gt;&lt;span class="p"&gt;{&lt;/span&gt;
2928
&lt;span class="s2"&gt;"access_token"&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"e72e16c7e42f292c6912e7710c838347ae178b4a"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
3029
&lt;span class="s2"&gt;"scope"&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"repo,gist"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
3130
&lt;span class="s2"&gt;"token_type"&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"bearer"&lt;/span&gt;
32-
&lt;span class="p"&gt;}&lt;/span&gt;&lt;/code&gt;
33-
&lt;/pre&gt;
31+
&lt;span class="p"&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
3432

3533
&lt;p&gt;Right now, these scopes will be identical to what you requested, but we
3634
are moving towards a feature set that will allow GitHub users to edit
@@ -48,7 +46,7 @@ minimum access that the application can possibly get away with.
4846
Something like no scopes or just &lt;code&gt;user:email&lt;/code&gt; is very sane.&lt;/p&gt;
4947
&lt;/li&gt;
5048
&lt;li&gt;
51-
&lt;p&gt;It is important to handle the error cases where a users chooses to
49+
&lt;p&gt;It is important to handle the error cases where a user chooses to
5250
grant you less access than you originally requested. Now that we are
5351
surfacing the granted scopes on the access_token response, applications
5452
can warn or otherwise communicate with their users that they will see
@@ -63,8 +61,8 @@ additional permission, but don’t forget that users can always say no.&lt;/p&gt
6361
<entry>
6462
<id>tag:developer.github.com,2013-09-28:/changes/2013-09-28-an-update-on-the-new-search-api/</id>
6563
<title type="html">An Update on the New Search API</title>
66-
<published>2013-09-28T07:00:00Z</published>
67-
<updated>2013-09-28T07:00:00Z</updated>
64+
<published>2013-09-28T04:00:00Z</published>
65+
<updated>2013-09-28T04:00:00Z</updated>
6866
<author>
6967
<name>jasonrudolph</name>
7068
<uri>https://github.com/technoweenie</uri>
@@ -87,8 +85,8 @@ and we expect to have more news in the coming weeks.&lt;/p&gt;
8785
<entry>
8886
<id>tag:developer.github.com,2013-09-25:/changes/2013-09-25-releases-api/</id>
8987
<title type="html">Releases API</title>
90-
<published>2013-09-25T07:00:00Z</published>
91-
<updated>2013-09-25T07:00:00Z</updated>
88+
<published>2013-09-25T04:00:00Z</published>
89+
<updated>2013-09-25T04:00:00Z</updated>
9290
<author>
9391
<name>technoweenie</name>
9492
<uri>https://github.com/technoweenie</uri>
@@ -150,8 +148,8 @@ a member of the Avengers, with the ability to teleport through time and space.
150148
<entry>
151149
<id>tag:developer.github.com,2013-09-03:/changes/2013-09-03-two-factor-authentication/</id>
152150
<title type="html">Two-Factor Authentication and the API</title>
153-
<published>2013-09-03T07:00:00Z</published>
154-
<updated>2013-09-03T07:00:00Z</updated>
151+
<published>2013-09-03T04:00:00Z</published>
152+
<updated>2013-09-03T04:00:00Z</updated>
155153
<author>
156154
<name>mastahyeti</name>
157155
<uri>https://github.com/technoweenie</uri>
@@ -199,8 +197,8 @@ two-factor authentication. As always, if you have any questions or feedback,
199197
<entry>
200198
<id>tag:developer.github.com,2013-08-20:/changes/2013-08-20-search-api-improvements/</id>
201199
<title type="html">Improvements to the Search API</title>
202-
<published>2013-08-20T07:00:00Z</published>
203-
<updated>2013-08-20T07:00:00Z</updated>
200+
<published>2013-08-20T04:00:00Z</published>
201+
<updated>2013-08-20T04:00:00Z</updated>
204202
<author>
205203
<name>jasonrudolph</name>
206204
<uri>https://github.com/technoweenie</uri>
@@ -272,8 +270,8 @@ We appreciate everyone that has provided feedback so far. Please &lt;a href="htt
272270
<entry>
273271
<id>tag:developer.github.com,2013-07-19:/changes/2013-07-19-preview-the-new-search-api/</id>
274272
<title type="html">Preview the New Search API</title>
275-
<published>2013-07-19T07:00:00Z</published>
276-
<updated>2013-07-19T07:00:00Z</updated>
273+
<published>2013-07-19T04:00:00Z</published>
274+
<updated>2013-07-19T04:00:00Z</updated>
277275
<author>
278276
<name>jasonrudolph</name>
279277
<uri>https://github.com/technoweenie</uri>
@@ -333,8 +331,8 @@ GitHub API v3.&lt;/p&gt;
333331
<entry>
334332
<id>tag:developer.github.com,2013-07-02:/changes/2013-07-02-rate-limit-reset/</id>
335333
<title type="html">When Does My Rate Limit Reset?</title>
336-
<published>2013-07-02T07:00:00Z</published>
337-
<updated>2013-07-02T07:00:00Z</updated>
334+
<published>2013-07-02T04:00:00Z</published>
335+
<updated>2013-07-02T04:00:00Z</updated>
338336
<author>
339337
<name>jasonrudolph</name>
340338
<uri>https://github.com/technoweenie</uri>
@@ -377,8 +375,8 @@ $ curl https://api.github.com/rate_limit
377375
<entry>
378376
<id>tag:developer.github.com,2013-07-01:/changes/2013-07-01-feeds-api/</id>
379377
<title type="html">Feeds API</title>
380-
<published>2013-07-01T07:00:00Z</published>
381-
<updated>2013-07-01T07:00:00Z</updated>
378+
<published>2013-07-01T04:00:00Z</published>
379+
<updated>2013-07-01T04:00:00Z</updated>
382380
<author>
383381
<name>pengwynn</name>
384382
<uri>https://github.com/technoweenie</uri>
@@ -433,8 +431,8 @@ curl -u defunkt https://api.github.com/feeds
433431
<entry>
434432
<id>tag:developer.github.com,2013-05-06:/changes/2013-05-06-repository-stats/</id>
435433
<title type="html">Repository Statistics</title>
436-
<published>2013-05-06T07:00:00Z</published>
437-
<updated>2013-05-06T07:00:00Z</updated>
434+
<published>2013-05-06T04:00:00Z</published>
435+
<updated>2013-05-06T04:00:00Z</updated>
438436
<author>
439437
<name>Caged</name>
440438
<uri>https://github.com/technoweenie</uri>
@@ -457,8 +455,8 @@ but we can’t wait to see what others can do with this information.&lt;/p&gt;
457455
<entry>
458456
<id>tag:developer.github.com,2013-05-06:/changes/2013-05-06-create-update-delete-individual-files/</id>
459457
<title type="html">Create, update, and delete individual files</title>
460-
<published>2013-05-06T07:00:00Z</published>
461-
<updated>2013-05-06T07:00:00Z</updated>
458+
<published>2013-05-06T04:00:00Z</published>
459+
<updated>2013-05-06T04:00:00Z</updated>
462460
<author>
463461
<name>ymendel</name>
464462
<uri>https://github.com/technoweenie</uri>
@@ -474,8 +472,8 @@ but we can’t wait to see what others can do with this information.&lt;/p&gt;
474472
<entry>
475473
<id>tag:developer.github.com,2013-04-30:/changes/2013-04-30-statuses-for-branches-and-tags/</id>
476474
<title type="html">Commit Statuses Now Available for Branches and Tags</title>
477-
<published>2013-04-30T07:00:00Z</published>
478-
<updated>2013-04-30T07:00:00Z</updated>
475+
<published>2013-04-30T04:00:00Z</published>
476+
<updated>2013-04-30T04:00:00Z</updated>
479477
<author>
480478
<name>foca</name>
481479
<uri>https://github.com/technoweenie</uri>
@@ -494,8 +492,8 @@ curl https://api.github.com/repos/rails/rails/statuses/3-2-stable
494492
<entry>
495493
<id>tag:developer.github.com,2013-04-30:/changes/2013-04-30-improved-submodule-support-in-repository-contents-api/</id>
496494
<title type="html">Improved Support for Submodules in the Repository Contents API</title>
497-
<published>2013-04-30T07:00:00Z</published>
498-
<updated>2013-04-30T07:00:00Z</updated>
495+
<published>2013-04-30T04:00:00Z</published>
496+
<updated>2013-04-30T04:00:00Z</updated>
499497
<author>
500498
<name>jasonrudolph</name>
501499
<uri>https://github.com/technoweenie</uri>
@@ -534,8 +532,8 @@ curl https://api.github.com/repos/jquery/jquery/contents/test/qunit
534532
<entry>
535533
<id>tag:developer.github.com,2013-04-25:/changes/2013-04-25-deprecating-merge-commit-sha/</id>
536534
<title type="html">Deprecating a Confusing Attribute in the Pull Request API</title>
537-
<published>2013-04-25T07:00:00Z</published>
538-
<updated>2013-04-25T07:00:00Z</updated>
535+
<published>2013-04-25T04:00:00Z</published>
536+
<updated>2013-04-25T04:00:00Z</updated>
539537
<author>
540538
<name>jasonrudolph</name>
541539
<uri>https://github.com/technoweenie</uri>
@@ -561,8 +559,8 @@ remove it in the next major version of the API.&lt;/p&gt;
561559
<entry>
562560
<id>tag:developer.github.com,2013-04-24:/changes/2013-04-24-user-agent-required/</id>
563561
<title type="html">User Agent now mandatory</title>
564-
<published>2013-04-24T07:00:00Z</published>
565-
<updated>2013-04-24T07:00:00Z</updated>
562+
<published>2013-04-24T04:00:00Z</published>
563+
<updated>2013-04-24T04:00:00Z</updated>
566564
<author>
567565
<name>pengwynn</name>
568566
<uri>https://github.com/technoweenie</uri>
@@ -579,8 +577,8 @@ responses, be sure and check your code.&lt;/p&gt;
579577
<entry>
580578
<id>tag:developer.github.com,2013-03-01:/changes/2013-3-1-new-hookshot-coming/</id>
581579
<title type="html">New Hookshot Changes</title>
582-
<published>2013-03-01T08:00:00Z</published>
583-
<updated>2013-03-01T08:00:00Z</updated>
580+
<published>2013-03-01T05:00:00Z</published>
581+
<updated>2013-03-01T05:00:00Z</updated>
584582
<author>
585583
<name>technoweenie</name>
586584
<uri>https://github.com/technoweenie</uri>
@@ -607,8 +605,8 @@ requests&lt;/a&gt; very soon :)&lt;/p&gt;</content>
607605
<entry>
608606
<id>tag:developer.github.com,2013-02-14:/changes/2013-2-13-sortable-stars/</id>
609607
<title type="html">Sortable Stars in Repository Starring API</title>
610-
<published>2013-02-14T08:00:00Z</published>
611-
<updated>2013-02-14T08:00:00Z</updated>
608+
<published>2013-02-14T05:00:00Z</published>
609+
<updated>2013-02-14T05:00:00Z</updated>
612610
<author>
613611
<name>pengwynn</name>
614612
<uri>https://github.com/technoweenie</uri>
@@ -667,8 +665,8 @@ if you have any questions.&lt;/p&gt;</content>
667665
<entry>
668666
<id>tag:developer.github.com,2013-02-05:/changes/2013-2-5-changes-to-services/</id>
669667
<title type="html">Upcoming Changes to GitHub Services</title>
670-
<published>2013-02-05T08:00:00Z</published>
671-
<updated>2013-02-05T08:00:00Z</updated>
668+
<published>2013-02-05T05:00:00Z</published>
669+
<updated>2013-02-05T05:00:00Z</updated>
672670
<author>
673671
<name>technoweenie</name>
674672
<uri>https://github.com/technoweenie</uri>
@@ -706,8 +704,8 @@ over 100 services is taking too much of this focus away.&lt;/p&gt;</content>
706704
<entry>
707705
<id>tag:developer.github.com,2013-01-31:/changes/2013-01-31-user-agent-will-soon-be-mandatory/</id>
708706
<title type="html">User Agent mandatory from March 4th 2013</title>
709-
<published>2013-01-31T08:00:00Z</published>
710-
<updated>2013-01-31T08:00:00Z</updated>
707+
<published>2013-01-31T05:00:00Z</published>
708+
<updated>2013-01-31T05:00:00Z</updated>
711709
<author>
712710
<name>agh</name>
713711
<uri>https://github.com/technoweenie</uri>
@@ -731,8 +729,8 @@ many of our users to make any changes whatsoever.&lt;/p&gt;
731729
<entry>
732730
<id>tag:developer.github.com,2013-01-08:/changes/2013-01-08-new-user-scopes/</id>
733731
<title type="html">New User scopes</title>
734-
<published>2013-01-08T08:00:00Z</published>
735-
<updated>2013-01-08T08:00:00Z</updated>
732+
<published>2013-01-08T05:00:00Z</published>
733+
<updated>2013-01-08T05:00:00Z</updated>
736734
<author>
737735
<name>technoweenie</name>
738736
<uri>https://github.com/technoweenie</uri>
@@ -754,8 +752,8 @@ can be potentially dangerous.&lt;/p&gt;
754752
<entry>
755753
<id>tag:developer.github.com,2012-12-10:/changes/2012-12-10-Diff-and-patch-media-types/</id>
756754
<title type="html">Diff and patch media types</title>
757-
<published>2012-12-10T08:00:00Z</published>
758-
<updated>2012-12-10T08:00:00Z</updated>
755+
<published>2012-12-10T05:00:00Z</published>
756+
<updated>2012-12-10T05:00:00Z</updated>
759757
<author>
760758
<name>pengwynn</name>
761759
<uri>https://github.com/technoweenie</uri>
@@ -788,8 +786,8 @@ index 1f599cb..abaf625 100755
788786
<entry>
789787
<id>tag:developer.github.com,2012-12-09:/changes/2012-12-09-organization-repositories-results-now-paginate/</id>
790788
<title type="html">Pagination for Organization Repository lists now paginates properly</title>
791-
<published>2012-12-09T08:00:00Z</published>
792-
<updated>2012-12-09T08:00:00Z</updated>
789+
<published>2012-12-09T05:00:00Z</published>
790+
<updated>2012-12-09T05:00:00Z</updated>
793791
<author>
794792
<name>rick</name>
795793
<uri>https://github.com/technoweenie</uri>
@@ -811,8 +809,8 @@ regardless of what you send in the &lt;code&gt;type&lt;/code&gt; parameter.&lt;/
811809
<entry>
812810
<id>tag:developer.github.com,2012-12-08:/changes/2012-12-08-finding-source-and-fork-repos-for-organizations/</id>
813811
<title type="html">Finding sources and fork repositories for organizations</title>
814-
<published>2012-12-08T08:00:00Z</published>
815-
<updated>2012-12-08T08:00:00Z</updated>
812+
<published>2012-12-08T05:00:00Z</published>
813+
<updated>2012-12-08T05:00:00Z</updated>
816814
<author>
817815
<name>rick</name>
818816
<uri>https://github.com/technoweenie</uri>
@@ -840,8 +838,8 @@ curl "https://api.github.com/orgs/:org/repos?type=sources"
840838
<entry>
841839
<id>tag:developer.github.com,2012-12-06:/changes/2012-12-06-create-authorization-for-app/</id>
842840
<title type="html">Create an OAuth authorization for an app</title>
843-
<published>2012-12-06T08:00:00Z</published>
844-
<updated>2012-12-06T08:00:00Z</updated>
841+
<published>2012-12-06T05:00:00Z</published>
842+
<updated>2012-12-06T05:00:00Z</updated>
845843
<author>
846844
<name>pengwynn</name>
847845
<uri>https://github.com/technoweenie</uri>
@@ -878,8 +876,8 @@ app’s rate limit.&lt;/p&gt;</content>
878876
<entry>
879877
<id>tag:developer.github.com,2012-12-04:/changes/2012-12-04-List-comments-for-repo/</id>
880878
<title type="html">Per-repository Review and Issue Comment&amp;nbsp;listing</title>
881-
<published>2012-12-04T08:00:00Z</published>
882-
<updated>2012-12-04T08:00:00Z</updated>
879+
<published>2012-12-04T05:00:00Z</published>
880+
<updated>2012-12-04T05:00:00Z</updated>
883881
<author>
884882
<name>pengwynn</name>
885883
<uri>https://github.com/technoweenie</uri>
@@ -909,8 +907,8 @@ curl https://api.github.com/repos/mathiasbynens/dotfiles/pulls/comments
909907
<entry>
910908
<id>tag:developer.github.com,2012-11-29:/changes/2012-11-29-gitignore-templates/</id>
911909
<title type="html">Gitignore Templates API</title>
912-
<published>2012-11-29T08:00:00Z</published>
913-
<updated>2012-11-29T08:00:00Z</updated>
910+
<published>2012-11-29T05:00:00Z</published>
911+
<updated>2012-11-29T05:00:00Z</updated>
914912
<author>
915913
<name>pengwynn</name>
916914
<uri>https://github.com/technoweenie</uri>
@@ -968,8 +966,8 @@ DerivedData
968966
<entry>
969967
<id>tag:developer.github.com,2012-11-27:/changes/2012-11-27-forking-to-organizations/</id>
970968
<title type="html">Forking to Organizations</title>
971-
<published>2012-11-27T08:00:00Z</published>
972-
<updated>2012-11-27T08:00:00Z</updated>
969+
<published>2012-11-27T05:00:00Z</published>
970+
<updated>2012-11-27T05:00:00Z</updated>
973971
<author>
974972
<name>technoweenie</name>
975973
<uri>https://github.com/technoweenie</uri>
@@ -1003,8 +1001,8 @@ major change of the GitHub API.&lt;/p&gt;</content>
10031001
<entry>
10041002
<id>tag:developer.github.com,2012-10-31:/changes/2012-10-31-gist-comment-uris/</id>
10051003
<title type="html">Gist comment URIs</title>
1006-
<published>2012-10-31T07:00:00Z</published>
1007-
<updated>2012-10-31T07:00:00Z</updated>
1004+
<published>2012-10-31T04:00:00Z</published>
1005+
<updated>2012-10-31T04:00:00Z</updated>
10081006
<author>
10091007
<name>pezra</name>
10101008
<uri>https://github.com/technoweenie</uri>
@@ -1019,8 +1017,8 @@ major change of the GitHub API.&lt;/p&gt;</content>
10191017
<entry>
10201018
<id>tag:developer.github.com,2012-10-26:/changes/2012-10-26-notifications-api/</id>
10211019
<title type="html">Notifications API</title>
1022-
<published>2012-10-26T07:00:00Z</published>
1023-
<updated>2012-10-26T07:00:00Z</updated>
1020+
<published>2012-10-26T04:00:00Z</published>
1021+
<updated>2012-10-26T04:00:00Z</updated>
10241022
<author>
10251023
<name>technoweenie</name>
10261024
<uri>https://github.com/technoweenie</uri>

changes/2013-10-04-oauth-changes-coming/index.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,11 @@ <h2 class="title">
6161
For example, if you are making a POST with the <code>application/json</code>
6262
mime-type you’ll see an additional field for the granted scopes.</p>
6363

64-
<pre class="highlight">
65-
<code class="language-javascript"><span class="p">{</span>
64+
<pre class="highlight"><code class="language-javascript"><span class="p">{</span>
6665
<span class="s2">"access_token"</span><span class="o">:</span><span class="s2">"e72e16c7e42f292c6912e7710c838347ae178b4a"</span><span class="p">,</span>
6766
<span class="s2">"scope"</span><span class="o">:</span><span class="s2">"repo,gist"</span><span class="p">,</span>
6867
<span class="s2">"token_type"</span><span class="o">:</span><span class="s2">"bearer"</span>
69-
<span class="p">}</span></code>
70-
</pre>
68+
<span class="p">}</span></code></pre>
7169

7270
<p>Right now, these scopes will be identical to what you requested, but we
7371
are moving towards a feature set that will allow GitHub users to edit
@@ -85,7 +83,7 @@ <h2 class="title">
8583
Something like no scopes or just <code>user:email</code> is very sane.</p>
8684
</li>
8785
<li>
88-
<p>It is important to handle the error cases where a users chooses to
86+
<p>It is important to handle the error cases where a user chooses to
8987
grant you less access than you originally requested. Now that we are
9088
surfacing the granted scopes on the access_token response, applications
9189
can warn or otherwise communicate with their users that they will see

changes/index.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,11 @@ <h2 class="title">
6161
For example, if you are making a POST with the <code>application/json</code>
6262
mime-type you’ll see an additional field for the granted scopes.</p>
6363

64-
<pre class="highlight">
65-
<code class="language-javascript"><span class="p">{</span>
64+
<pre class="highlight"><code class="language-javascript"><span class="p">{</span>
6665
<span class="s2">"access_token"</span><span class="o">:</span><span class="s2">"e72e16c7e42f292c6912e7710c838347ae178b4a"</span><span class="p">,</span>
6766
<span class="s2">"scope"</span><span class="o">:</span><span class="s2">"repo,gist"</span><span class="p">,</span>
6867
<span class="s2">"token_type"</span><span class="o">:</span><span class="s2">"bearer"</span>
69-
<span class="p">}</span></code>
70-
</pre>
68+
<span class="p">}</span></code></pre>
7169

7270
<p>Right now, these scopes will be identical to what you requested, but we
7371
are moving towards a feature set that will allow GitHub users to edit
@@ -85,7 +83,7 @@ <h2 class="title">
8583
Something like no scopes or just <code>user:email</code> is very sane.</p>
8684
</li>
8785
<li>
88-
<p>It is important to handle the error cases where a users chooses to
86+
<p>It is important to handle the error cases where a user chooses to
8987
grant you less access than you originally requested. Now that we are
9088
surfacing the granted scopes on the access_token response, applications
9189
can warn or otherwise communicate with their users that they will see

0 commit comments

Comments
 (0)