Rust API client for mesa_dev_oapi
Depot HTTP API v1
Overview
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
- API version: 1.0.0
- Package version: 1.0.0
- Generator version: 7.19.0
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder in a directory named mesa_dev_oapi and add the following to Cargo.toml under [dependencies]:
mesa_dev_oapi = { path = "./mesa_dev_oapi" }
Documentation for API Endpoints
All URIs are relative to https://depot.mesa.dev/api/v1
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AdminApi | delete_by_org_api_keys_by_id | DELETE /{org}/api-keys/{id} | Revoke API key |
| AdminApi | get_by_org_api_keys | GET /{org}/api-keys | List API keys |
| AdminApi | post_by_org_api_keys | POST /{org}/api-keys | Create API key |
| AgentBlameApi | get_by_org_by_repo_agentblame | GET /{org}/{repo}/agentblame | Get AI attribution data |
| AgentBlameApi | get_by_org_by_repo_analytics | GET /{org}/{repo}/analytics | Get repository analytics |
| AgentBlameApi | post_by_org_by_repo_analytics_refresh | POST /{org}/{repo}/analytics/refresh | Refresh repository analytics |
| BranchesApi | delete_by_org_by_repo_branches_by_branch | DELETE /{org}/{repo}/branches/{branch} | Delete branch |
| BranchesApi | get_by_org_by_repo_branches | GET /{org}/{repo}/branches | List branches |
| BranchesApi | post_by_org_by_repo_branches | POST /{org}/{repo}/branches | Create branch |
| CommitsApi | get_by_org_by_repo_commits | GET /{org}/{repo}/commits | List commits |
| CommitsApi | get_by_org_by_repo_commits_by_sha | GET /{org}/{repo}/commits/{sha} | Get commit |
| CommitsApi | post_by_org_by_repo_commits | POST /{org}/{repo}/commits | Create commit |
| ContentApi | get_by_org_by_repo_content | GET /{org}/{repo}/content | Get content |
| DiffsApi | get_by_org_by_repo_diff | GET /{org}/{repo}/diff | Get diff |
| LfsApi | post_by_org_by_repo_lfs_objects | POST /{org}/{repo}/lfs/objects | Upload LFS objects |
| LfsApi | post_by_org_by_repo_lfs_objects_download | POST /{org}/{repo}/lfs/objects/download | Download LFS objects |
| OrgApi | get_by_org | GET /{org} | Get organization |
| ReposApi | delete_by_org_by_repo | DELETE /{org}/{repo} | Delete repository |
| ReposApi | get_by_org_by_repo | GET /{org}/{repo} | Get repository |
| ReposApi | get_by_org_by_repo_sync | GET /{org}/{repo}/sync | Get sync status |
| ReposApi | get_by_org_repos | GET /{org}/repos | List repositories |
| ReposApi | patch_by_org_by_repo | PATCH /{org}/{repo} | Update repository |
| ReposApi | post_by_org_by_repo_sync | POST /{org}/{repo}/sync | Sync repository |
| ReposApi | post_by_org_repos | POST /{org}/repos | Create repository |
| WebhooksApi | delete_by_org_by_repo_webhooks_by_webhook_id | DELETE /{org}/{repo}/webhooks/{webhookId} | Delete webhook |
| WebhooksApi | get_by_org_by_repo_webhooks | GET /{org}/{repo}/webhooks | List webhooks |
| WebhooksApi | post_by_org_by_repo_webhooks | POST /{org}/{repo}/webhooks | Create webhook |
Documentation For Models
- DeleteByOrgApiKeysById200Response
- GetByOrg200Response
- GetByOrgApiKeys200Response
- GetByOrgApiKeys200ResponseApiKeysInner
- GetByOrgApiKeys400Response
- GetByOrgApiKeys400ResponseError
- GetByOrgByRepo202Response
- GetByOrgByRepoAgentblame200Response
- GetByOrgByRepoAgentblame200ResponseAttributionsValueInner
- GetByOrgByRepoAgentblame200ResponseStats
- GetByOrgByRepoAnalytics200Response
- GetByOrgByRepoAnalytics200ResponseAnalytics
- GetByOrgByRepoAnalytics200ResponseAnalyticsContributorsValue
- GetByOrgByRepoAnalytics200ResponseAnalyticsHistoryInner
- GetByOrgByRepoAnalytics200ResponseAnalyticsMeta
- GetByOrgByRepoAnalytics200ResponseAnalyticsSummary
- GetByOrgByRepoBranches200Response
- GetByOrgByRepoBranches200ResponseBranchesInner
- GetByOrgByRepoCommits200Response
- GetByOrgByRepoCommits200ResponseCommitsInner
- GetByOrgByRepoCommits200ResponseCommitsInnerAuthor
- GetByOrgByRepoCommits200ResponseCommitsInnerCommitter
- GetByOrgByRepoCommitsBySha200Response
- GetByOrgByRepoContent200Response
- GetByOrgByRepoContent200ResponseAnyOf
- GetByOrgByRepoContent200ResponseAnyOf1
- GetByOrgByRepoContent200ResponseAnyOf2
- GetByOrgByRepoContent200ResponseAnyOf2EntriesInner
- GetByOrgByRepoContent200ResponseAnyOf2EntriesInnerAnyOf
- GetByOrgByRepoContent200ResponseAnyOf2EntriesInnerAnyOf1
- GetByOrgByRepoContent200ResponseAnyOf2EntriesInnerAnyOf2
- GetByOrgByRepoDiff200Response
- GetByOrgByRepoDiff200ResponseFilesInner
- GetByOrgByRepoDiff200ResponseFilteredFilesInner
- GetByOrgByRepoDiff200ResponseStats
- GetByOrgByRepoSync200Response
- GetByOrgByRepoSync200ResponseStatus
- GetByOrgByRepoSync200ResponseStatusOneOf
- GetByOrgByRepoSync200ResponseStatusOneOf1
- GetByOrgByRepoSync200ResponseStatusOneOf2
- GetByOrgByRepoWebhooks200Response
- GetByOrgByRepoWebhooks200ResponseWebhooksInner
- GetByOrgRepos200Response
- GetByOrgRepos200ResponseReposInner
- GetByOrgRepos200ResponseReposInnerUpstream
- GetByOrgRepos200ResponseReposInnerUpstreamAutosync
- PatchByOrgByRepoRequest
- PatchByOrgByRepoRequestUpstream
- PostByOrgApiKeys201Response
- PostByOrgApiKeys400Response
- PostByOrgApiKeys400ResponseError
- PostByOrgApiKeysRequest
- PostByOrgByRepoBranches201Response
- PostByOrgByRepoBranchesRequest
- PostByOrgByRepoCommits201Response
- PostByOrgByRepoCommitsRequest
- PostByOrgByRepoCommitsRequestFilesInner
- PostByOrgByRepoCommitsRequestFilesInnerAnyOf
- PostByOrgByRepoCommitsRequestFilesInnerAnyOf1
- PostByOrgByRepoCommitsRequestFilesInnerAnyOf2
- PostByOrgByRepoCommitsRequestFilesInnerAnyOf2Lfs
- PostByOrgByRepoLfsObjects200Response
- PostByOrgByRepoLfsObjects200ResponseObjectsInner
- PostByOrgByRepoLfsObjects200ResponseObjectsInnerError
- PostByOrgByRepoLfsObjectsRequest
- PostByOrgByRepoLfsObjectsRequestObjectsInner
- PostByOrgByRepoWebhooks201Response
- PostByOrgByRepoWebhooksRequest
- PostByOrgRepos201Response
- PostByOrgReposRequest
- PostByOrgReposRequestUpstream
- PostByOrgReposRequestUpstreamAutosync
To get access to the crate's generated documentation, use:
cargo doc --open