List assets in a project
var parameters = { ProjectId: 'STRING_VALUE' // required } project.listAssets(parameters, function(err, data) { if(err) { console.log(err); // an error occurred } else { console.log(data); // successful response } });
ProjectId | string | Project UID |
err
(Error) - the error object returned from the request. Set to null if the request is successful.
data
(Object) — the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:
All
Map of name => Asset
ProjectId
(string)The project ID this asset belongs to.
Region
(string)The id of the region for this object
Name
(string)The name (or filename) of the asset
Kind
(string)Type of asset ('video', 'image', ...)
Created
(datetime)Videos
Array of Video
ProjectId
(string)The project ID this video asset belongs to.
Region
(string)The id of the region for this object
Name
(string)The name (or filename) of the asset
Created
(datetime)Images
Array of Image
ProjectId
(string)The project ID this image belongs to.
Region
(string)The id of the region for this object
Name
(string)The name (or filename) of the asset
Created
(datetime)Sounds
Array of Sound
ProjectId
(string)The project ID this sound asset belongs to.
Region
(string)The id of the region for this object
Name
(string)The name (or filename) of the asset
Created
(datetime)Fonts
Array of Font
ProjectId
(string)The project ID this font asset belongs to.
Region
(string)The id of the region for this object
Name
(string)The name (or filename) of the asset
Created
(datetime)Datasources
Array of Datasource
ProjectId
(string)The project ID this datasource belongs to.
Region
(string)The id of the region for this object
Name
(string)The name (or filename) of the asset
Created
(datetime)Aux
Array of AuxData
ProjectId
(string)The project ID this data asset belongs to.
Region
(string)The id of the region for this object
Name
(string)The name (or filename) of the asset
Created
(datetime)Trackdata
Array of Trackdata
ProjectId
(string)The project ID this trackdata object belongs to.
Region
(string)The id of the region for this object
Name
(string)The name (or filename) of the asset
Created
(datetime)
Terms of Use | © 2017, Impossible Software, or its affiliates.