Class SetXMP
Writes the xmp string to the asset with the given asset id
Defined in: setXmp.js.
Constructor Attributes | Constructor Name and Description |
---|---|
SetXMP(src, xmp)
Writes the xmp string to the asset with the given asset id
Writes the xmp string in the xmp parameter to the asset with the id.
|
Class Detail
SetXMP(src, xmp)
Writes the xmp string to the asset with the given asset id
Writes the xmp string in the xmp parameter to the asset with the id. The Returned JSON is keyed by the provided asset and its value displays the new xmp
'MBurl'/wf/setXmp?src=['AssetID']&xmp=data
http://127.0.0.1:55555/wf/getXmp?src=["12345"]&xmp=data
- Parameters:
- src
- AssetID to write the XMP to.
- xmp
- the Xmp packet to write to the asset(works best to put ths parameter in the body of the post (application/x-www-form-urlencoded))
- Returns:
- ( {'AssetID': "New XMP Packet Values",...} )