App Features¶
API responses may be modified to exclude applications a device is unable to run.
Features List¶
-
GET
/api/v2/apps/features/
¶ Returns a list of app features devices may require.
Response
Status Codes: - 200 OK – successfully completed.
The response will be an object with each key representing a feature. The following parameters will be set for each feature:
Parameters: - position (int) – the position of the feature in the list
- name (string) – the feature name
- description (string) – the feature description
If a feature profile is passed, then each feature will also contain the following:
Parameters: - present (boolean) – a boolean indicating whether the feature is present in the profile passed to the request.
Example:
{ "apps": { "position": 1, "name": "Apps", "description": "The app requires the `navigator.mozApps` API." }, "packaged_apps": { "position": 2, "name": "Packaged apps", "description": "The app requires the `navigator.mozApps.installPackage` API." }, ... }