Guide to CUB cloud APIs in Lampa
guide_cubRead source-based documentation on how Lampa talks to CUB. Use topics like catalog, endpoint, auth, models, sync, and timeline_hash to understand API paths, schemas, and auth flows.
Instructions
Document how Lampa talks to CUB from source — this makes no network calls of its own (pure snapshot read), and is not a substitute for cub.rip/developer. Unlike list_catalog topic=mirrors/socket, this is CUB-specific.
topic=catalog lists REST paths (category/search filter the catalog only, no effect on other topics); endpoint requires path (e.g. bookmarks/dump) and ignores category/search; auth reads auth_focus only (device/add, headers, Permit, Premium, mirrors); models reads model only (bookmark/timeline/favorite shapes); sync takes no parameters and maps dump/changelog/WebSocket; timeline_hash reads example only and explains Utils.hash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | For topic=endpoint: path such as 'bookmarks/dump' or 'device/add'. | |
| model | No | For topic=models: which schema. Default all. | |
| topic | Yes | catalog=endpoint table; endpoint=one path; auth=login/headers; models=schemas; sync=dump/changelog; timeline_hash=hash algorithm. | |
| search | No | For topic=catalog: filter by path substring. | |
| example | No | For topic=timeline_hash: worked example. | |
| category | No | For topic=catalog: filter by API category. Default all. | |
| auth_focus | No | For topic=auth: focus area. Default overview. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | Yes | Human-readable markdown report. Always present, including empty-result cases. Does not write files. |