artifacts
Overview
Name | artifacts |
Type | Resource |
Id | github.actions.artifacts |
Fields
Name | Datatype | Description |
---|---|---|
id | integer | |
name | string | The name of the artifact. |
archive_download_url | string | |
created_at | string | |
expired | boolean | Whether or not the artifact has expired. |
expires_at | string | |
node_id | string | |
size_in_bytes | integer | The size in bytes of the artifact. |
updated_at | string | |
url | string | |
workflow_run | object |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_artifact | SELECT | artifact_id, owner, repo | Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the repo scope. GitHub Apps must have the actions:read permission to use this endpoint. |
list_artifacts_for_repo | SELECT | owner, repo | Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the repo scope. GitHub Apps must have the actions:read permission to use this endpoint. |
list_workflow_run_artifacts | SELECT | owner, repo, run_id | Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the repo scope. GitHub Apps must have the actions:read permission to use this endpoint. |
delete_artifact | DELETE | artifact_id, owner, repo | Deletes an artifact for a workflow run. 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. |
download_artifact | EXEC | archive_format, artifact_id, owner, repo | Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for Location: inthe response header to find the URL for the download. The :archive_format must be zip .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. |