def includeme()

in kinto-remote-settings/src/kinto_remote_settings/changes/__init__.py [0:0]


def includeme(config):
    settings = config.get_settings()
    collections = settings.get("changes.resources", [])

    config.add_api_capability(
        "changes",
        description="Track modifications of records in Kinto and store"
        " the collection timestamps into a specific bucket"
        " and collection.",
        url="http://kinto.readthedocs.io/en/latest/tutorials/"
        "synchronisation.html#polling-for-remote-changes",
        version=__version__,
        collections=aslist(collections),
    )

    config.scan("kinto_remote_settings.changes.views")