Skip to content

Commit b870284

Browse files
committed
clarify the response for creating repo forks
1 parent bacd944 commit b870284

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

content/v3/repos/forks.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,9 @@ forked into this organization.
3232

3333
### Response
3434

35-
<%= headers 201 %>
35+
Forking a Repository happens asynchronously. Therefore, you may have to wait
36+
a short period before accessing the git objects. If this takes longer than
37+
5 minutes, be sure to [contact Support](https://github.com/contact).
38+
39+
<%= headers 202 %>
3640
<%= json :repo %>

lib/resources.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module Helpers
88
STATUSES = {
99
200 => '200 OK',
1010
201 => '201 Created',
11+
202 => '202 Accepted',
1112
204 => '204 No Content',
1213
301 => '301 Moved Permanently',
1314
304 => '304 Not Modified',

0 commit comments

Comments
 (0)