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

InfluxDB 2.0: The "GET" method of "/dashboards/{dashboardID}/cells/{cellID}/view" should return "cell not found" for a cell that doesn't exists [area/api] #13083

Closed
bednar opened this issue Apr 2, 2019 · 4 comments

Comments

@bednar
Copy link
Contributor

bednar commented Apr 2, 2019

The /dashboards/{dashboardID}/cells/{cellID}/view should return cell not found for a cell that doesn't exists:

-> GET 
-> http://127.0.0.1:9999/api/v2/dashboards/03a3789a6a393000/cells/ffffffffffffffff/view 

<- 404 
<- Not Found
<- {
	"code": "not found",
	"message": "view not found",
	"error": {
		"code": "not found",
		"message": "view not found"
	}
}
@kelwang
Copy link
Contributor

kelwang commented Apr 16, 2019

Hey @desa, needs your inputs here. I interpret this issue as "view not found" could be a little confusing.

in order to achieve what @bednar asked, we could do a dashboard search first, then change the "view not found" error to "cell not found" error.

as well as update, delete, patch for the view.

@desa
Copy link
Contributor

desa commented Apr 22, 2019

cell not found seems like the correct error to return to me.

@stale
Copy link

stale bot commented Jul 22, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jul 22, 2019
@stale
Copy link

stale bot commented Jul 29, 2019

This issue has been automatically closed because it has not had recent activity. Please reopen if this issue is still important to you. Thank you for your contributions.

@stale stale bot closed this as completed Jul 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants