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 SecretKeys response doesn't contains the self link [area/api] #12587

Closed
bednar opened this issue Mar 13, 2019 · 0 comments
Closed
Assignees

Comments

@bednar
Copy link
Contributor

bednar commented Mar 13, 2019

The SecretKeys schema has defined self and org link:

SecretKeys:
      properties:
        links:
          type: object
          properties:
            self:
              type: string
            org:
              type: string
        secrets:
          type: array
          items:
            type: string

but the http response contains a secrets link instead of a self:

-> GET 
-> http://127.0.0.1:9999/api/v2/orgs/0389792ff6259000/secrets

<- 200 
<- OK
<- {
	"links": {
		"org": "/api/v2/orgs/0389792ff6259000",
		"secrets": "/api/v2/orgs/0389792ff6259000/secrets"
	},
	"secrets": ["az", "gh"]
}
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

No branches or pull requests

2 participants