Skip to main content

docker_migration_packages

Creates, updates, deletes, gets or lists a docker_migration_packages resource.

Overview

Namedocker_migration_packages
TypeResource
Idgithub.packages.docker_migration_packages

Fields

The following fields are returned by SELECT queries:

Response

NameDatatypeDescription
idintegerUnique identifier of the package.
namestringThe name of the package. (example: super-linter)
created_atstring (date-time)
html_urlstring (example: https://github.com/orgs/github/packages/container/package/super-linter)
ownerobjectA GitHub user. (title: Simple User)
package_typestring (npm, maven, rubygems, docker, nuget, container) (example: docker)
repositoryobjectMinimal Repository (title: Minimal Repository)
updated_atstring (date-time)
urlstring (example: https://api.github.com/orgs/github/packages/container/super-linter)
version_countintegerThe number of versions of the package.
visibilitystring (private, public) (example: private)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_docker_migration_conflicting_packages_for_organizationselectorgLists all packages that are in a specific organization, are readable by the requesting user, and that encountered a conflict during a Docker migration.

OAuth app tokens and personal access tokens (classic) need the read:packages scope to use this endpoint.
list_docker_migration_conflicting_packages_for_userselectusernameLists all packages that are in a specific user's namespace, that the requesting user has access to, and that encountered a conflict during Docker migration.

OAuth app tokens and personal access tokens (classic) need the read:packages scope to use this endpoint.
list_docker_migration_conflicting_packages_for_authenticated_userselectLists all packages that are owned by the authenticated user within the user's namespace, and that encountered a conflict during a Docker migration.

OAuth app tokens and personal access tokens (classic) need the read:packages scope to use this endpoint.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
orgstringThe organization name. The name is not case sensitive.
usernamestringThe handle for the GitHub user account.

SELECT examples

Lists all packages that are in a specific organization, are readable by the requesting user, and that encountered a conflict during a Docker migration.

OAuth app tokens and personal access tokens (classic) need the read:packages scope to use this endpoint.

SELECT
id,
name,
created_at,
html_url,
owner,
package_type,
repository,
updated_at,
url,
version_count,
visibility
FROM github.packages.docker_migration_packages
WHERE org = '{{ org }}' -- required
;