Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Adjusted Blockstorage V3 Snapshot List Endpoint #2404

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

Conversation

TaminoWalter
Copy link

@TaminoWalter TaminoWalter commented May 19, 2022

Replaced the normal list snapshots with the detailed list endpoint url.

Fixes #2403

Links to the line numbers/files in the OpenStack source code that support the
code in this PR:

https://docs.openstack.org/api-ref/block-storage/v3/index.html?expanded=list-accessible-snapshots-detail,list-snapshots-and-details-detail#list-snapshots-and-details

Replaced the normal list snapshots with the detailed list endpoint url.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for submitting your first PR! Be sure that we will be looking at it but keep in mind
this sometimes takes a while.
Please let the maintainers know if your PR has not got enough attention after a few days.
If any doubt, please consult our PR tutorial.

Adjusted the unit tests to provide the /snapshots/detail endpoint for listing snapshots
@coveralls
Copy link

Coverage Status

Coverage remained the same at 79.992% when pulling fdf0c22 on TaminoWalter:blockstorage-v3-snapshot-list-detail into 0ffab06 on gophercloud:master.

Copy link
Contributor

@mandre mandre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are two different API calls, both valid:

In consequence, we should create a new function (ListDetail()?) in /v3/snapshots/requests.go for the new /v3/{project_id}/snapshots/detail endpoint, rather than updating the List() function to return the detailed list of snapshots.

@mandre
Copy link
Contributor

mandre commented Mar 6, 2025

Superseded by #3305

@mandre mandre closed this Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

V3 blockstorage snapshot list is using the wrong endpoint
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.