@@ -137,6 +137,11 @@ def update(
137137 value for that key. Before setting any custom metadata on an asset you have to
138138 create the field using custom metadata fields API.
139139
140+ To preserve the original creation date of an asset migrated from another system,
141+ set the reserved `_internal_original_created_datetime` key to an ISO 8601 date
142+ string. This key is available once the original creation date setting is enabled
143+ in the media library settings.
144+
140145 description: Optional text to describe the contents of the file.
141146
142147 extensions: Array of extensions to be applied to the asset. Each extension can be configured
@@ -603,7 +608,11 @@ def upload(
603608 customCoordinates will be removed.
604609
605610 custom_metadata: JSON key-value pairs to associate with the asset. Create the custom metadata
606- fields before setting these values.
611+ fields before setting these values. To preserve the original creation date of an
612+ asset migrated from another system, set the reserved
613+ `_internal_original_created_datetime` key to an ISO 8601 date string. This key
614+ is available once the original creation date setting is enabled in the media
615+ library settings.
607616
608617 description: Optional text to describe the contents of the file.
609618
@@ -812,6 +821,11 @@ async def update(
812821 value for that key. Before setting any custom metadata on an asset you have to
813822 create the field using custom metadata fields API.
814823
824+ To preserve the original creation date of an asset migrated from another system,
825+ set the reserved `_internal_original_created_datetime` key to an ISO 8601 date
826+ string. This key is available once the original creation date setting is enabled
827+ in the media library settings.
828+
815829 description: Optional text to describe the contents of the file.
816830
817831 extensions: Array of extensions to be applied to the asset. Each extension can be configured
@@ -1278,7 +1292,11 @@ async def upload(
12781292 customCoordinates will be removed.
12791293
12801294 custom_metadata: JSON key-value pairs to associate with the asset. Create the custom metadata
1281- fields before setting these values.
1295+ fields before setting these values. To preserve the original creation date of an
1296+ asset migrated from another system, set the reserved
1297+ `_internal_original_created_datetime` key to an ISO 8601 date string. This key
1298+ is available once the original creation date setting is enabled in the media
1299+ library settings.
12821300
12831301 description: Optional text to describe the contents of the file.
12841302
0 commit comments