{
  "opencollection": "1.0.0",
  "info": {
    "name": "crates.io Sparse Index Config Versions API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Versions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Crate Version",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://index.crates.io/api/v1/crates/:crate/:version",
            "params": [
              {
                "name": "crate",
                "value": "",
                "type": "path",
                "description": "The crate name (e.g. serde, tokio, rand)."
              },
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "The semver version of the crate (e.g. 1.0.0)."
              }
            ]
          },
          "docs": "Retrieve metadata for a specific version of a crate."
        },
        {
          "info": {
            "name": "Download Crate Tarball",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://index.crates.io/api/v1/crates/:crate/:version/download",
            "params": [
              {
                "name": "crate",
                "value": "",
                "type": "path",
                "description": "The crate name (e.g. serde, tokio, rand)."
              },
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "The semver version of the crate (e.g. 1.0.0)."
              }
            ]
          },
          "docs": "Returns a redirect to the .crate tarball stored in the crates.io S3 bucket. This is the canonical download URL used by Cargo.\n"
        },
        {
          "info": {
            "name": "Yank A Crate Version",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://index.crates.io/api/v1/crates/:crate/:version/yank",
            "params": [
              {
                "name": "crate",
                "value": "",
                "type": "path",
                "description": "The crate name (e.g. serde, tokio, rand)."
              },
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "The semver version of the crate (e.g. 1.0.0)."
              }
            ]
          },
          "docs": "Mark a specific crate version as yanked so that it is no longer selected as a fresh dependency. Existing Cargo.lock files continue to resolve against yanked versions.\n"
        },
        {
          "info": {
            "name": "Unyank A Crate Version",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://index.crates.io/api/v1/crates/:crate/:version/unyank",
            "params": [
              {
                "name": "crate",
                "value": "",
                "type": "path",
                "description": "The crate name (e.g. serde, tokio, rand)."
              },
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "The semver version of the crate (e.g. 1.0.0)."
              }
            ]
          },
          "docs": "Restore a previously yanked version of a crate."
        }
      ]
    }
  ],
  "bundled": true
}