Aptoide / aptoide-client-v8

All the Apps you need. Discover your new Android App Store.

Home Page:http://en.aptoide.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

always return Invalid category or Missing category parameter

xing393939 opened this issue · comments

i use the v3 api, and it always return Invalid category or Missing category parameter
my request like this:

curl -X POST 'http://webservices.aptoide.com/webservices/3/uploadAppToRepo' \
-F "mode=json" \
-F "access_token=4d1ed1136cb0c9e072cea73f6563xxxxxx7b820" \
-F "repo=dxxxx" \
-F "apk=@path/to/file.apk;type=application/vnd.android.package-archive" \
-F "apkname=My Application" \
-F "description=My Application does some fancy stuff" \
-F "category=10" \
-F "rating=1" \
-F "apk_phone=35199912032" \
-F "apk_email=myapk.support@gmail.com" \
-F "apk_website=https://www.c-launcher.com" \
-F "only_user_repo=false" \
-F "apk_screenshot[]=@path/to/my-shot1.jpg;type=image/jpeg" \
-F "apk_screenshot[]=@path/to/my-shot2.jpg;type=image/png" 

what happens? does the api is ok?

Hello,
Thank you for reporting this issue, there is a ticket open for the web team in our internal issue tracker and we will try to fix it ASAP.

Hello,
This was fixed.
Thank you.