// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation
import Get
import URLQueryEncoder

extension Paths.Clips.WithClipId {
    public var mux: Mux {
        Mux(path: path + "/mux")
    }

    public struct Mux {
        /// Path: `/api/clips/{clip_id}/mux`
        public let path: String

        /// Mux Clip Video Audio
        ///
        /// Download and mux video and audio for a clip, returning the muxed file.
        /// 
        /// This endpoint downloads the video and audio files for a clip, muxes them together
        /// using ffmpeg, and returns the muxed file for download.
        /// 
        /// Args:
        ///     request: The HTTP request.
        ///     clip_id: The ID of the clip to mux.
        /// 
        /// Returns:
        ///     HttpResponse: The muxed video file as a downloadable response.
        public var get: Request<Void> {
            Request(path: path, method: "GET", id: "studio_api_clips_api_mux_clip_video_audio")
        }
    }
}
