Closed Bug 1049522 Opened 11 years ago Closed 10 years ago

Check / add / document throttling across all our APIs

Categories

(Marketplace Graveyard :: Code Quality, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mat, Unassigned)

Details

(Whiteboard: [ktlo][possible_future_need])

We document that the app submission API is throttled to 10 requests/day, but I can't find it in the code. Amusingly, we also have the opposite problem: the feedback and abuse APIs are throttled, but we don't document this. There are also a couple endpoints where we probably should have throttling but we haven't, like the rating API, and maybe a couple others, so let's do a check for all the APIs we have.
Oh, and we have a API_THROTTLE setting, but it doesn't appear to be used.
Component: API → Code Quality
Priority: -- → P4
Whiteboard: [repoman][contribute]
Whiteboard: [repoman][contribute] → [good first bug][repoman]
Hi Andy/MP-Team, it looks like this might not be very much clear to the newbie how to fix this. Can you put some information here for newbies so that they can pick this bug and fix it. You could specifically provide information like 'where and how to add THROTTLE?' Thanks, Ram
Flags: needinfo?(amckay)
Marketplace uses the django rest framework, perhaps that's a good place to start? http://www.django-rest-framework.org/api-guide/throttling/
Flags: needinfo?(amckay)
I would like to work on it
Flags: needinfo?(vaishnav.rd)
Sure, assigning you to the bug. Let us know if you face any issues here.
Assignee: nobody → y13uc234
Flags: needinfo?(vaishnav.rd)
Status: NEW → ASSIGNED
Whiteboard: [good first bug][repoman] → [repoman]
y13uc234 looks like the team did not find it as a good first bug, you can keep continue to work on this or feel free to pick other good first bugs.
Assignee: y13uc234 → nobody
Status: ASSIGNED → NEW
Whiteboard: [repoman] → [ktlo]
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Whiteboard: [ktlo] → [ktlo][possible_future_need]
You need to log in before you can comment on or make changes to this bug.