Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] API For Banned Release Groups #4097

Open
RegEdits-TSC opened this issue Aug 27, 2024 · 1 comment
Open

[Request] API For Banned Release Groups #4097

RegEdits-TSC opened this issue Aug 27, 2024 · 1 comment
Labels
Fund https://polar.sh Request

Comments

@RegEdits-TSC
Copy link

RegEdits-TSC commented Aug 27, 2024

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

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@RegEdits-TSC RegEdits-TSC added Fund https://polar.sh Request labels Aug 27, 2024
@MiM-MiM
Copy link
Contributor

MiM-MiM commented Aug 28, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fund https://polar.sh Request
Projects
None yet
Development

No branches or pull requests

3 participants
@MiM-MiM @RegEdits-TSC and others