> 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: ApiFileRepoInfo

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

One file repository: an element of the `query.repos` array.

## Properties

### apiurl?

> `optional` **apiurl?**: `string`

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

Base path of the repo wiki's API, for `ForeignAPIRepo` backends. `friprop=apiurl`.

***

### articleUrl?

> `optional` **articleUrl?**: `string`

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

URL prefix of the repo wiki's article pages. `friprop=articleUrl`.

***

### canUpload?

> `optional` **canUpload?**: `boolean`

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

Whether the requesting user may upload here. `friprop=canUpload`.

***

### descBaseUrl?

> `optional` **descBaseUrl?**: `string`

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

URL prefix of the repo wiki's file description pages (e.g. `…/wiki/File:`). `friprop=descBaseUrl`.

***

### descriptionCacheExpiry?

> `optional` **descriptionCacheExpiry?**: `number`

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

How long fetched descriptions are cached, in seconds. `friprop=descriptionCacheExpiry`.

***

### displayname?

> `optional` **displayname?**: `string`

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

Human-readable repo name. `friprop=displayname`.

***

### favicon?

> `optional` **favicon?**: `string`

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

URL of the repo wiki's favicon. `friprop=favicon`.

***

### fetchDescription?

> `optional` **fetchDescription?**: `boolean`

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

Whether description pages are fetched from the remote wiki. `friprop=fetchDescription`.

***

### initialCapital?

> `optional` **initialCapital?**: `boolean`

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

Whether titles on the repo wiki are capitalized on first letter. `friprop=initialCapital`.

***

### local?

> `optional` **local?**: `boolean`

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

Whether this is the wiki's own repo. `friprop=local`.

***

### name?

> `optional` **name?**: `string`

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

Repo id; `local` is the wiki's own repo. `friprop=name` (default).

***

### rootUrl?

> `optional` **rootUrl?**: `string`

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

Repo root without the hashed subpath. `friprop=rootUrl`.

***

### scriptDirUrl?

> `optional` **scriptDirUrl?**: `string`

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

Base path of the repo's wiki, e.g. `https://www.mediawiki.org/w`. `friprop=scriptDirUrl`.

***

### thumbUrl?

> `optional` **thumbUrl?**: `string`

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

Base path for thumbnails. `friprop=thumbUrl`.

***

### url?

> `optional` **url?**: `string`

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

Public base path of the repo. `friprop=url`.
