{
  "opencollection": "1.0.0",
  "info": {
    "name": "GitHub Org Owned API",
    "version": "1.1.4"
  },
  "items": [
    {
      "info": {
        "name": "Owned",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "GitHub List Package Versions for Package Owned by an Organization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/packages/:package_type/:package_name/versions",
            "params": [
              {
                "name": "package_type",
                "value": "",
                "type": "path",
                "description": "The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry."
              },
              {
                "name": "package_name",
                "value": "",
                "type": "path",
                "description": "The name of the package."
              },
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""
              },
              {
                "name": "state",
                "value": "active",
                "type": "query",
                "description": "The state of the package, either active or deleted."
              }
            ]
          },
          "docs": "Lists package versions for a package owned by an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-p"
        }
      ]
    }
  ],
  "bundled": true
}