Skip to main content

GitHub Marketplace API 的 REST 端点

要帮助管理 GitHub Marketplace 上的应用程序,请使用这些 GitHub Marketplace API 端点。

注意

本文适用于仅在 GitHub Marketplace 中发布应用的情况。 若要详细了解如何在 GitHub Marketplace 中发布 GitHub Actions,请参阅 在 GitHub Marketplace 中发布操作

以下是一些可用于 Marketplace 上架产品的有用端点:

  •         [列出计划](/rest/apps/marketplace#list-plans)
    
  •         [列出计划所包含的账户](/rest/apps/marketplace#list-accounts-for-a-plan)
    
  •         [为帐户订购订阅计划](/rest/apps/marketplace#get-a-subscription-plan-for-an-account)
    
  •         [列出经过身份验证的用户的订阅](/rest/apps/marketplace#list-subscriptions-for-the-authenticated-user)
    

有关在使用 GitHub Marketplace API 时如何进行身份验证的详细信息,请参阅以下页面:

  •         [OAuth apps 的授权选项](/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps)
    
  •         [GitHub Apps 的身份验证选项](/apps/creating-github-apps/authenticating-with-a-github-app/about-authentication-with-a-github-app)
    

注意

          [REST API 的速率限制](/rest/using-the-rest-api/rate-limits-for-the-rest-api)适用于所有 GitHub Marketplace API 终结点。