GET v1/application/cache/{environment}/{orgId}/{venue}/{appId}/all

Use this method to get the list of resources cached for a venue and app relation.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
environment

MaaS Environment where the organization originated.

string

Required

orgId

MaaS Organization Id

integer

Required

venue

Venue (App Framework Property, not to be confused with MaaS Map Venues)

string

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 CachedResource
NameDescriptionTypeAdditional 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

Sample:
[
  {
    "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"
  }
]