(READ ONLY) Margin is an open annotation layer for the internet. Powered by the AT Protocol. margin.at
extension web atproto comments
98
fork

Configure Feed

Select the types of activity you want to include in your feed.

this needs a limit

+3
+3
backend/internal/api/handler.go
··· 370 370 371 371 func (h *Handler) GetFeed(w http.ResponseWriter, r *http.Request) { 372 372 limit := parseIntParam(r, "limit", 50) 373 + if limit > 100 { 374 + limit = 100 375 + } 373 376 offset := parseIntParam(r, "offset", 0) 374 377 tag := strings.ToLower(r.URL.Query().Get("tag")) 375 378 creator := r.URL.Query().Get("creator")