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

# Interface: ApiActionPermission

Defined in: [core/query/info.ts:44](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/info.ts#L44)

One permission-check failure reported under `intestactionsdetail=full|quick`.
The text-bearing keys depend on the request's `errorformat`: `text` for
`plaintext`/`wikitext`, `html` for `html`, `key`/`params` for `raw`, and none
of them for `none`. A request using the default (`bc`) format is rendered as
`plaintext` here.

## Properties

### code

> **code**: `string`

Defined in: [core/query/info.ts:46](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/info.ts#L46)

Machine-readable code, e.g. `sitejsprotected`.

***

### html?

> `optional` **html?**: `string`

Defined in: [core/query/info.ts:52](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/info.ts#L52)

Parsed message HTML (`html`).

***

### key?

> `optional` **key?**: `string`

Defined in: [core/query/info.ts:55](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/info.ts#L55)

i18n message key (`raw`).

***

### params?

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

Defined in: [core/query/info.ts:58](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/info.ts#L58)

i18n message parameters (`raw`).

***

### text?

> `optional` **text?**: `string`

Defined in: [core/query/info.ts:49](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/info.ts#L49)

Rendered message text (`plaintext`/`wikitext`).
