docs
docs copied to clipboard
Document the public event feed (GET /api/events/feed) and shareActivityPublicly opt-out
Layer5 Cloud v1.0.363 (layer5io/meshery-cloud#6428) adds a public event feed and a per-user opt-out. Neither is documented on docs.layer5.io yet.
Document
- Public event feed:
GET /api/events/feed- Unauthenticated, read-only. Paged response
{page, pageSize, totalCount, data}(meshery/schemasEventFeedPage, v1.3.116). - Query params:
page(0-based),pagesize(default 20, max 50; out of range returns 400), optionalcategoryandactionfilters. - Only events created with
visibility: "public"by users who have not opted out are listed. - Item fields:
id, userId, category, action, createdAt, visibility, platform, role, line, networks, plusavatarUrlandpublicProfileUrlwhen the user's profile is public. Email and real name are never returned. - Caching:
Cache-Control: public, max-age=30; per-IP rate limited.
- Unauthenticated, read-only. Paged response
- Publishing a public event:
POST /api/eventswith"visibility": "public". The owner is always the calling session or user token; visibility defaults toprivate. - Opt-out preference:
shareActivityPublicly(boolean) in user preferences. Absent means on; setfalseto hide all of your activity from the feed. Non-boolean values are rejected with 400 (meshery_cloud-3736).
Reference: docs/reference/public-event-feed.md in meshery-cloud.
Suggested location: content/en/cloud/ (reference/API and a short privacy note under user preferences).
Hey @leecalcote ! I'd like to contribute to this issue. I'm happy to work on documenting the public event feed API and the shareActivityPublicly preference, ensuring the documentation accurately reflects the current implementation. Please let me know if I can take this up. Thank you!