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: The new tenant user handler doesn't satisfy swagger API Definition #18389

Closed
bednar opened this issue Jun 8, 2020 · 0 comments · Fixed by #18459
Closed

InfluxDB 2: The new tenant user handler doesn't satisfy swagger API Definition #18389

bednar opened this issue Jun 8, 2020 · 0 comments · Fixed by #18459
Labels

Comments

@bednar
Copy link
Contributor

bednar commented Jun 8, 2020

  1. The user object doesn't have a logs link:

logs:

# Create an user
--> POST http://127.0.0.1:9999/api/v2/users
--> {"name":"John Ryzen1591608136621-IT","status":"active"}

<-- 201 Created http://127.0.0.1:9999/api/v2/user
<-- {
	"links": {
		"self": "/api/v2/users/05d0ce8e0706c000"
	},
	"id": "05d0ce8e0706c000",
	"name": "John Ryzen1591608136621-IT",
	"status": "active"
}
  1. The "/users/{userID}/logs" endpoint is not implemented:

"/users/{userID}/logs":

# Get user logs
--> GET http://127.0.0.1:9999/api/v2/users/057923121df8d000/logs

<-- 404 Not Found http://127.0.0.1:9999/api/v2/users/057923121df8d000/logs

Expected behavior:
As is described in swagger.yml.

Environment info:

  • InfluxDB version: Latest nightly build

caused by #18190
cc @lyondhill, @AlirieGray

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant