Module api_announcements

Source
Expand description

Federation Api announcement handling

Structsยง

ApiAnnouncementKey
ApiAnnouncementPrefix

Functionsยง

fetch_api_announcements_from_all_peers ๐Ÿ”’
get_api_urls
Returns a list of all peers and their respective API URLs taking into account announcements overwriting the URLs contained in the original configuration.
refresh_api_announcement_sync ๐Ÿ”’
run_api_announcement_sync ๐Ÿ”’
Fetches API URL announcements from guardians, validates them and updates the DB if any new more upt to date ones are found.
store_api_announcements ๐Ÿ”’