GET v1/application/cache/{environment}/{orgId}/{appId}/all
Use this method to get the list of resources cached for an organization and app relation.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
environment |
MaaS Environment where the organization originated. |
string |
Required |
orgId |
MaaS Organization Id |
integer |
Required |
appId |
MaaS Application Id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns a collection of cached resource information objects associated to the application and venue specified.
Collection of CachedResourceName | Description | Type | Additional information |
---|---|---|---|
id |
Unique identifier of the unknown resource, this value will be null if not provided by the type data loader |
string |
None. |
version |
if applicable this property contains the version of the cache operation, in case of resources that need an incremental build |
integer |
None. |
platform |
If applicable, the resource target Phunware platform version |
string |
None. |
os |
If applicable, the resource target Operating System |
string |
None. |
resourceKind |
The resource type |
CacheType |
None. |
type | DatabaseType |
None. |
|
data |
The resource content in bytes |
Collection of byte |
None. |
hash |
The resource Hash |
string |
None. |
Response Formats
application/json, text/json
[ { "id": "sample string 1", "version": 4, "platform": "sample string 6", "os": "sample string 7", "resourceKind": 0, "type": 0, "data": "QEA=", "hash": "sample string 8" }, { "id": "sample string 1", "version": 4, "platform": "sample string 6", "os": "sample string 7", "resourceKind": 0, "type": 0, "data": "QEA=", "hash": "sample string 8" } ]