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

k6 REST API v2 #3497

Open
3 tasks
olegbespalov opened this issue Dec 11, 2023 · 1 comment
Open
3 tasks

k6 REST API v2 #3497

olegbespalov opened this issue Dec 11, 2023 · 1 comment
Labels
documentation-needed A PR which will need a separate PR for documentation maintenance

Comments

@olegbespalov
Copy link
Collaborator

olegbespalov commented Dec 11, 2023

What?

Our current version of the REST API hasn't been touched for a long time. At some point we'd like to improve it (a better API design, remove unnecessary dependencies, etc) and took into account the latest state like distributed execution.

For now this is blocked by the #140

Tasks

  1. enhancement refactor ux
  2. feature

Why?

We believe that the current API could be better.

@codebien
Copy link
Collaborator

codebien commented Feb 15, 2024

In #3583 discussion, we set the hypothesis that k6 doesn't need a real HTTP API v2 after we have implemented native distributed execution. Most of the current endpoints cover use cases useful before #1007 or the absence of the native distribution execution.

So, potentially, v2 means only to drop the endpoints from v1 that could be useless after we have introduced native distributed execution. As we don't have specific endpoints that we are considering to add. At least at the time I'm writing.

Still, it remains all the work required in terms of refactoring. But it may not strictly require the bump of the version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation-needed A PR which will need a separate PR for documentation maintenance
Projects
None yet
Development

No branches or pull requests

2 participants