Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST calls missing details #1371

Open
mandalorianbob opened this issue Jul 11, 2022 · 0 comments
Open

REST calls missing details #1371

mandalorianbob opened this issue Jul 11, 2022 · 0 comments

Comments

@mandalorianbob
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants