{
"mount_path": "/lll",
"order": 0,
"remark": "",
"cache_expiration": 30,
"web_proxy": false,
"webdav_policy": "native_proxy",
"down_proxy_url": "",
"extract_folder": "front",
"enable_sign": false,
"driver": "Local",
"order_by": "name",
"order_direction": "asc",
"addition": "{\"root_folder_path\":\"/\",\"thumbnail\":false,\"thumb_cache_folder\":\"\",\"show_hidden\":true,\"mkdir_perm\":\"777\"}"
}
curl --location --request POST 'http://prod-cn.your-api-server.com/api/admin/storage/create' \
--header 'Authorization: {{alist_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"mount_path": "/lll",
"order": 0,
"remark": "",
"cache_expiration": 30,
"web_proxy": false,
"webdav_policy": "native_proxy",
"down_proxy_url": "",
"extract_folder": "front",
"enable_sign": false,
"driver": "Local",
"order_by": "name",
"order_direction": "asc",
"addition": "{\"root_folder_path\":\"/\",\"thumbnail\":false,\"thumb_cache_folder\":\"\",\"show_hidden\":true,\"mkdir_perm\":\"777\"}"
}'
{
"code": 200,
"message": "success",
"data": {
"id": 7
}
}