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)
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.
| Reporter | ||
Comment 1•11 years ago
|
||
Oh, and we have a API_THROTTLE setting, but it doesn't appear to be used.
Updated•11 years ago
|
Component: API → Code Quality
Priority: -- → P4
Whiteboard: [repoman][contribute]
Updated•11 years ago
|
Whiteboard: [repoman][contribute] → [good first bug][repoman]
Comment 2•10 years ago
|
||
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)
Comment 3•10 years ago
|
||
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)
Comment 5•10 years ago
|
||
Sure, assigning you to the bug. Let us know if you face any issues here.
Assignee: nobody → y13uc234
Flags: needinfo?(vaishnav.rd)
Updated•10 years ago
|
Status: NEW → ASSIGNED
Updated•10 years ago
|
Whiteboard: [good first bug][repoman] → [repoman]
Comment 6•10 years ago
|
||
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.
| Reporter | ||
Updated•10 years ago
|
Assignee: y13uc234 → nobody
Status: ASSIGNED → NEW
Whiteboard: [repoman] → [ktlo]
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Updated•10 years ago
|
Whiteboard: [ktlo] → [ktlo][possible_future_need]
You need to log in
before you can comment on or make changes to this bug.
Description
•