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

Create API endpoint /libpod/network/{id} as alias to /libpod/network/{id}/json #9691

Closed
jwhonce opened this issue Mar 10, 2021 · 0 comments · Fixed by #9703
Closed

Create API endpoint /libpod/network/{id} as alias to /libpod/network/{id}/json #9691

jwhonce opened this issue Mar 10, 2021 · 0 comments · Fixed by #9703
Assignees
Labels
Good First Issue This issue would be a good issue for a first time contributor to undertake. HTTP API Bug is in RESTful API kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@jwhonce
Copy link
Member

jwhonce commented Mar 10, 2021

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind bug

Description

The current libpod inspect network endpoint has the additional suffix /json not present in the compatible API. This requires developers to change more code when porting from the compatible API. Adding the additional endpoint will assist in this move.

Steps to reproduce the issue:

  1. curl -v --unix-socket /run/podman/podman.sock http://d/v3.0.0/libpod/networks/podman

Describe the results you received:

Operation returns 404

Describe the results you expected:

Operation returns 200

@jwhonce jwhonce added Good First Issue This issue would be a good issue for a first time contributor to undertake. kind/bug Categorizes issue or PR as related to a bug. HTTP API Bug is in RESTful API labels Mar 10, 2021
@jwhonce jwhonce self-assigned this Mar 10, 2021
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Good First Issue This issue would be a good issue for a first time contributor to undertake. HTTP API Bug is in RESTful API kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant