Guide to CUB cloud APIs in Lampa
guide_cubDocuments how Lampa talks to CUB from source for REST endpoints, auth, models, sync, and timeline hashing, returning markdown without network calls.
Instructions
Document how Lampa talks to CUB from source — this makes no network calls of its own (pure snapshot read, no auth needed to call this tool), and is not a substitute for cub.rip/developer. Returns markdown text (see output schema), never raw JSON. 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. Passing any parameter that does not apply to the chosen topic is silently ignored, never an error.
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. |