utils

Ensure Folder Endpoint

Ensures that a folder exists in Supabase storage. Creates an empty .keep file if the folder doesn't exist.

Args: request: Contains bucket name and folder path

Returns: EnsureFolderResponse with success status and message

post/utils/folders/ensure

Request

  • Base URL
    https://api.rmfg.com
  • URL
    https://api.rmfg.com/utils/folders/ensure
  • Auth
    none declared

Request body

bucketstring required
folder_pathstring required

Response

Successful Response

successboolean required
messagestring required

Changes

No recorded changes to this operation across all 22 revisions of this API.