Check Uploaded dSYMs Using the REST API
You can check to make sure that your dSYMs have successfully uploaded using two REST APIs.
- Get a list of the UUIDs for the last 50 dSYMs you have uploaded.
- Check if a specific dSYM has been uploaded.
List of the Last 50 dSYMs Uploaded
The dsymQuery method allows you to retrieve a list of UUIDs for up to the last 50 dSYM files that have been uploaded to your account, along with the time they were uploaded. The response is displayed as JSON, by upload time, with the most recent first.
- Set up your authentication as described in Upload the dSYM File to Splunk AppDynamics Using the REST API.
- Create a GET request of the form:
curl --user Example+account:Example-License-Key-4e8ec2ae6cfe https://<EUM_Cloud/Server_Host:Port>/v2/account/Example+account/crash-symbol-file-query/dsym- EUM_Cloudrefers to SaaS-based EUM Cloud URLs. For a complete list, see Splunk AppDynamics SaaS SaaS Domains and IP Ranges.- EUM_Server_Hostrefers to the URL pointing to your on-premises EUM Server.- EUM_Account_Nameis your EUM account name.
.- GUID_To_Checkis the GUID of the ProGuard file in which you are interested.
Sample Request
- Americas
-
curl --user Example+account:Example-License-Key-4e8ec2ae6cfe https://api.eum-appdynamics.com:443/v2/account/Example+account/crash-symbol-file-query/dsym - EMEA
-
curl --user Example+account:Example-License-Key-4e8ec2ae6cfe https://fra-api.eum-appdynamics.com:443/v2/account/Example+account/crash-symbol-file-query/dsym - APAC
-
curl --user Example+account:Example-License-Key-4e8ec2ae6cfe https://syd-api.eum-appdynamics.com:443/v2/account/Example+account/crash-symbol-file-query/dsym
Sample Response
{"dSymFiles":[
{"uploadTime":"mm/dd/yyyy 14:15:32","UUID2":"my_uuid2"},
{"uploadTime":"mm/dd/yyyy 14:15:32","UUID":"my_uuid"}
]}
Check for Specific dSYM by UUID
The checkForDSymFile method allows you to check if a specific dSYM by UUID has been uploaded. The upload time is returned in the response.
- Set up your authentication as described in Upload the dSYM File to Splunk AppDynamics Using the REST API.
- Create a GET request of the form:
curl --user Example+account:Example-License-Key-4e8ec2ae6cfe https://<EUM_Cloud/Server_Host:Port>/v2/account/Example+account/crash-symbol-file-query/dsym/uuid/<UUID_to_Check>- EUM_Cloudrefers to SaaS-based EUM Cloud URLs. For a complete list, see Splunk AppDynamics SaaS SaaS Domains and IP Ranges.- EUM_Server_Hostrefers to the URL pointing to your on-premises EUM Server.- EUM_Account_Nameis your EUM account name.
.- GUID_To_Checkis the GUID of the ProGuard file in which you are interested.Sample Request
curl --user Example+account:Example-License-Key-4e8ec2ae6cfe https://<EUM_Cloud/Server_Host:Port>/v2/account/Example+account/crash-symbol-file-query/dsym/uuid/<UUID_to_Check>Sample Response
{"uploadTime":"mm/dd/yyyy 14:15:32","UUID":"my_uuid"}