> For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/zh/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/zh/llms-full.txt.

# Interface: ApiWatchEntry

Defined in: [core/watch.ts:13](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/watch.ts#L13)

One watched/unwatched page.

## Properties

### errors?

> `optional` **errors?**: ([`ApiMessage`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiMessage.md) | [`ApiError`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiError.md) | [`ApiSpecMessage`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiSpecMessage.md))\[]

Defined in: [core/watch.ts:45](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/watch.ts#L45)

In-band messages when the watch/unwatch operation failed (pageset mode; the
legacy `title` mode dies with a top-level error instead). Heterogeneous:
messages raised by the operation itself follow the request's `errorformat`
([ApiSpecMessage](https://types-mediawiki-response.pages.dev/zh/api/core/ApiSpecMessage.md) under `bc`, [ApiMessage](https://types-mediawiki-response.pages.dev/zh/api/core/ApiMessage.md) under a modern one),
while a watchlist-label failure carries the legacy `{ code, info }` shape
under `bc`, and an [ApiMessage](https://types-mediawiki-response.pages.dev/zh/api/core/ApiMessage.md) under a modern one.

***

### expiry?

> `optional` **expiry?**: `string`

Defined in: [core/watch.ts:35](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/watch.ts#L35)

Expiry applied to the watch (the `expiry` parameter echoed back). Watch
direction only.

***

### labels?

> `optional` **labels?**: [`ApiWatchlistLabel`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiWatchlistLabel.md)\[]

Defined in: [core/watch.ts:56](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/watch.ts#L56)

Watchlist labels just saved for this page, echoed back when the request
passed `labels` and `$wgEnableWatchlistLabels` is on.

#### Since

MediaWiki 1.46

***

### ns

> **ns**: `number`

Defined in: [core/watch.ts:18](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/watch.ts#L18)

Namespace index.

***

### title

> **title**: `string`

Defined in: [core/watch.ts:15](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/watch.ts#L15)

Page title.

***

### unwatched?

> `optional` **unwatched?**: `boolean`

Defined in: [core/watch.ts:24](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/watch.ts#L24)

The page was removed from the watchlist. A real `boolean`.

***

### warnings?

> `optional` **warnings?**: [`ApiMessage`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiMessage.md)\[] | [`ApiSpecMessage`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiSpecMessage.md)\[]

Defined in: [core/watch.ts:48](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/watch.ts#L48)

In-band warnings for a failed operation (present when non-empty), shaped per the request's `errorformat`.

***

### watchable?

> `optional` **watchable?**: `0`

Defined in: [core/watch.ts:29](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/watch.ts#L29)

The page is not watchable — always `0`; `watched`/`unwatched` are absent.

***

### watched?

> `optional` **watched?**: `boolean`

Defined in: [core/watch.ts:21](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/watch.ts#L21)

The page was added to the watchlist. A real `boolean`.
