Skip to content

Commit 58d82ef

Browse files
committed
update the org param when creating forks to organization
This looks like a breaking change, but it's not. It only previously supported a query param of ?org. Now, it supports both ?org and ?organization. It also supports a POSTed JSON document with an "organization" key, keeping this endpoint more in line with other POST endpoints of the API.
1 parent 1cafdf4 commit 58d82ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/v3/repos/forks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Create a fork for the authenticated user.
2929

3030
### Parameters
3131

32-
org
32+
organization
3333
: _Optional_ **String** - Organization login. The repository will be
3434
forked into this organization.
3535

0 commit comments

Comments
 (0)