මාධ්‍යවිකි API උදවු

මෙය ස්වයං-ජනිත මාධ්‍යවිකි API ප්‍රලේඛන පිටුවකි.

ප්‍රලේඛනය සහ උදාහරණ: https://www.mediawiki.org/wiki/API

list=allimages (ai)

(main | query | allimages)
  • මෙම ඒකකය සදහා හිමිකම් කියවීම අවශ්‍ය වේ.
  • මෙම ආකෘතිය උත්පාදකයක් ලෙස භාවිතා කල හැක.
  • Source: MediaWiki
  • License: GPL-2.0+

Enumerate all images sequentially.

පරාමිතීන්:
aisort

Property to sort by.

එක් වටිනාකමක්: name, timestamp
Default: name
aidir

The direction in which to list.

එක් වටිනාකමක්: ascending, descending, newer, older
Default: ascending
aifrom

The image title to start enumerating from. Can only be used with aisort=name.

aito

The image title to stop enumerating at. Can only be used with aisort=name.

aicontinue

When more results are available, use this to continue.

aistart

The timestamp to start enumerating from. Can only be used with aisort=timestamp.

Type: timestamp (allowed formats)
aiend

The timestamp to end enumerating. Can only be used with aisort=timestamp.

Type: timestamp (allowed formats)
aiprop

Which file information to get:

timestamp
Adds timestamp for the uploaded version.
user
Adds the user who uploaded each file version.
userid
Add the ID of the user that uploaded each file version.
comment
Comment on the version.
parsedcomment
Parse the comment on the version.
canonicaltitle
Adds the canonical title of the file.
url
Gives URL to the file and the description page.
size
Adds the size of the file in bytes and the height, width and page count (if applicable).
dimensions
Alias for size.
sha1
Adds SHA-1 hash for the file.
mime
Adds MIME type of the file.
mediatype
Adds the media type of the file.
metadata
Lists Exif metadata for the version of the file.
commonmetadata
Lists file format generic metadata for the version of the file.
extmetadata
Lists formatted metadata combined from multiple sources. Results are HTML formatted.
bitdepth
Adds the bit depth of the version.
වටිනාකම් ("|" සමග වෙන් කරන්න): timestamp, user, userid, comment, parsedcomment, canonicaltitle, url, size, dimensions, sha1, mime, mediatype, metadata, commonmetadata, extmetadata, bitdepth
Default: timestamp|url
aiprefix

Search for all image titles that begin with this value. Can only be used with aisort=name.

aiminsize

Limit to images with at least this many bytes.

Type: integer
aimaxsize

Limit to images with at most this many bytes.

Type: integer
aisha1

SHA1 hash of image. Overrides aisha1base36.

aisha1base36

SHA1 hash of image in base 36 (used in MediaWiki).

aiuser

Only return files uploaded by this user. Can only be used with aisort=timestamp. Cannot be used together with aifilterbots.

Type: user name
aifilterbots

How to filter files uploaded by bots. Can only be used with aisort=timestamp. Cannot be used together with aiuser.

එක් වටිනාකමක්: all, bots, nobots
Default: all
aimime

What MIME types to search for, e.g. image/jpeg.

වටිනාකම් "|" සමග වෙන් කරන්න. අංක සදහා උපරිම වටිනාකම 50 (500 බොට්ස් සදහා)
ailimit

How many images in total to return.

500 කට වැඩ අනුමත කරන්නේ නැත (5,000 බොට්ස් සදහාය).
Type: integer or max
Default: 10
"http://encyclopedia.gov.lk/si_encyclopedia/index.php/විශේෂ:ApiHelp" වෙතින් සම්ප්‍රවේශනය කෙරිණි