VS Code Marketplace · Example Payload

Vs Code Marketplace Downloadextension Example

Example request for downloading the latest VSIX package of a specific extension.

Developer ToolsExtensionsIDEMicrosoft

Vs Code Marketplace Downloadextension Example is an example object payload from VS Code Marketplace, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

summarydescriptionrequestresponsenotes

Example Payload

Raw ↑
{
  "summary": "Download a VS Code extension VSIX package",
  "description": "Example request for downloading the latest VSIX package of a specific extension.",
  "request": {
    "method": "GET",
    "url": "https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-python/vsextensions/python/latest/vspackage",
    "headers": {
      "Accept": "application/octet-stream"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/octet-stream",
      "Content-Disposition": "attachment; filename=ms-python.python-2024.1.10621009.vsix"
    },
    "body": "<binary VSIX package data>"
  },
  "notes": "The VSIX file is a ZIP archive containing extension manifest, code, and assets. Use 'latest' as version to always download the most recent release."
}