
Security News
Research
Destructive npm Packages Disguised as Utilities Enable Remote System Wipe
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
strapi-plugin-media-upload
Advanced tools
A plugin that help you upload file to a specific file system using api
A plugin that help you upload media to a specific folder using api in strapi.
npm i strapi-plugin-media-upload
After installation, the plugin will be automatically enabled.
Upload media files to a specific folder using the provided API endpoints.
GET /<strapiprefix>/media/folders
POST /<strapiprefix>/media/folder
{
"name": "New Folder", // Required, folder name
"parentId": 1 // Optional, ID of the parent folder
}
PUT /<strapiprefix>/media/folder
{
"id": 1, // Required, ID of the folder to update,
"name": "New Folder", // Required, folder name
"parentId": 1 // Optional, new parent folder ID
}
DELETE /<strapiprefix>/media/folder
GET /<strapiprefix>/media/folder-structure
POST /<strapiprefix>/media/upload
PUT /<strapiprefix>/media/update
{
"id": 1, // Required, ID of the file to move,
"name": "New Name", // Optional, new file name
"alternativeText": "New Alternative Text", // Optional, new alternative text,
"caption": "New Caption", // Optional, new caption,
"folderId": 1, // Optional, folder id
}
This plugin is compatible with Strapi 5.0.0
and above.
If you encounter any issues, please report them here.
This project is licensed under the MIT License. See the LICENSE file for details.
Eli Liu
Email: Mr.liu93@outlook.com
GitHub: Littlexiaoxiaojian
FAQs
A plugin that help you upload file to a specific file system using api
The npm package strapi-plugin-media-upload receives a total of 153 weekly downloads. As such, strapi-plugin-media-upload popularity was classified as not popular.
We found that strapi-plugin-media-upload demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.
Research
Security News
Socket uncovered four malicious npm packages that exfiltrate up to 85% of a victim’s Ethereum or BSC wallet using obfuscated JavaScript.