Update an existing asset
var parameters = { ProjectId: 'STRING_VALUE', // required Name: 'STRING_VALUE', // required Data: Buffer || Stream || Binary // required } project.updateAsset(parameters, function(err, data) { if(err) { console.log(err); // an error occurred } else { console.log(data); // successful response } });
ProjectId | string | Project UID |
Name | string | Asset Identifier |
Data | blob | Asset data. |
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:
Terms of Use | © 2017, Impossible Software, or its affiliates.