journey

Upload a micro-game media file (image/audio/video)

Upload media for a micro-game screen/block; the storage folder is derived from the file type. Returns the file_path to set in the screen/block.

post/api/journey/template/micro-games/upload

Response

Successful Response

file_pathstring required

Path to uploaded file in storage

titlestring nullable

Success title

messagestring

Success message

Example response

{
  "file_path": "users/123e4567-e89b-12d3-a456-426614174000/avatar/profile_photo.jpg",
  "message": "File caricato con successo"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.