1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 19:40:00 +00:00

updated v1 docs

This commit is contained in:
aldacron 2017-05-21 22:55:42 -07:00
parent 8fc81b395e
commit ec72d8bf3d

View file

@ -23,7 +23,8 @@ The POST payload to the api endpoint (/api/upload) should be multipart/form-data
'is_anonymous': boolean, 'is_anonymous': boolean,
'is_hidden': boolean, 'is_hidden': boolean,
'is_remake': boolean, 'is_remake': boolean,
'is_complete': boolean 'is_complete': boolean,
'is_trusted': boolean #optional
}, },
'torrent_file': multi part file format 'torrent_file': multi part file format
@ -105,6 +106,7 @@ is_anonymous = False
is_hidden = False is_hidden = False
is_remake = False is_remake = False
is_complete = False is_complete = False
is_trusted = True # This will only work if a user is trusted, otherwise the option is ignored
auth_info = { auth_info = {
'username' : username, 'username' : username,