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

api: return Operator as JSON object #7704

Closed
pingyu opened this issue Jan 12, 2024 · 0 comments · Fixed by #7705
Closed

api: return Operator as JSON object #7704

pingyu opened this issue Jan 12, 2024 · 0 comments · Fixed by #7705
Labels
type/feature-request Categorizes issue or PR as related to a new feature.

Comments

@pingyu
Copy link
Contributor

pingyu commented Jan 12, 2024

Feature Request

Describe your feature request related problem

Describe the feature you'd like

The Operator return by /pd/api/v1/operators are strings and difficult to use by applications.

Describe alternatives you've considered

Return Operator as JSON objects.

Teachability, Documentation, Adoption, Migration Strategy

@pingyu pingyu added the type/feature-request Categorizes issue or PR as related to a new feature. label Jan 12, 2024
@pingyu pingyu changed the title api: return Operator as object api: return Operator as JSON object Jan 12, 2024
ti-chi-bot bot added a commit that referenced this issue Jan 16, 2024
close #7704

api: optional return operators as JSON object

Signed-off-by: Ping Yu <yuping@pingcap.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
pingandb pushed a commit to pingandb/pd that referenced this issue Jan 18, 2024
close tikv#7704

api: optional return operators as JSON object

Signed-off-by: Ping Yu <yuping@pingcap.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
Signed-off-by: pingandb <songge102@pingan.com.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant