Documentation
¶
Overview ¶
Example: the automation/agent primitives beyond plain CRUD — page-walking iterators, idempotent ensure-helpers, conditional requests, and rate-limit recovery.
Set PLATFORM_TOKEN (and optionally PLATFORM=github|gitlab|... to pick another platform). Runs three read-only demos:
- Each: walk every page of ListRepos lazily (no hand-rolled page loop)
- ConditionalRequests + polling: ETag revalidation keeps repeated reads inside the rate-limit budget
- RateLimitRecovery: how to back off by the server's own clock
Set ENSURE_WEBHOOK_URL as well to additionally run EnsureWebhook (the one write demo): it creates or repairs a webhook and is safe to re-run.
Click to show internal directories.
Click to hide internal directories.