MCOD Temp Storage

By Cristian Leguizamón

0+ active installationsVersion 1.0.0

Provides a REST API to temporarily upload files (images, videos, PDF) that are automatically deleted after 2 hours.

Description

MCOD Temp Storage is designed for automation workflows that require a quick and temporary place to store binary files.
Files uploaded through the provided API are automatically wiped globally (both database records and physical server files) after 2 hours of their creation, ensuring your server remains clean and clutter-free.

  • Provides a Bearer Token Authentication method via a centralized WordPress Settings page.
  • Fully supports native WordPress upload functionality for security and reliability.
  • Silent Cron cleanup task runs every 15 minutes to guarantee timely deletion.

Installation

  1. Upload the entire mcodtemp-storage folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings > MCOD Temp Storage and generate your Bearer API Token.
  4. Send POST requests to /wp-json/fywts-temp/v1/upload with your token in the Authorization header and the file payload in the file parameter.

Changelog

1.0.0

  • Initial release.