Skip to main content
Skip table of contents

​deleteAssets

This command enables deletion of assets on the PES. The PES expects a regular expression as #PCDATA. Assets present in the todolist will never be deleted.

Input Parameters

Fields
Values
Description
 #PCDATARegex Regular Expression 

Output Result

Fields
Values
Description
CommanddeleteAssetsEcho of the command element name
Code0
-1
1"
0 = success
-1 = DTD Violation
1 = Processing Error
#PCDATAA text messageReport how many assests are deleted

Processing Errors

  • "Not a master manager”  - MAS connected to a slave manager  
  • a regular expression error as reported by regcomp.
  • "directory ....”  - some problem with the assetsdirectory"
  • "directory ....”  - some problem with the reencryptassetsdirectory"

Examples

Request

CODE
<deleteAssets>\.mpg$</deleteAssets>

Response On Success

CODE
<Result Command="deleteAssets" Code="0">    
<Asset Name="...." Size="..." Type="..." />    
<Asset Name="...." Size="..." Type="..." />     
<Asset Name="...." Size="..." Type="..." /> 

... 
</Result>

Response On Failure

CODE
<Result Command="deleteAssets" Code="1">       
<Description>Not a Master Manager</Description>    
</Result>

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.