Upload asset documentation is incomplete

In the upload asset example at storyblok-file-upload-example/index.js at master · onefriendaday/storyblok-file-upload-example · GitHub, it is implied you can use these fields when creating the signed_url in order to upload the asset:
{
// add the id to update an existing asset. ‘id: 123,’
filename: ‘test.txt’,
size: ‘400x500’,
asset_folder_id: null
}

In actuality, it appears that one can set more fields when creating the signed_url:
{
id: imageId, // use to update existing asset
filename: filename,
asset_folder_id: folder ? folder : defaultAssetsFolder,
short_filename: filename, // listed in doc for asset object but seems to be ignored
copyright: copyright ? copyright : ‘’,
title: title ? title : ‘’,
alt: alt ? alt : ‘’,
ext_id: ext_id ? ext_id : null
}

Hello @WaltT,

following the example here https://www.storyblok.com/docs/api/management#core-resources/assets/upload-asset

You would need to pass the data of the meta fields like this in a request:

curl "https://mapi.storyblok.com/v1/spaces/656/assets/" \
-X POST \
-H "Content-Type: application/json" \
-H "Authorization: YOUR_OAUTH_TOKEN" \
-d "{\"filename\":\"example.jpg\",\"alt\":\"x\",\"copyright\":\"x\",\"title\":\"x\",\"asset_folder_id\":\"\",\"size\":\"512x512\",\"validate_upload\":\"1\"}"

You can see that there is an additional attribute validate_upload with the value 1

The remaining steps are equal to the information in the documentation.

Best regards
Hannes