These API operations let you access information about the scans of registered mobile apps within your organization’s Data Theorem account.
This API operation gives you better insight regarding a mobile apps scan history by fetching all scans performed for a given mobile app.
The data that is returned contains two keys: scans
and pagination_information
.
The scans
key contains a page of scans for the desired mobile app (identified in the URL and on the scan by the mobile_app_id
).
The pagination_information
provides the cursor for the next page, as well as the total number of scans for the specified mobile app.
For the response, here are all the possible values that are returned from the API:
status: Current state of the scan in question.
ONGOING
COMPLETED
CANCELLED
build_source: Where the binary was received from (If available, otherwise omitted).
DT_UPLOAD_FORM
DT_UPLOAD_API
GOOGLE_PLAY_STORE
ITUNES_STORE
APPCENTER
The response may also include the following optional fields. They are included based on whether certain information is available, or under certain circumstances
build_version
, but if
another binary is received before the scan completes, then the newer build will also be scanned as a part of this
scan.APP_STORE
apps, it always set by Data Theorem. For uploaded apps, a release ID can be specified when the app
is uploaded.release_id
, but if another
binary is received before the scan completes, then the newer binary will also be included in the scan (and mentioned
here).1 | GET https://api.securetheorem.com/apis/mobile_security/results/v2/mobile_apps/:mobile_app_id/scans |
1 | { |
This API operation returns a particular scan. The scan must be identified by both the mobile_app_id
and the scan’s id
, although the scan’s id
is globally unique.
1 | GET https://api.securetheorem.com/apis/mobile_security/results/v2/mobile_apps/:mobile_app_id/scans/:id |
1 | { |
This API operation cancels a scan that is currently in progress. The scan must be identified by both the mobile_app_id
and the scan’s id
, although the scan’s id
is globally unique.
1 | POST https://api.securetheorem.com/apis/mobile_security/results/v2/mobile_apps/:mobile_app_id/scans/:id/cancel |
1 | { |