alltrails_get_activity_feed
Get an AllTrails user's activity feed (recorded hikes and posts). Specify a userId for a public profile, or pass a feed type to retrieve items instead of the feed directory.
Instructions
Get an AllTrails user's activity feed (recorded hikes and posts). Defaults to the signed-in user; pass a userId to target a specific public profile. Without a feed argument this returns the feed DIRECTORY (the available feeds: local, timeline (following), personal (own posts)) — pass feed to get the actual items. Returns slim projections by default; pass view:"full" for the whole records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feed | No | Which feed to read: local (nearby activity), timeline (people you follow), personal (own posts). Omit to list the available feeds. | |
| view | No | Response shape: "compact" (default) drops fields the response already carries elsewhere; "full" returns every field this server understands. compact returns { count, hasNextPage, nextCursor, items: [{ type, timestamp, description, user, trail, activity, review }] } — and the no-feed directory as { name, displayName } per feed; "full" returns AllTrails' whole records. | |
| cursor | No | Opaque nextCursor from a previous page, for pagination | |
| userId | No | Numeric AllTrails user id. Defaults to the signed-in user. | |
| maxItems | No | Max items per page (server-side) |