Skip to content

Commit

Permalink
started uncallable endpoint reporting - but not finished yet
Browse files Browse the repository at this point in the history
  • Loading branch information
mahtin committed May 14, 2022
1 parent b9b91b6 commit 97eb933
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CloudFlare/cloudflare.py
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,10 @@ def api_list(self, m=None, s=''):
# it's a known api call - lets show the result and continue down the tree
if 'delete' in d or 'get' in d or 'patch' in d or 'post' in d or 'put' in d:
# only show the result if a call exists for this part
if '_parts_unused' in d:
# This is an uncallable endpoint - presently no way to return this info
# w.append(str(a)[1:-1] + ' ; UNUSED')
pass
if '_parts' in d:
if n[-1] == '_' and keyword.iskeyword(n[:-1]):
# remove the extra keyword postfix'ed with underscore
Expand Down

0 comments on commit 97eb933

Please sign in to comment.