api.integration
Classes
Functions
|
Module Contents
- class api.integration.ApiApp[source]
Bases:
morepath.App- configure_api(**cfg: Any) None[source]
Configures the API.
The following configuration options are accepted:
- Rate_limit:
A tuple with number of request per expiration time in seconds.
Since providing an API is not our main focus, we keep the rate limit rather low (<10 requests per minute) while still allowing small crawl bursts by default.