We need to improve the apps driver to support batch read operations. This will allow developers to retrieve multiple apps simultaneously using the read (or list maybe?) method.
This implementation is crucial for replacing the old /apps endpoint with the more modern apps driver. The older endpoint supported batch read, which is highly performant in many situations, such as when opening the start menu and listing the apps.
Acceptance Criteria
Modify the read method of the apps driver so that:
The read method can accept a single identifier or an array of identifiers
Both UIDs and names are valid identifiers
The method returns a single app object when given a single identifier
The method returns an array of app objects when given multiple identifiers
Non-existent apps are handled appropriately (e.g., null values or error messages)
Performance tests show significant improvement over multiple single-app reads
Document the new functionality clearly in the API documentation
We need to improve the
apps
driver to support batch read operations. This will allow developers to retrieve multiple apps simultaneously using theread
(orlist
maybe?) method.This implementation is crucial for replacing the old
/apps
endpoint with the more modernapps
driver. The older endpoint supported batch read, which is highly performant in many situations, such as when opening the start menu and listing the apps.Acceptance Criteria
Modify the
read
method of theapps
driver so that:read
method can accept a single identifier or an array of identifiers