headless_lms_server::controllers::main_frontend

Module page_audio_files

Source
Expand description

Controllers for requests starting with /api/v0/main-frontend/page_audio.

Functionsยง

  • Add a route for each controller in this module.
  • get_page_audio ๐Ÿ”’
    GET /api/v0/main-fronted/page_audio/:page_id/files - Get a page audio files
  • remove_page_audio ๐Ÿ”’
    DELETE /api/v0/main-frontend/page_audio/:file_id - Removes the chapter image.
  • set_page_audio ๐Ÿ”’
    POST /api/v0/main-frontend/page_audio/:page_id - Sets or updates the page audio.