Skip to main content
POST
/wikimedia_commons/files

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
file
string
required
Minimum string length: 1
timeout
integer
default:300
Required range: 20 <= x <= 1500
thumb_width
integer | null
Required range: 1 <= x <= 10000
history
boolean
default:false

Response

Successful Response

id
integer
required
@type
string
default:WikimediaCommonsFile
image
string
default:""
thumbnail
string | null
description_url
string
default:""
web_url
string
default:""
width
integer | null
height
integer | null
size
integer | null
mime
string | null
media_type
string | null
sha1
string | null
uploaded_by
string | null
uploaded_at
string | null
object_name
string | null
author
string | null
credit
string | null
license
string | null
license_short_name
string | null
license_url
string | null
usage_terms
string | null
is_copyrighted
boolean | null
attribution_required
boolean | null
restrictions
string | null
date
string | null
categories
string[]
assessments
string[]
latitude
number | null
longitude
number | null
gps_map_datum
string | null
revisions
object[]