commons-app-documentation

External APIs

The Wikimedia Commons Android app uses several external APIs to do its job.

List of APIs used

Commons Mediawiki API

Event Logging

Wikidata Query Service

Wikimedia Tools Labs

Commons Mediawiki

List of API endpoints used (by functionality)

Sign up

Sign up (external Webview)

Log in

Get login token

Log in

Log event “Log in attempt”

My Recent Uploads (Home)

Get previous uploads / New logevents

Get image (for each existing upload)

Get total number of uploads

Cancel upload

Log event “cancelled upload”

Upload

Upload picture

Log event “Successful upload”

Categories

Get edit token

Get categories for location

Get categories for chosen title + Search category

Fulltext
Prefix

Set Category

Log event “category set”

Get revisions

Save new category

Nearby

Get list of nearby places

Get list of places (without Wikidata setting)