You're now seeing the old version of Aptoide website as the new Aptoide website is still in beta stage.
The old Aptoide website should still be used to manage your account and search applications.


Please confirm you have read and accepts the terms of this contract.
Web Services Documentation


Intro
addApkComment
addApkLike
checkUserCredentials
getApkInfo
getRepositoryInfo
listApkComments
listApkLikesCount
listApkScreens
listRepository
listRepositoryChange
listRepositoryComments
listRepositoryLikes
listRepositoryLocalApkNames
uploadAppToRepo
Examples

uploadAppToRepo


Uploading an Application to a User Repository (Google Market support)


URL:




Supported Formats:

JSON and XML


Supported Methods:

POST


Description:

Uploads an application to a user repository (owned by you).


Arguments:

token - Developer token
repo - User repository name
mode - Return mode/format ('xml' or 'json')
apk - Application file (must be '.apk' ):
Content-Type: application/vnd.android.package-archive
apkname - Application name/title
       (when omitted Google Market info is used if possible, otherwise an error is returned)
description - Application description (when omitted Google Market info is used if possible,
       otherwise an error is returned)
category - Application category (integer value, when omitted Google Market info is used if possible,
       otherwise an error is returned):
1 - Comics
2 - Communication
3 - Entertainment
4 - Finance
5 - Health
6 - Lifestyle
7 - Multimedia
8 - News & Weather
9 - Productivity
10 - Reference
11 - Shopping
12 - Social
13 - Sports
14 - Themes
15 - Tools
16 - Travel
17 - Demo
18 - Software Libraries
19 - Arcade & Action (Games)
20 - Brain & Puzzle (Games)
21 - Cards & Casino (Games)
22 - Casual (Games)
24 - News & Magazines
29 - Music & Audio
37 - Photography
38 - Personalization
45 - Racing (Games)
76 - Books & Reference
84 - Health & Fitness
87 - Media & Video
93 - Education
147 - Business
291 - Sports Games
308 - Weather
413 - Travel & Local
416 - Transportation
457 - Medical
734 - Libraries & Demo
848 - Transport
rating - Application age rating (integer value):
1 - All
2 - Pre-Teen (minimal age: 10)
3 - Teen (minimal age: 16)
4 - Mature (minimal age: 18)
apk_phone - Application Developer phone number (optional argument, integer value,
       Google Market info is used if possible)
apk_email - Application Developer email address
       (optional argument, Google Market info is used if possible)
apk_website - Application Developer website
       (optional argument, Google Market info is used if possible)
apk_screenshot[] - Application screenshots files (optional argument, array, when omitted,
       Google Market images are used if possible), '.jpg' and '.png' accepted:
(maximum of 5 screenshots allowed)
Content-Type: image/jpeg
        or
Content-Type: image/png
only_user_repo - If true, the application gets uploaded only to the repository given in the repo argument.
       If false or ommited, the application gets uploaded to the official apps repository as well.
       (optional argument, boolean [accepted values for TRUE: true, t, 1])
apk_md5sum - If set with the application file MD5 hash, the APK is uploaded ignoring the apk argument.
       (optional argument)
obb_main - Application OBB main file:
main-(apk version code)-(apk package).obb
Content-Type: application/vnd.android.obb
obb_main_md5sum - OBB main file MD5 hash, if set the OBB is uploaded ignoring the obb_main argument.
       (optional argument)
obb_patch - Application OBB patch file:
patch-(apk version code)-(apk package).obb
Content-Type: application/vnd.android.obb
obb_patch_md5sum - OBB patch file MD5 hash, if set the OBB is uploaded ignoring the obb_patch argument.
       (optional argument)


Response:

status - Request result status (OK or FAIL)
errors - Errors log from the request (always existent)
icon - Icon URL from the uploaded application
url - Application web page URL


Using the Web Service (examples):

XML Response
JSON Response
XML Response using Google Market
JSON Response using Google Market



Sample Response - XML:


<response>
   <status>OK</status>
   <errors>
      <entry>'My App' successfully uploaded.</entry>
   </errors>
   <icon>http://imgs.aptoide.com/.../30527fe32ba24219e076a903b.png</icon>
   <url>http://my-repo.store.aptoide.com/.../4/641/Pool Master</url>
</response>



Sample Response - JSON:


{
   "status": "OK",
   "errors":
      [
         "'My App' successfully uploaded"
      ]
   "icon": "http://imgs.aptoide.com/.../30527fe32ba24219e076a903b.png",
   "url": "http://my-repo.store.aptoide.com/.../4/641/Pool Master",
}




About | Terms of Use | Web Services | Partners | Publishers | Contacts
Follow us on Facebook! Follow us on Twitter!

ABOUT SSL CERTIFICATES
Aptoide is a website where you can download free apps to mobile Android devices through a software client, Aptoide
In Aptoide you can also upload Android apps to share with others.