diff --git a/changelog/index.html b/changelog/index.html index 79018db3..620fad8a 100644 --- a/changelog/index.html +++ b/changelog/index.html @@ -967,6 +967,7 @@

Change log

main branch (no tag/release)

Documentation

Warning

@@ -1054,7 +1054,7 @@

Updating files attached to media

Note

This operation will delete the existing file attached to the media and replace it with the file specified in the CSV file.

-

To update the file attached to a media, you must provide a CSV file with, at minimum, a media_id column and a file column. The media_id column should contain the ID of the media you wish to update, and the file column should contain the path to the file you wish to attach to the media. Here is an example CSV that updates the file attached to the media with ID 100:

+

To update the file attached to a media, you must provide a CSV file with, at minimum, a media_id column and a file column. The media_id column should contain the ID of the media you wish to update, and the file column should contain the path to the file you wish to attach to the media (always use file and not the media-type-specific file fieldname). Here is an example CSV that updates the file attached to the media with ID 100:

media_id,file
 100,test.txt