APP hardening result query interface

Last Updated: Mar 29, 2017

Request parameters

Name Type Required? Description
ItemId String Yes Unique ID of a task.

Request example

  1. https://jaq.aliyuncs.com/
  2. ?Format=JSON
  3. &ItemId=366ce1a0-8b71-4409-bfcc-961811805077
  4. &AccessKeyId=accessKeyId
  5. &Action=GetShieldResult
  6. &SignatureMethod=HMAC-SHA1
  7. &RegionId=cn-hangzhou
  8. &SignatureNonce=76c08851-b577-4e69-88f5-6c5a34038230
  9. &SignatureVersion=1.0
  10. &Version=2016-04-12
  11. &Signature=OPaEAHEbqDZQyR6s1jcr858ulSE%3D
  12. &Timestamp=2016-06-05T06%3A23%3A00Z

Returned parameters

Name Parent Node Description
Data - Returned results.
taskStatus Data Task status. Values:

  • 1: finished
  • 2: processing
  • 3: processing error
  • 4: processing timeout
appListDataApplication list after hardening. Returned only when the task is completed.
One file for common hardening, one file each channel for multi-channel hardening.
channelappListChannel name. Valid for multi-channel hardening.
appUrlappListDownload address of the hardened application.
obfuscateResultDataReturned result of obfuscation rate calculation.
totalClassesobfuscateResultTotal quantity of classes.
totalFieldsobfuscateResultTotal quantity of member variables.
totalMethodsobfuscateResultTotal quantity of methods.
obfuscatedClassesobfuscateResultQuantity of obfuscated classes.
obfuscatedFieldsobfuscateResultQuantity of obfuscated member variables.
obfuscatedMethodsobfuscateResultQuantity of obfuscation methods.
obfuscatedPercentobfuscateResultOverall obfuscation rate.

Return example

JSON format

  1. {
  2. "Data": {
  3. "ObfuscateResult": {
  4. "ObfuscatedClasses": 2870,
  5. "TotalClasses": 7880,
  6. "TotalFields": 35583,
  7. "ObfuscatedMethods": 49852,
  8. "ObfuscatedPercent": 32,
  9. "ObfuscatedFields": 12291,
  10. "TotalMethods": 49852
  11. },
  12. "AppList": {
  13. "ChannelAppInfo": [
  14. "{\"appUrl\":\"http://mobisecenhance-public-apk.cn-hangzhou.oss-pub.aliyun-inc.com/2016-04-25-apk/com.taobao.movie.android-20160425-21-50-37-103.apk.91?Expires=1462631498&OSSAccessKeyId=9gt0Lx7iSdCEWgzr&Signature=tn7kI13Oqt/Y/LA4CsYwL5g25Jw%3D\",\"channel\":\"91\"}",
  15. "{\"appUrl\":\"http://mobisecenhance-public-apk.cn-hangzhou.oss-pub.aliyun-inc.com/2016-04-25-apk/com.taobao.movie.android-20160425-21-50-37-103.apk.360?Expires=1462631499&OSSAccessKeyId=9gt0Lx7iSdCEWgzr&Signature=3C9TRRluQNS3lHKrHdXpVtrXn4A%3D\",\"channel\":\"360\"}"
  16. ]
  17. },
  18. "TaskStatus": 1
  19. },
  20. "ErrorMsg": "Success",
  21. "ErrorCode": 0
  22. }

XML format

  1. <GetShieldResultResponse>
  2. <Data>
  3. <ObfuscateResult>
  4. <ObfuscatedClasses>2870</ObfuscatedClasses>
  5. <TotalClasses>7880</TotalClasses>
  6. <TotalFields>35583</TotalFields>
  7. <ObfuscatedMethods>49852</ObfuscatedMethods>
  8. <ObfuscatedPercent>32.0</ObfuscatedPercent>
  9. <ObfuscatedFields>12291</ObfuscatedFields>
  10. <TotalMethods>49852</TotalMethods>
  11. </ObfuscateResult>
  12. <AppList>
  13. <ChannelAppInfo>{"appUrl":"http://mobisecenhance-public-apk.cn-hangzhou.oss-pub.aliyun-inc.com/2016-04-25-apk/com.taobao.movie.android-20160425-21-50-37-103.apk.91?Expires=1462631498&OSSAccessKeyId=9gt0Lx7iSdCEWgzr&Signature=tn7kI13Oqt/Y/LA4CsYwL5g25Jw%3D","channel":"91"}
  14. </ChannelAppInfo>
  15. <ChannelAppInfo>{"appUrl":"http://mobisecenhance-public-apk.cn-hangzhou.oss-pub.aliyun-inc.com/2016-04-25-apk/com.taobao.movie.android-20160425-21-50-37-103.apk.360?Expires=1462631499&OSSAccessKeyId=9gt0Lx7iSdCEWgzr&Signature=3C9TRRluQNS3lHKrHdXpVtrXn4A%3D","channel":"360"}
  16. </ChannelAppInfo>
  17. </AppList>
  18. <TaskStatus>1</TaskStatus>
  19. </Data>
  20. <ErrorMsg>Success</ErrorMsg>
  21. <ErrorCode>0</ErrorCode>
  22. </GetShieldResultResponse>
Thank you! We've received your feedback.