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

More consistent status codes, added 'query' endpoint #183

Merged
merged 1 commit into from
Sep 30, 2020
Merged

Conversation

spoenemann
Copy link
Member

Fixes #163.

  • Most HTTP endpoints now return proper status codes in case of error (400 or 404).
  • Endpoints related to extension metadata are left unchanged. These will be adapted after a few weeks so clients have time to migrate.
  • Added a new endpoint /api/-/query that can be POSTed to get extension metadata. This is now the preferred endpoint for IDEs such as Theia. In case an extension is not found, it returns status 200 with an empty result.

@spoenemann spoenemann force-pushed the issue163 branch 2 times, most recently from c4692b1 to 6ef832b Compare September 29, 2020 13:03
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

Successfully merging this pull request may close these issues.

Inconsistent HTTP status codes
1 participant