mirror of
https://github.com/Decicus/DecAPI-Docs.git
synced 2024-11-25 22:02:32 +01:00
Fix certain endpoints that shouldn't be used for bots
This commit is contained in:
parent
e1b5dc4cf4
commit
2e18861f4c
@ -112,7 +112,7 @@ $(document).ready(function() {
|
||||
$('pre#http strong', body).html(method);
|
||||
$('pre#http code', body).html(baseUrl + data.base_path + route);
|
||||
|
||||
if (method === 'GET') {
|
||||
if (method === 'GET' && (typeof end.bots === 'undefined' || end.bots === true)) {
|
||||
var bots = $('#bots', body);
|
||||
bots.removeClass('hidden');
|
||||
$('#url', bots).html(baseUrl + data.base_path + route);
|
||||
|
@ -7,3 +7,4 @@ endpoints:
|
||||
qs:
|
||||
notes:
|
||||
- 'Provides an RSS feed of a specified ASKfm users answers.'
|
||||
bots: false
|
||||
|
@ -5,3 +5,4 @@ endpoints:
|
||||
qs:
|
||||
notes:
|
||||
- 'Returns an RSS feed of the latest <a href="https://jobs.lever.co/twitch/"><i class="fa fa-1x fa-twitch"></i> Twitch jobs listings</a>.'
|
||||
bots: false
|
||||
|
Loading…
Reference in New Issue
Block a user