# Variable: INK_DEV_API_INFO (/jsdoc/pixi-vn-ink/vite/variables/INK_DEV_API_INFO)



\> `const` **INK\_DEV\_API\_INFO**: `"/__pixi-vn-ink/info"` = `"/__pixi-vn-ink/info"`

Defined in: [src/vite/costants.ts:64](https://github.com/DRincs-Productions/pixi-vn-ink/blob/8d45a4e5f29997844c9784f1a713b33e5400b7d0/src/vite/costants.ts#L64)

Dev-server endpoint that exposes static information about this library instance, as an
[InkLibraryInfo](/jsdoc/pixi-vn-ink/vite/interfaces/InkLibraryInfo) object.

* `GET /__pixi-vn-ink/info` – returns `{ version, schemaUrl }`, where `version` is this
  `@drincs/pixi-vn-ink` package's own version and `schemaUrl` is the `PIXIVNJSON_SCHEMA_URL`
  (from `@drincs/pixi-vn-json/constants`) embedded as `$schema` in every exported `PixiVNJson`
  document.
* Read-only: unlike [INK\_DEV\_API\_HASHTAG\_COMMANDS](/jsdoc/pixi-vn-ink/vite/variables/INK_DEV_API_HASHTAG_COMMANDS) / [INK\_DEV\_API\_TEXT\_REPLACES](/jsdoc/pixi-vn-ink/vite/variables/INK_DEV_API_TEXT_REPLACES),
  there is no `POST` — both values are static per plugin instance and don't depend on
  SSR-loading the user's content, so there's nothing for setupInkHmrListener to push.

## Example [#example]

```ts
// VS Code extension reading the library version / schema URL
const res = await fetch("http://localhost:5173/__pixi-vn-ink/info");
const { version, schemaUrl }: InkLibraryInfo = await res.json();
```
