[RFC 0/3] Add "events"

Daniel Axtens dja at axtens.net
Tue Nov 1 17:07:09 AEDT 2016


>>> 2) Can you elaborate on how you plan to expose this data? ie something
>>> via REST?
>> 
>> I've been thinking an '/events' API endpoint for now. This would require
>> polling from CIs etc., but it would be a good first step.
>
> Makes sense to me. If we had a /events?created_on__gte=TIMESTAMP, the
> API could be used fairly efficiently.

?since= would be much nicer, but that's a minor quibble.

Some random, related thoughts:

Does DRF support rate limiting? As we grow a bigger API we might want to
consider that.

Thinking of rate limiting - do we have it for the login page? Should we
add it to avoid brute forcing of credentials?

Regards,
Daniel

>
> _______________________________________________
> Patchwork mailing list
> Patchwork at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/patchwork


More information about the Patchwork mailing list