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.
33
33
34
34
{% endif %}
35
35
36
+ {% if page.version == 'dotcom' %}
37
+
36
38
## [ Rate Limit] [ ]
37
39
38
40
The [ Rate Limit API] [ Rate Limit ] lets you check your current rate limit
39
41
status at any time.
40
42
43
+ {% endif %}
44
+
41
45
## [ Licenses] [ ]
42
46
43
47
The [ 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 2
2
title : Rate Limit
3
3
---
4
4
5
+ {% if page.version == 'dotcom' %}
6
+
5
7
# Rate Limit
6
8
7
9
The overview documentation describes the [ rate limit rules] ( /v3/#rate-limiting ) .
@@ -49,3 +51,5 @@ version of the API.
49
51
If you're writing new API client code (or updating your existing code), you
50
52
should use the ` "core" ` object instead of the ` "rate" ` object. The ` "core" ` object
51
53
contains 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
25
25
items in the result set. Multiple factors are combined to boost the most
26
26
relevant item to the top of the result list.
27
27
28
+ {% if page.version == 'dotcom' %}
29
+
28
30
### Rate limit
29
31
30
32
The Search API has a custom rate limit. For requests using [ Basic
@@ -36,6 +38,8 @@ to make up to 10 requests per minute.
36
38
See the [ rate limit documentation] ( /v3/#rate-limiting ) for details on
37
39
determining your current rate limit status.
38
40
41
+ {% endif %}
42
+
39
43
### Timeouts and incomplete results
40
44
41
45
To 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></
69
69
< li > < a href ="/v3/licenses/ "> Licenses</ a > </ li >
70
70
< li > < a href ="/v3/markdown/ "> Markdown</ a > </ li >
71
71
< li > < a href ="/v3/meta/ "> Meta</ a > </ li >
72
+ < % if @item[:version] == 'dotcom' %>
72
73
< li > < a href ="/v3/rate_limit/ "> Rate Limit</ a > </ li >
74
+ < % end %>
73
75
</ ul >
74
76
</ li >
75
77
< li class ="js-topic ">
You can’t perform that action at this time.
0 commit comments