docker_migration_packages
Creates, updates, deletes, gets or lists a docker_migration_packages resource.
Overview
| Name | docker_migration_packages |
| Type | Resource |
| Id | github.packages.docker_migration_packages |
Fields
The following fields are returned by SELECT queries:
- list_docker_migration_conflicting_packages_for_organization
- list_docker_migration_conflicting_packages_for_user
- list_docker_migration_conflicting_packages_for_authenticated_user
Response
| Name | Datatype | Description |
|---|---|---|
id | integer | Unique identifier of the package. |
name | string | The name of the package. (example: super-linter) |
created_at | string (date-time) | |
html_url | string | (example: https://github.com/orgs/github/packages/container/package/super-linter) |
owner | object | A GitHub user. (title: Simple User) |
package_type | string | (npm, maven, rubygems, docker, nuget, container) (example: docker) |
repository | object | Minimal Repository (title: Minimal Repository) |
updated_at | string (date-time) | |
url | string | (example: https://api.github.com/orgs/github/packages/container/super-linter) |
version_count | integer | The number of versions of the package. |
visibility | string | (private, public) (example: private) |
Response
| Name | Datatype | Description |
|---|---|---|
id | integer | Unique identifier of the package. |
name | string | The name of the package. (example: super-linter) |
created_at | string (date-time) | |
html_url | string | (example: https://github.com/orgs/github/packages/container/package/super-linter) |
owner | object | A GitHub user. (title: Simple User) |
package_type | string | (npm, maven, rubygems, docker, nuget, container) (example: docker) |
repository | object | Minimal Repository (title: Minimal Repository) |
updated_at | string (date-time) | |
url | string | (example: https://api.github.com/orgs/github/packages/container/super-linter) |
version_count | integer | The number of versions of the package. |
visibility | string | (private, public) (example: private) |
Response
| Name | Datatype | Description |
|---|---|---|
id | integer | Unique identifier of the package. |
name | string | The name of the package. (example: super-linter) |
created_at | string (date-time) | |
html_url | string | (example: https://github.com/orgs/github/packages/container/package/super-linter) |
owner | object | A GitHub user. (title: Simple User) |
package_type | string | (npm, maven, rubygems, docker, nuget, container) (example: docker) |
repository | object | Minimal Repository (title: Minimal Repository) |
updated_at | string (date-time) | |
url | string | (example: https://api.github.com/orgs/github/packages/container/super-linter) |
version_count | integer | The number of versions of the package. |
visibility | string | (private, public) (example: private) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_docker_migration_conflicting_packages_for_organization | select | org | 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. | |
list_docker_migration_conflicting_packages_for_user | select | username | Lists 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_user | select | Lists 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.
| Name | Datatype | Description |
|---|---|---|
org | string | The organization name. The name is not case sensitive. |
username | string | The handle for the GitHub user account. |
SELECT examples
- list_docker_migration_conflicting_packages_for_organization
- list_docker_migration_conflicting_packages_for_user
- list_docker_migration_conflicting_packages_for_authenticated_user
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
;
Lists 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.
SELECT
id,
name,
created_at,
html_url,
owner,
package_type,
repository,
updated_at,
url,
version_count,
visibility
FROM github.packages.docker_migration_packages
WHERE username = '{{ username }}' -- required
;
Lists 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.
SELECT
id,
name,
created_at,
html_url,
owner,
package_type,
repository,
updated_at,
url,
version_count,
visibility
FROM github.packages.docker_migration_packages
;