all content, endpoints, and code provided by this API are licensed under the GNU Affero General Public License v3 (AGPL-3.0).
By accessing or using this API, you agree to comply with the terms of the AGPLv3.
For more details, please read the full license at GNU AGPLv3.
Authorization: ********************{
"src_dir": "/folder",
"src_name_regex": "^(.*)\\.(txt)$",
"new_name_regex": "$1_renamed.$2"
}curl --location --request POST '/api/fs/regex_rename' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"src_dir": "/folder",
"src_name_regex": "^(.*)\\.(txt)$",
"new_name_regex": "$1_renamed.$2"
}'{
"code": 200,
"message": "success",
"data": null
}