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:
AllMap 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)VideosArray 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)ImagesArray 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)SoundsArray 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)FontsArray 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)DatasourcesArray 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)AuxArray 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)TrackdataArray 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.