From ec72d8bf3d11f3637d2ea21768820734404cb16d Mon Sep 17 00:00:00 2001 From: aldacron Date: Sun, 21 May 2017 22:55:42 -0700 Subject: [PATCH] updated v1 docs --- utils/api_uploader.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/api_uploader.py b/utils/api_uploader.py index ebb426d..5bbb962 100644 --- a/utils/api_uploader.py +++ b/utils/api_uploader.py @@ -23,7 +23,8 @@ The POST payload to the api endpoint (/api/upload) should be multipart/form-data 'is_anonymous': boolean, 'is_hidden': boolean, 'is_remake': boolean, - 'is_complete': boolean + 'is_complete': boolean, + 'is_trusted': boolean #optional }, 'torrent_file': multi part file format @@ -105,6 +106,7 @@ is_anonymous = False is_hidden = False is_remake = False is_complete = False +is_trusted = True # This will only work if a user is trusted, otherwise the option is ignored auth_info = { 'username' : username,