List all Assets
POST/assets/list
Lists all uploaded assets with all metadata and information. You can list upto 100 assets. You can fetch upto 100 assets in a single request.
Request
- application/json
Body
filter object
orderby string
Possible values: [aidentifiersset
, creation
, assetsize
, astatussset
]
status string
Possible values: [uploadpending
, queued
, merging
, deployable
, mergefailed
]
order string
Possible values: [asc
, desc
]
limit integer
Default value: 100
offset integer
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
success string
error string
errorcode string
count integer
Returns number of entries returned in the current request
totalCount integer
Returns the total count of the assets.
totalStorage integer
Storage occupied by all assets, in bytes
data object[]
assetId string
assetIdentifier string
assetDesc string
assetMeta object
assetSize integer
Size of the asset in bytes
assetCurrentVersion string
List API returns the most recently uploaded version by time.
created integer
assetStatus string
Possible values: [uploadpending
, queued
, merging
, deployable
, mergefailed
]
Current status of the asset. Assets with deployable
status only can be used to deploy an OTA Update
next integer
{
"success": "string",
"error": "string",
"errorcode": "string",
"count": 0,
"totalCount": 0,
"totalStorage": 0,
"data": [
{
"assetId": "string",
"assetIdentifier": "string",
"assetDesc": "string",
"assetMeta": {},
"assetSize": 0,
"assetCurrentVersion": "string",
"created": 0,
"assetStatus": "uploadpending"
}
],
"next": 0
}
Loading...