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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy