Expand description
Ergonomic client for the Mesa API.
Provides a directory-style navigation pattern:
use mesa_dev::MesaClient;
use futures::TryStreamExt;
let client = MesaClient::builder().build();
let repos: Vec<_> = client.org("my-org").repos().list(None).try_collect().await?;
let branches: Vec<_> = client.org("my-org").repos().at("my-repo").branches().list(None).try_collect().await?;Structsยง
- Analytics
Client - Client for analytics and AI attribution (
/{org}/{repo}/analytics). - ApiKeys
Client - Client for API key management (
/{org}/api-keys). - Branches
Client - Client for branch operations (
/{org}/{repo}/branches). - Commits
Client - Client for commit operations (
/{org}/{repo}/commits). - Content
Client - Client for content operations (
/{org}/{repo}/content). - Diff
Client - Client for diff operations (
/{org}/{repo}/diff). - LfsClient
- Client for LFS operations (
/{org}/{repo}/lfs). - Mesa
Client - Top-level Mesa API client.
- Mesa
Client Builder - Builder for configuring and constructing a
MesaClient. - OrgClient
- Client scoped to an organization (
/{org}). - Repo
Client - Client scoped to a specific repository (
/{org}/{repo}). - Repos
Client - Client for listing and creating repositories (
/{org}/repos). - Sync
Client - Client for sync operations (
/{org}/{repo}/sync). - Webhooks
Client - Client for webhook operations (
/{org}/{repo}/webhooks).