curl -H "Authorization: Bearer ${API_TOKEN}" -X POST \
https://lab-api.nowsecure.com/app/assessment/1486153919195/cancel
Header
Field
Type
Description
Authorization
String
Send header with value Bearer: ${API_TOKEN} to authenticate
Route
Field
Type
Description
task
String
The numeric task identifier associated with assessment request
Trigger Application Assessment
After changing the configurations, using POST /app/{platform}/{package}/assessment/ will trigger an assessment on the most recent build of the application with the new configuration options.
curl -H "Authorization: Bearer ${API_TOKEN}" -X POST \
https://lab-api.nowsecure.com/app/ios/br.com.tribanco.mb/assessment/?group=838929c6-73c8-11e8-a19d-27d57188d0f9
curl -H "Authorization: Bearer ${API_TOKEN}" -X POST \
https://lab-api.nowsecure.com/app/ios/br.com.tribanco.mb/assessment/?appstore_download=*&group=838929c6-73c8-11e8-a19d-27d57188d0f9
Header
Field
Type
Description
Authorization
String
Send header with value Bearer: ${API_TOKEN} to authenticate
Route
Field
Type
Description
platform
String
The platform associated with application. Allowed values: "ios", "android"
package
String
The package identifier for application
Query
Field
Type
Description
group
String
The uuid group ref of application (only optional if user belongs to exactly one group)
appstore_download
String
The value * (or any truthy value, for now) will attempt to download the latest available build of the app from appstore, and run the assessment on this build binary (assuming the has an appstore_application_key set)
curl -H "Authorization: Bearer ${API_TOKEN}" -X GET \
https://lab-api.nowsecure.com/app/android/com.sample.android.testdpc/assessment/
Header
Field
Type
Description
Authorization
String
Send header with value Bearer: ${API_TOKEN} to authenticate
Route
Field
Type
Description
platform
String
The platform associated with application. Allowed values: "ios", "android"
package
String
The package identifier for application
Query
Field
Type
Description
group
String
The uuid group ref of application (only optional if user belongs to exactly one group)
View Raw Report
Using the GET /app/{platform}/{package}/assessment/{task}/report endpoint will allow the user to view a the raw report for a specific application package.
Comments
Article is closed for comments.