eclipse / openvsx

An open-source registry for VS Code extensions
https://open-vsx.org/
Eclipse Public License 2.0
1.25k stars 142 forks source link

Sync endpoint for `extensionUrlTemplate` with MS #1036

Open mustard-mh opened 2 days ago

mustard-mh commented 2 days ago

MS will use new endpoint to get extension update data (PR https://github.com/microsoft/vscode/pull/233322). I can't find similar endpoint on open-vsx

Official example: https://www.vscode-unpkg.net/_gallery/ms-toolsai/jupyter-keymap/latest

mustard-mh commented 2 days ago

cc @amvanbaren could you please take a look if you have time 🙏 ? Maybe there's already endpoint but I'm not aware?

amvanbaren commented 2 days ago

Hi @mustard-mh, there isn't an endpoint like this. I'll take a look at it.

amvanbaren commented 2 days ago

@mustard-mh bit off-topic, but do you know what the deploymentType field in the response is used for?

mustard-mh commented 2 days ago

Hey @amvanbaren 👋 , the deploymentType in the official example is 0. Is this what you want? Btw, there's no such field in vscode source code's interfaces.

{
  "extensionId": "9f6dc8db-620c-4844-b8c5-e74914f1be27",
  ...
  "deploymentType": 0
}