Open RegEdits-TSC opened 2 weeks ago
This should be expanded further than just banned groups. API should have the ability to send all updated types/similar with descriptions too, especially important for regions and distributors where sites may add/remove some. Having all of these as an option to get allows upload and download scripts to properly know what something is/what is allowed/how to upload.
Something kind of response could be the /api/torrent/details that responds with this:
{
"types": [
{1: "type 1 name"},
{2: "type 2 name"}
],
"resolution": [
{1: "resolution 1 name"},
{2: "resolution 2 name"}
],
"categories": [
{1: "category 1 name"},
{2: "category 2 name"}
],
"region": [
{1: "region 1 name"},
{2: "region 2 name"}
],
"distributor": [
{1: "distributor 1 name"},
{2: "distributor 2 name"}
],
"banned groups": ["group1", "group2"]
}
First number being the ID, text being the value displayed on the upload form/put on the staff dashboard. The banned group one could be updated to include a ban reason and/or any exceptions they have, but that might be better to just have the user check the site for regardless.
Expanding it to this will allow sites to update these fields that may change and the scripts utilizing them to auto update to added/removed/changed values.
I am seeking an API that enables users to retrieve banned release groups from trackers dynamically, eliminating the need to manually embed this information within the code.
Upvote & Fund