Research: tt-rss JSON API surface for MVP #2
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
TheAnachronism/tt-rss-viewer#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #1
Question
What is the exact tt-rss JSON API surface this MVP needs — endpoints, parameters, response shapes, auth/session rules, and nested-category semantics — drawn from the local clone at
/home/theanachronism/git/github/tt-rss/(primarilyclasses/API.phpand related helpers)?Cover at least: login/logout/session; getApiLevel; getCategories (nesting / parent relationships); getFeeds; getHeadlines (feed vs category, unread-only, virtual feed ids for All/Fresh/Starred); getArticle; updateArticle (read/unread, starred); getCounters / getUnread; any gotchas for multi-instance clients (base URL, cookies/session_id, API disabled prefs).
Resolution
Documented the MVP tt-rss JSON API surface from the local clone (
classes/API.phpet al.).Gist: API level 23; JSON
POSTto{base}/api/withsid(cookies disabled); virtual feeds All=-4/ Fresh=-3/ Starred=-1(disambiguate negative ids withis_cat);getCategoriesomitsparent_cat— nest via recursivegetFeeds(include_nested)orgetFeedTree; category lists needinclude_nestedfor descendants;ENABLE_API_ACCESSdefaults off.Doc:
docs/research/tt-rss-api-surface.mdonmaster(endpoints, params, response shapes, auth, nesting, multi-instance gotchas).