Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 97eb933

Browse files
committed
started uncallable endpoint reporting - but not finished yet
1 parent b9b91b6 commit 97eb933

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CloudFlare/cloudflare.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,10 @@ def api_list(self, m=None, s=''):
913913
# it's a known api call - lets show the result and continue down the tree
914914
if 'delete' in d or 'get' in d or 'patch' in d or 'post' in d or 'put' in d:
915915
# only show the result if a call exists for this part
916+
if '_parts_unused' in d:
917+
# This is an uncallable endpoint - presently no way to return this info
918+
# w.append(str(a)[1:-1] + ' ; UNUSED')
919+
pass
916920
if '_parts' in d:
917921
if n[-1] == '_' and keyword.iskeyword(n[:-1]):
918922
# remove the extra keyword postfix'ed with underscore

0 commit comments

Comments
 (0)