cache
Overview
Name | cache |
Type | Resource |
Id | github.actions.cache |
Fields
Name | Datatype | Description |
---|---|---|
actions_caches | array | Array of caches |
total_count | integer | Total number of caches |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_actions_cache_list | SELECT | owner, repo | Lists the GitHub Actions caches for a repository. You must authenticate using an access token with the repo scope to use this endpoint.GitHub Apps must have the actions:read permission to use this endpoint. |
delete_actions_cache_by_id | DELETE | cache_id, owner, repo | Deletes a GitHub Actions cache for a repository, using a cache ID. You must authenticate using an access token with the repo scope to use this endpoint.GitHub Apps must have the actions:write permission to use this endpoint. |
delete_actions_cache_by_key | DELETE | key, owner, repo | Deletes one or more GitHub Actions caches for a repository, using a complete cache key. By default, all caches that match the provided key are deleted, but you can optionally provide a Git ref to restrict deletions to caches that match both the provided key and the Git ref. You must authenticate using an access token with the repo scope to use this endpoint.GitHub Apps must have the actions:write permission to use this endpoint. |