Skip to content

Commit 579e88b

Browse files
committed
Document submodule handling in Repo Contents API
1 parent 6904b20 commit 579e88b

File tree

8 files changed

+454
-64
lines changed

8 files changed

+454
-64
lines changed

changes.atom

Lines changed: 83 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,58 @@
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-04-25T06:00:00Z</updated>
5+
<updated>2013-04-30T04: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>
99
<name>technoweenie</name>
1010
<uri>https://github.com/technoweenie</uri>
1111
</author>
12+
<entry>
13+
<id>tag:developer.github.com,2013-04-30:/changes/2013-04-30-improved-submodule-support-in-repository-contents-api/</id>
14+
<title type="html">Improved Support for Submodules in the Repository Contents API</title>
15+
<published>2013-04-30T04:00:00Z</published>
16+
<updated>2013-04-30T04:00:00Z</updated>
17+
<author>
18+
<name>jasonrudolph</name>
19+
<uri>https://github.com/technoweenie</uri>
20+
</author>
21+
<link rel="alternate" href="http://developer.github.com/changes/2013-04-30-improved-submodule-support-in-repository-contents-api/" />
22+
<content type="html">&lt;p&gt;When you view a repository with a submodule on github.com, you get useful links and information for the submodule.&lt;/p&gt;
23+
24+
&lt;p&gt;&lt;a href="/images/posts/submodule-links.png"&gt;&lt;img src="/images/posts/submodule-links.png" alt="Repository Contents with Submodule"&gt;&lt;/a&gt;&lt;/p&gt;
25+
26+
&lt;p&gt;Today we’re making that data available in the &lt;a href="/v3/repos/contents/#get-contents"&gt;Repository Contents API&lt;/a&gt;.&lt;/p&gt;
27+
28+
&lt;pre class="terminal"&gt;
29+
curl https://api.github.com/repos/jquery/jquery/contents/test/qunit
30+
31+
{
32+
"name": "qunit",
33+
"path": "test/qunit",
34+
"type": "submodule",
35+
"submodule_git_url": "git://github.com/jquery/qunit.git",
36+
"sha": "6ca3721222109997540bd6d9ccd396902e0ad2f9",
37+
"size": 0,
38+
"url": "https://api.github.com/repos/jquery/jquery/contents/test/qunit?ref=master",
39+
"git_url": "https://api.github.com/repos/jquery/qunit/git/trees/6ca3721222109997540bd6d9ccd396902e0ad2f9",
40+
"html_url": "https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9",
41+
"_links": {
42+
"self": "https://api.github.com/repos/jquery/jquery/contents/test/qunit?ref=master",
43+
"git": "https://api.github.com/repos/jquery/qunit/git/trees/6ca3721222109997540bd6d9ccd396902e0ad2f9",
44+
"html": "https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9"
45+
}
46+
}
47+
&lt;/pre&gt;
48+
49+
&lt;p&gt;If you have any questions or feedback, please drop us a line at
50+
&lt;a href="mailto:[email protected]?subject=Submodules%20in%20Repository%20Contents%20API"&gt;[email protected]&lt;/a&gt;.&lt;/p&gt;</content>
51+
</entry>
1252
<entry>
1353
<id>tag:developer.github.com,2013-04-25:/changes/2013-04-25-deprecating-merge-commit-sha/</id>
1454
<title type="html">Deprecating a Confusing Attribute in the Pull Request API</title>
15-
<published>2013-04-25T06:00:00Z</published>
16-
<updated>2013-04-25T06:00:00Z</updated>
55+
<published>2013-04-25T04:00:00Z</published>
56+
<updated>2013-04-25T04:00:00Z</updated>
1757
<author>
1858
<name>jasonrudolph</name>
1959
<uri>https://github.com/technoweenie</uri>
@@ -39,8 +79,8 @@ remove it in the next major version of the API.&lt;/p&gt;
3979
<entry>
4080
<id>tag:developer.github.com,2013-04-24:/changes/2013-04-24-user-agent-required/</id>
4181
<title type="html">User Agent now mandatory</title>
42-
<published>2013-04-24T06:00:00Z</published>
43-
<updated>2013-04-24T06:00:00Z</updated>
82+
<published>2013-04-24T04:00:00Z</published>
83+
<updated>2013-04-24T04:00:00Z</updated>
4484
<author>
4585
<name>pengwynn</name>
4686
<uri>https://github.com/technoweenie</uri>
@@ -57,8 +97,8 @@ responses, be sure and check your code.&lt;/p&gt;
5797
<entry>
5898
<id>tag:developer.github.com,2013-03-01:/changes/2013-3-1-new-hookshot-coming/</id>
5999
<title type="html">New Hookshot Changes</title>
60-
<published>2013-03-01T07:00:00Z</published>
61-
<updated>2013-03-01T07:00:00Z</updated>
100+
<published>2013-03-01T05:00:00Z</published>
101+
<updated>2013-03-01T05:00:00Z</updated>
62102
<author>
63103
<name>technoweenie</name>
64104
<uri>https://github.com/technoweenie</uri>
@@ -85,8 +125,8 @@ requests&lt;/a&gt; very soon :)&lt;/p&gt;</content>
85125
<entry>
86126
<id>tag:developer.github.com,2013-02-14:/changes/2013-2-13-sortable-stars/</id>
87127
<title type="html">Sortable Stars in Repository Starring API</title>
88-
<published>2013-02-14T07:00:00Z</published>
89-
<updated>2013-02-14T07:00:00Z</updated>
128+
<published>2013-02-14T05:00:00Z</published>
129+
<updated>2013-02-14T05:00:00Z</updated>
90130
<author>
91131
<name>pengwynn</name>
92132
<uri>https://github.com/technoweenie</uri>
@@ -145,8 +185,8 @@ if you have any questions.&lt;/p&gt;</content>
145185
<entry>
146186
<id>tag:developer.github.com,2013-02-05:/changes/2013-2-5-changes-to-services/</id>
147187
<title type="html">Upcoming Changes to GitHub Services</title>
148-
<published>2013-02-05T07:00:00Z</published>
149-
<updated>2013-02-05T07:00:00Z</updated>
188+
<published>2013-02-05T05:00:00Z</published>
189+
<updated>2013-02-05T05:00:00Z</updated>
150190
<author>
151191
<name>technoweenie</name>
152192
<uri>https://github.com/technoweenie</uri>
@@ -184,8 +224,8 @@ over 100 services is taking too much of this focus away.&lt;/p&gt;</content>
184224
<entry>
185225
<id>tag:developer.github.com,2013-01-31:/changes/2013-01-31-user-agent-will-soon-be-mandatory/</id>
186226
<title type="html">User Agent mandatory from March 4th 2013</title>
187-
<published>2013-01-31T07:00:00Z</published>
188-
<updated>2013-01-31T07:00:00Z</updated>
227+
<published>2013-01-31T05:00:00Z</published>
228+
<updated>2013-01-31T05:00:00Z</updated>
189229
<author>
190230
<name>agh</name>
191231
<uri>https://github.com/technoweenie</uri>
@@ -209,8 +249,8 @@ many of our users to make any changes whatsoever.&lt;/p&gt;
209249
<entry>
210250
<id>tag:developer.github.com,2013-01-08:/changes/2013-01-08-new-user-scopes/</id>
211251
<title type="html">New User scopes</title>
212-
<published>2013-01-08T07:00:00Z</published>
213-
<updated>2013-01-08T07:00:00Z</updated>
252+
<published>2013-01-08T05:00:00Z</published>
253+
<updated>2013-01-08T05:00:00Z</updated>
214254
<author>
215255
<name>technoweenie</name>
216256
<uri>https://github.com/technoweenie</uri>
@@ -232,8 +272,8 @@ can be potentially dangerous.&lt;/p&gt;
232272
<entry>
233273
<id>tag:developer.github.com,2012-12-10:/changes/2012-12-10-Diff-and-patch-media-types/</id>
234274
<title type="html">Diff and patch media types</title>
235-
<published>2012-12-10T07:00:00Z</published>
236-
<updated>2012-12-10T07:00:00Z</updated>
275+
<published>2012-12-10T05:00:00Z</published>
276+
<updated>2012-12-10T05:00:00Z</updated>
237277
<author>
238278
<name>pengwynn</name>
239279
<uri>https://github.com/technoweenie</uri>
@@ -266,8 +306,8 @@ index 1f599cb..abaf625 100755
266306
<entry>
267307
<id>tag:developer.github.com,2012-12-09:/changes/2012-12-09-organization-repositories-results-now-paginate/</id>
268308
<title type="html">Pagination for Organization Repository lists now paginates properly</title>
269-
<published>2012-12-09T07:00:00Z</published>
270-
<updated>2012-12-09T07:00:00Z</updated>
309+
<published>2012-12-09T05:00:00Z</published>
310+
<updated>2012-12-09T05:00:00Z</updated>
271311
<author>
272312
<name>rick</name>
273313
<uri>https://github.com/technoweenie</uri>
@@ -289,8 +329,8 @@ regardless of what you send in the &lt;code&gt;type&lt;/code&gt; parameter.&lt;/
289329
<entry>
290330
<id>tag:developer.github.com,2012-12-08:/changes/2012-12-08-finding-source-and-fork-repos-for-organizations/</id>
291331
<title type="html">Finding sources and fork repositories for organizations</title>
292-
<published>2012-12-08T07:00:00Z</published>
293-
<updated>2012-12-08T07:00:00Z</updated>
332+
<published>2012-12-08T05:00:00Z</published>
333+
<updated>2012-12-08T05:00:00Z</updated>
294334
<author>
295335
<name>rick</name>
296336
<uri>https://github.com/technoweenie</uri>
@@ -318,8 +358,8 @@ curl "https://api.github.com/orgs/:org/repos?type=sources"
318358
<entry>
319359
<id>tag:developer.github.com,2012-12-06:/changes/2012-12-06-create-authorization-for-app/</id>
320360
<title type="html">Create an OAuth authorization for an app</title>
321-
<published>2012-12-06T07:00:00Z</published>
322-
<updated>2012-12-06T07:00:00Z</updated>
361+
<published>2012-12-06T05:00:00Z</published>
362+
<updated>2012-12-06T05:00:00Z</updated>
323363
<author>
324364
<name>pengwynn</name>
325365
<uri>https://github.com/technoweenie</uri>
@@ -356,8 +396,8 @@ app’s rate limit.&lt;/p&gt;</content>
356396
<entry>
357397
<id>tag:developer.github.com,2012-12-04:/changes/2012-12-04-List-comments-for-repo/</id>
358398
<title type="html">Per-repository Review and Issue Comment&amp;nbsp;listing</title>
359-
<published>2012-12-04T07:00:00Z</published>
360-
<updated>2012-12-04T07:00:00Z</updated>
399+
<published>2012-12-04T05:00:00Z</published>
400+
<updated>2012-12-04T05:00:00Z</updated>
361401
<author>
362402
<name>pengwynn</name>
363403
<uri>https://github.com/technoweenie</uri>
@@ -387,8 +427,8 @@ curl https://api.github.com/repos/mathiasbynens/dotfiles/pulls/comments
387427
<entry>
388428
<id>tag:developer.github.com,2012-11-29:/changes/2012-11-29-gitignore-templates/</id>
389429
<title type="html">Gitignore Templates API</title>
390-
<published>2012-11-29T07:00:00Z</published>
391-
<updated>2012-11-29T07:00:00Z</updated>
430+
<published>2012-11-29T05:00:00Z</published>
431+
<updated>2012-11-29T05:00:00Z</updated>
392432
<author>
393433
<name>pengwynn</name>
394434
<uri>https://github.com/technoweenie</uri>
@@ -446,8 +486,8 @@ DerivedData
446486
<entry>
447487
<id>tag:developer.github.com,2012-11-27:/changes/2012-11-27-forking-to-organizations/</id>
448488
<title type="html">Forking to Organizations</title>
449-
<published>2012-11-27T07:00:00Z</published>
450-
<updated>2012-11-27T07:00:00Z</updated>
489+
<published>2012-11-27T05:00:00Z</published>
490+
<updated>2012-11-27T05:00:00Z</updated>
451491
<author>
452492
<name>technoweenie</name>
453493
<uri>https://github.com/technoweenie</uri>
@@ -481,8 +521,8 @@ major change of the GitHub API.&lt;/p&gt;</content>
481521
<entry>
482522
<id>tag:developer.github.com,2012-10-31:/changes/2012-10-31-gist-comment-uris/</id>
483523
<title type="html">Gist comment URIs</title>
484-
<published>2012-10-31T06:00:00Z</published>
485-
<updated>2012-10-31T06:00:00Z</updated>
524+
<published>2012-10-31T04:00:00Z</published>
525+
<updated>2012-10-31T04:00:00Z</updated>
486526
<author>
487527
<name>pezra</name>
488528
<uri>https://github.com/technoweenie</uri>
@@ -497,8 +537,8 @@ major change of the GitHub API.&lt;/p&gt;</content>
497537
<entry>
498538
<id>tag:developer.github.com,2012-10-26:/changes/2012-10-26-notifications-api/</id>
499539
<title type="html">Notifications API</title>
500-
<published>2012-10-26T06:00:00Z</published>
501-
<updated>2012-10-26T06:00:00Z</updated>
540+
<published>2012-10-26T04:00:00Z</published>
541+
<updated>2012-10-26T04:00:00Z</updated>
502542
<author>
503543
<name>technoweenie</name>
504544
<uri>https://github.com/technoweenie</uri>
@@ -568,8 +608,8 @@ X-Poll-Interval: 60
568608
<entry>
569609
<id>tag:developer.github.com,2012-10-24:/changes/2012-10-24-set-default-branch/</id>
570610
<title type="html">Set the default branch for a repository</title>
571-
<published>2012-10-24T06:00:00Z</published>
572-
<updated>2012-10-24T06:00:00Z</updated>
611+
<published>2012-10-24T04:00:00Z</published>
612+
<updated>2012-10-24T04:00:00Z</updated>
573613
<author>
574614
<name>pengwynn</name>
575615
<uri>https://github.com/technoweenie</uri>
@@ -592,8 +632,8 @@ curl -u pengwynn \
592632
<entry>
593633
<id>tag:developer.github.com,2012-10-17:/changes/2012-10-17-org-members-redirection/</id>
594634
<title type="html">Organization Members Resource Changes</title>
595-
<published>2012-10-17T06:00:00Z</published>
596-
<updated>2012-10-17T06:00:00Z</updated>
635+
<published>2012-10-17T04:00:00Z</published>
636+
<updated>2012-10-17T04:00:00Z</updated>
597637
<author>
598638
<name>pezra</name>
599639
<uri>https://github.com/technoweenie</uri>
@@ -622,8 +662,8 @@ should be using the public membership resources.&lt;/p&gt;
622662
<entry>
623663
<id>tag:developer.github.com,2012-10-14:/changes/2012-10-14-rate-limit-changes/</id>
624664
<title type="html">Rate limit changes for unauthenticated requests</title>
625-
<published>2012-10-14T06:00:00Z</published>
626-
<updated>2012-10-14T06:00:00Z</updated>
665+
<published>2012-10-14T04:00:00Z</published>
666+
<updated>2012-10-14T04:00:00Z</updated>
627667
<author>
628668
<name>pengwynn</name>
629669
<uri>https://github.com/technoweenie</uri>
@@ -650,8 +690,8 @@ something unique to your application.&lt;/p&gt;
650690
<entry>
651691
<id>tag:developer.github.com,2012-09-28:/changes/2012-9-28-auto-init-for-repositories/</id>
652692
<title type="html">Initialize a repository when creating</title>
653-
<published>2012-09-28T06:00:00Z</published>
654-
<updated>2012-09-28T06:00:00Z</updated>
693+
<published>2012-09-28T04:00:00Z</published>
694+
<updated>2012-09-28T04:00:00Z</updated>
655695
<author>
656696
<name>pengwynn</name>
657697
<uri>https://github.com/technoweenie</uri>
@@ -698,8 +738,8 @@ is ignored if &lt;code&gt;auto_init&lt;/code&gt; is not present and &lt;code&gt;
698738
<entry>
699739
<id>tag:developer.github.com,2012-09-05:/changes/2012-9-5-watcher-api/</id>
700740
<title type="html">Upcoming Changes to Watcher and Star APIs</title>
701-
<published>2012-09-05T06:00:00Z</published>
702-
<updated>2012-09-05T06:00:00Z</updated>
741+
<published>2012-09-05T04:00:00Z</published>
742+
<updated>2012-09-05T04:00:00Z</updated>
703743
<author>
704744
<name>technoweenie</name>
705745
<uri>https://github.com/technoweenie</uri>

0 commit comments

Comments
 (0)