contentID | String The contentID of the object in the CSP with which the file is associated. Represents a globally unique ID, or GUID. If a contentID is not provided, one is created at the supplied nodeID. |
nodeID | String The ID of the node |
fileName | String The name of the file to be added |
fileInputStream | String (Base64 encoded) Either a Base64 encoded byte stream of the file to be added, or the full path to the file |
friendlyName | String Identifies the CSP server where the file is located |
metadataMap | HashMap <String,String> or String Optional. Contains a collection of key-value pairs that represent data about the created node. This can be either a String in the form of comma-separated key=value pairs or a HashMap with key-value pairs entered at each map index/position. This allows you to associate any desired metadata key-value pairs with the created contentID. |
contentID | String The supplied contentID, or the created contentID if one was not supplied |
fileID | String The ID of the file |
status | String Indicates success or failure |