Mercurial > p > roundup > code
comparison doc/rest.txt @ 5896:a8df94ec8040
Rate Limit is available in this code.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 02 Oct 2019 22:06:02 -0400 |
| parents | 93bbe5340d5b |
| children | be8524335bfa |
comparison
equal
deleted
inserted
replaced
| 5895:93bbe5340d5b | 5896:a8df94ec8040 |
|---|---|
| 58 = yes`` or ``required``. | 58 = yes`` or ``required``. |
| 59 | 59 |
| 60 Rate Limiting the API | 60 Rate Limiting the API |
| 61 ===================== | 61 ===================== |
| 62 | 62 |
| 63 This is a work in progress. Check the release notes to see if your | 63 This is a work in progress. This version of roundup includes Rate |
| 64 version of roundup includes Rate Limiting for the API (which is | 64 Limiting for the API (which is different from rate limiting login |
| 65 different from rate limiting login attempts on the web interface). | 65 attempts on the web interface). |
| 66 | 66 |
| 67 This is enabled by setting the ``api_calls_per_interval`` and | 67 It is enabled by setting the ``api_calls_per_interval`` and |
| 68 ``api_interval_in_sec`` configuration parameters in the ``[web]`` | 68 ``api_interval_in_sec`` configuration parameters in the ``[web]`` |
| 69 section of ``config.ini``. The settings are documented in the | 69 section of ``config.ini``. The settings are documented in the |
| 70 config.ini file. | 70 config.ini file. |
| 71 | 71 |
| 72 If ``api_calls_per_interval = 60`` and ``api_interval_in_sec = 60`` | 72 If ``api_calls_per_interval = 60`` and ``api_interval_in_sec = 60`` |
