Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commitc59d939

Browse files
author
Ben Lavender
committed
Merge pull request#386 from github/content-creation-whitelist-blocks
Document abuse rate limit violations
2 parentsdcae969 +055d3c0 commitc59d939

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

‎content/v3.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,39 @@ If you're using conditional requests and still exceeding your rate
414414
limit, please[contact us][support] to request a
415415
higher rate limit for your OAuth application.
416416

417+
###Abuse Rate Limits
418+
419+
To prevent abuse, additional rate limits apply to some endpoints that
420+
create content. This rate limit applies to the creation of new content
421+
over a period of time. These rate limits do not apply to private repositories
422+
or GitHub Enterprise installations.
423+
424+
It is not intended for this rate limit to interfere with any legimate use of
425+
the API. Your normal[rate limits](/v3/#rate-limiting) should be the only
426+
limit you target. Please[contact support][abuse-support] if your use is affected by
427+
this rate limit.
428+
429+
If your application triggers this rate limit, you'll receive an informative
430+
response:
431+
432+
<preclass="terminal">
433+
HTTP/1.1 403 Forbidden
434+
Content-Type: application/json; charset=utf-8
435+
Connection: close
436+
437+
{
438+
"errors": [
439+
{
440+
"resource": "IssueComment",
441+
"code": "abuse",
442+
"field": "base"
443+
}
444+
],
445+
"message": "Rate Limit Exceeded",
446+
"documentation_url": "https://developer.github.com/v3#abuse-rate-limits"
447+
}
448+
</pre>
449+
417450
##User Agent Required
418451

419452
All API requests MUST include a valid`User-Agent` header. Requests with no`User-Agent`
@@ -619,4 +652,5 @@ If the steps above don't result in any information, we use UTC as the timezone
619652
to create the git commit.
620653

621654
[support]:https://github.com/contact?form[subject]=APIv3
655+
[abuse-support]:https://github.com/contact?form[subject]=API+Abuse+Rate+Limits
622656
[pagination-guide]:/guides/traversing-with-pagination

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp