This repository was archived by the owner on Nov 1, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +14
-0
lines changed
Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,15 @@ organization's [GitHub Enterprise](https://enterprise.github.com/) installation.
3333
3434{% endif %}
3535
36+ {% if page.version == 'dotcom' %}
37+
3638## [ Rate Limit] [ ]
3739
3840The [ Rate Limit API] [ Rate Limit ] lets you check your current rate limit
3941status at any time.
4042
43+ {% endif %}
44+
4145## [ Licenses] [ ]
4246
4347The [ Licenses API] [ Licenses ] returns information about open source licenses or under what license, if any a given project is distributed.
Original file line number Diff line number Diff line change 22title : Rate Limit
33---
44
5+ {% if page.version == 'dotcom' %}
6+
57# Rate Limit
68
79The overview documentation describes the [ rate limit rules] ( /v3/#rate-limiting ) .
@@ -49,3 +51,5 @@ version of the API.
4951If you're writing new API client code (or updating your existing code), you
5052should use the ` "core" ` object instead of the ` "rate" ` object. The ` "core" ` object
5153contains the same information that is present in the ` "rate" ` object.
54+
55+ {% endif %}
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ is a computed value representing the relevance of an item relative to the other
2525items in the result set. Multiple factors are combined to boost the most
2626relevant item to the top of the result list.
2727
28+ {% if page.version == 'dotcom' %}
29+
2830### Rate limit
2931
3032The Search API has a custom rate limit. For requests using [ Basic
@@ -36,6 +38,8 @@ to make up to 10 requests per minute.
3638See the [ rate limit documentation] ( /v3/#rate-limiting ) for details on
3739determining your current rate limit status.
3840
41+ {% endif %}
42+
3943### Timeouts and incomplete results
4044
4145To keep the Search API fast for everyone, we limit how long any individual query
Original file line number Diff line number Diff line change @@ -69,7 +69,9 @@ <h3><a href="#" class="js-expand-btn collapsed arrow-btn" data-proofer-ignore></
6969 < li > < a href ="/v3/licenses/ "> Licenses</ a > </ li >
7070 < li > < a href ="/v3/markdown/ "> Markdown</ a > </ li >
7171 < li > < a href ="/v3/meta/ "> Meta</ a > </ li >
72+ < % if @item[:version] == 'dotcom' %>
7273 < li > < a href ="/v3/rate_limit/ "> Rate Limit</ a > </ li >
74+ < % end %>
7375 </ ul >
7476 </ li >
7577 < li class ="js-topic ">
You can’t perform that action at this time.
0 commit comments