Create Local Copy of a Shared Asset
To edit an existing asset locally, share the asset, then create a local copy. The original asset and local copy retain sharing properties that associate them with each other.
- Share an asset to a set of MIDs. In this example, the asset is shared with business units 333 and 555.
{ ... "sharingProperties" : { "sharedWith" : [ 333, 555 ], "sharingType" : "local" } } - Retrieve the original asset using GET /asset/v1/content/assets/{id}.
- Create a new asset with the original asset's payload plus the sharingProperties using POST /asset/v1/content/assets.
- sharedFrom is the asset ID of the original asset.
-
sharedFromMID is MID the asset came from.
{ ... "sharingProperties" : { "sharedFrom" : 12345, "sharedFromMID" : 333 } }
- If you retrieve the original asset again, notice that the sharingProperties are updated with the local edit created by business unit 333. The read-only localAssets property stores the MID and asset ID for the local edit in the recipient MID.
{ "sharingProperties" : { "sharedWith" : [ 333, 555 ], "sharingType" : "local", "localAssets" : { "333" : "98765" } } }Related Items
Sharing