Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/vite-hot-module-replacement-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Vite JavaScript Dev Server Hot Module Replacement API
description: The Vite JavaScript API provides a fully-typed programmatic interface for embedding Vite into build toolchains, frameworks, and custom CLI tools. Functions include creating a dev server, triggering production builds, launching preview servers, resolving configuration, and transforming source files using Oxc or esbuild.
version: 6.0.0
contact:
name: Vite Team
url: https://vitejs.dev
license:
name: MIT
url: https://github.com/vitejs/vite/blob/main/LICENSE
servers:
- url: http://localhost:5173
description: Vite Development Server (default port)
- url: http://localhost:4173
description: Vite Preview Server (default port)
tags:
- name: Hot Module Replacement
description: HMR-related plugin capabilities
paths:
/__hmr/update:
post:
operationId: triggerHmrUpdate
summary: Trigger HMR Update
description: Internal endpoint used by the Vite HMR system to notify the client about module updates.
tags:
- Hot Module Replacement
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/HmrUpdate'
responses:
'200':
description: HMR update dispatched
/__hmr/full-reload:
post:
operationId: triggerFullReload
summary: Trigger Full Page Reload
description: Forces a full browser reload when HMR cannot patch a module in-place.
tags:
- Hot Module Replacement
responses:
'200':
description: Full reload triggered
components:
schemas:
HmrUpdate:
type: object
description: HMR update payload sent from the server to the browser client.
required:
- type
- updates
properties:
type:
type: string
enum:
- update
- full-reload
- prune
- error
description: Type of HMR event.
updates:
type: array
items:
$ref: '#/components/schemas/ModuleUpdate'
description: List of module updates.
ModuleUpdate:
type: object
description: Individual module update in an HMR payload.
required:
- type
- path
- timestamp
properties:
type:
type: string
enum:
- js-update
- css-update
description: Module type being updated.
path:
type: string
description: Module path as served by Vite.
acceptedPath:
type: string
description: The accepted module path (may differ from updated path).
timestamp:
type: integer
description: Timestamp for cache busting.
externalDocs:
description: Official Vite JavaScript API Documentation
url: https://vite.dev/guide/api-javascript