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

web_api: Consider Semver #1327

Open
nathaniel-brough opened this issue Nov 24, 2023 · 0 comments
Open

web_api: Consider Semver #1327

nathaniel-brough opened this issue Nov 24, 2023 · 0 comments

Comments

@nathaniel-brough
Copy link
Contributor

I'm not sure how stable the web api is going to be but would it make sense to semver it. e.g.
Rather than;

curl -L https://introspector.oss-fuzz.com/api/far-reach-but-low-coverage?project=json-c

It'd be something like;

curl -L https://introspector.oss-fuzz.com/api/v1.0.0/far-reach-but-low-coverage?project=json-c

I'd be ok with only one version being supported at any one point and then if you use an old version you'd get back a deprecated response. Something like;

$ curl -L https://introspector.oss-fuzz.com/api/v0.9.0/far-reach-but-low-coverage?project=json-c
{
  "result": "API version v0.9.0 is deprecated, please use v1.0.0",
}
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

1 participant