Skip to content

Commit a8feb2f

Browse files
committed
Add /rate_limit API
Retrieves the current rate limit status for both core and search. See https://developer.github.com/v3/rate_limit/
1 parent 988e762 commit a8feb2f

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ github.authorization.create({
143143
* Events: 100%
144144
* Search: 100%
145145
* Markdown: 100%
146+
* Rate Limit: 100%
146147

147148
## Running the Tests
148149

api/v3.0.0/routes.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3244,5 +3244,13 @@
32443244
}
32453245
}
32463246
}
3247+
},
3248+
3249+
"misc": {
3250+
"rate-limit": {
3251+
"url": "/rate_limit",
3252+
"method": "GET",
3253+
"params": { }
3254+
}
32473255
}
32483256
}

0 commit comments

Comments
 (0)