This article explained the ActivityPub protocol (used by Mastodon and others) by describing the essential endpoints which may be served simply in static json.
I love this approach of explaining things by reducing a complex thing into the minimalist essentials.