Skip to content

Commit 8edba30

Browse files
committed
update gists docs for new gist creation method
1 parent b0bc8b1 commit 8edba30

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

content/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@ to update your app in time.
3737
* gravatar_url is being deprecated in favor of avatar_url for all
3838
responses that include users or orgs. A default size is no longer
3939
included in the url.
40+
* creating new gists (both anonymously and with an authenticated user)
41+
should use `POST /gists` from now on. `POST /users/:user/gists` will
42+
be deprecated.
43+

content/v3/gists.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The response is identical to [listing a user's gists](#list-a-users-gists).
5555

5656
## Create a new gist
5757

58-
POST /users/:user/gists
58+
POST /gists
5959

6060
### Input
6161

0 commit comments

Comments
 (0)