appcenter-docs
appcenter-docs copied to clipboard
REST calls missing details
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.
- ID: 42fcdefa-2d30-084a-0631-a3f6b1eefa64
- Version Independent ID: 0a2aaddc-d442-1100-a566-127affcf4671
- Content: Unmanaged Code Crash Support - Visual Studio App Center
- Content Source: docs/diagnostics/unmanaged-code-crash-support.md
- Service: vs-appcenter
- Sub-service: app-center-diagnostics
- GitHub Login: @lucen-ms
- Microsoft Alias: lucen