Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add all projects support to fetch images #14126

Open
edlerd opened this issue Sep 18, 2024 · 0 comments · May be fixed by #14260
Open

Add all projects support to fetch images #14126

edlerd opened this issue Sep 18, 2024 · 0 comments · May be fixed by #14260
Assignees
Labels
Improvement Improve to current situation
Milestone

Comments

@edlerd
Copy link
Contributor

edlerd commented Sep 18, 2024

Required information

  • Distribution: snap
  • Distribution version: 6.1

Issue description

Add a way to fetch images from all projects. Suggesting a new param: GET 1.0/images?all-projects=true. A similar parameter exists on the instance endpoint.

Motivation: We need all images for the permission selection in LXD-UI. We present the list of images to create a permission, and the auth API only gives us fingerprints for the images. So we'd like to fetch all images to show the nice names. This currently only works for images in the default project, others stay with the fingerprint, as we can't load the images for all projects.

@tomponline tomponline added this to the lxd-6.2 milestone Sep 18, 2024
@tomponline tomponline added the Improvement Improve to current situation label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Improve to current situation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants