MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
prop=stashimageinfo (sii)
- Este módulo requiere permisos de lectura.
 - Fuente: MediaWiki
 - Licencia: GPL-2.0+
 
Devuelve información del archivo para archivos escondidos.
Parámetros:
- siifilekey
 Key that identifies a previous upload that was stashed temporarily.
- Separar los valores con |. El número máximo de los valores es 50 (500 para los bots).
 - siisessionkey
 - En desuso.
 Alias de siifilekey, para retrocompatibilidad.
- Separar los valores con |. El número máximo de los valores es 50 (500 para los bots).
 - siiprop
 Qué información del archivo se obtendrá:
- timestamp
 - Adds timestamp for the uploaded version.
 - canonicaltitle
 - Agrega el título canónico del archivo.
 - 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.
 - thumbmime
 - Adds MIME type of the image thumbnail (requires url and param siiurlwidth).
 - 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.
 
- Valores (separados por |): timestamp, canonicaltitle, url, size, dimensions, sha1, mime, thumbmime, metadata, commonmetadata, extmetadata, bitdepth
 - Predeterminado: timestamp|url
 - siiurlwidth
 If siiprop=url is set, a URL to an image scaled to this width will be returned. For performance reasons if this option is used, no more than 50 scaled images will be returned.
- Tipo: entero
 - Predeterminado: -1
 - siiurlheight
 Similar a siiurlwidth.
- Tipo: entero
 - Predeterminado: -1
 - siiurlparam
 Un controlador específico de la cadena de parámetro. Por ejemplo, los archivos Pdf pueden utilizar page15-100px. siiurlwidth debe ser utilizado y debe ser consistente con siiurlparam.
- Predeterminado: (vacío)
 
Ejemplos:
- Devuelve información para un archivo escondido.
 - api.php?action=query&prop=stashimageinfo&siifilekey=124sd34rsdf567 [open in sandbox]
 - Devuelve las miniaturas de dos archivos escondidos.
 - api.php?action=query&prop=stashimageinfo&siifilekey=b34edoe3|bceffd4&siiurlwidth=120&siiprop=url [open in sandbox]