View Source GitHub.RateLimit (GitHub REST API Client v0.3.3)
Provides API endpoint related to rate limit
Link to this section Summary
Functions
Get rate limit status for the authenticated user
Link to this section Types
Link to this section Functions
@spec get(keyword()) :: {:ok, GitHub.RateLimit.Overview.t()} | {:error, GitHub.Error.t()}
Get rate limit status for the authenticated user
Note: Accessing this endpoint does not count against your REST API rate limit.
Some categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under resources, you'll see objects relating to different categories:
- The
coreobject provides your rate limit status for all non-search-related resources in the REST API. - The
searchobject provides your rate limit status for the REST API for searching (excluding code searches). For more information, see "Search." - The
code_searchobject provides your rate limit status for the REST API for searching code. For more information, see "Search code." - The
graphqlobject provides your rate limit status for the GraphQL API. For more information, see "Resource limitations." - The
integration_manifestobject provides your rate limit status for thePOST /app-manifests/{code}/conversionsoperation. For more information, see "Creating a GitHub App from a manifest." - The
dependency_snapshotsobject provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "Dependency graph." - The
code_scanning_uploadobject provides your rate limit status for uploading SARIF results to code scanning. For more information, see "Uploading a SARIF file to GitHub." - The
actions_runner_registrationobject provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "Self-hosted runners." - The
source_importobject is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "API Versions."
Note: The rate object is deprecated. If you're writing new API client code or updating existing code, you should use the core object instead of the rate object. The core object contains the same information that is present in the rate object.