appcenter-docs icon indicating copy to clipboard operation
appcenter-docs copied to clipboard

REST calls missing details

Open mandalorianbob opened this issue 2 years ago • 0 comments

curl -X POST 'https://api.appcenter.ms/v0.1/apps/{owner_name}/{app_name}/symbol_uploads' \
    -H 'accept: application/json' \
    -H 'X-API-Token: {API TOKEN}' \
    -H 'Content-Type: application/json' \
    -d '{JSON BODY}'

"JSON BODY" is obviously, you know, not correct. It actually looks like

{
  "symbol_type": "Apple",
  "client_callback": "string",
  "file_name": "string",
  "build": "string",
  "version": "string"
}

Symbol_type can be

Apple, JavaScript, Breakpad, AndroidProguard, UWP

Build/Version are required for Android but optional for Apple.

The big one is "file_name" - I'm not sure why the dsym file_name that you're about to upload in the PUT call would actually be required here, or if it actually wants the name of the APK/IPA file that you're uploading symbols for. I guess it's the dsym?

But an actual example that someone could take and use to create the actual call would be more useful here than "JSON BODY" because I'm actually just going to have guess and check to see if I can figure out how to do this.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

mandalorianbob avatar Jul 11 '22 21:07 mandalorianbob