{
  "opencollection": "1.0.0",
  "info": {
    "name": "GitHub Actions Artifacts Cache API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Cache",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Github Actions Caches for a Repository",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.github.com/repos/:owner/:repo/actions/caches",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path",
                "description": "The account owner of the repository."
              },
              {
                "name": "repo",
                "value": "",
                "type": "path",
                "description": "The name of the repository without the .git extension."
              },
              {
                "name": "ref",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "key",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "created_at",
                "type": "query"
              },
              {
                "name": "direction",
                "value": "asc",
                "type": "query"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number of the results to fetch."
              }
            ]
          },
          "docs": "Lists the GitHub Actions caches for a repository."
        },
        {
          "info": {
            "name": "Delete Github Actions Caches for a Repository (by Key)",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.github.com/repos/:owner/:repo/actions/caches",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path",
                "description": "The account owner of the repository."
              },
              {
                "name": "repo",
                "value": "",
                "type": "path",
                "description": "The name of the repository without the .git extension."
              },
              {
                "name": "key",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "ref",
                "value": "example_value",
                "type": "query"
              }
            ]
          },
          "docs": "Deletes one or more GitHub Actions caches for a repository, using a complete cache key."
        },
        {
          "info": {
            "name": "Delete a Github Actions Cache for a Repository (by Id)",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.github.com/repos/:owner/:repo/actions/caches/:cache_id",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path",
                "description": "The account owner of the repository."
              },
              {
                "name": "repo",
                "value": "",
                "type": "path",
                "description": "The name of the repository without the .git extension."
              },
              {
                "name": "cache_id",
                "value": "500123",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a GitHub Actions cache for a repository, using a cache ID."
        },
        {
          "info": {
            "name": "Get Github Actions Cache Usage for a Repository",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.github.com/repos/:owner/:repo/actions/cache/usage",
            "params": [
              {
                "name": "owner",
                "value": "",
                "type": "path",
                "description": "The account owner of the repository."
              },
              {
                "name": "repo",
                "value": "",
                "type": "path",
                "description": "The name of the repository without the .git extension."
              }
            ]
          },
          "docs": "Gets GitHub Actions cache usage for a repository."
        }
      ]
    }
  ],
  "bundled": true
}