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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Contests.Contest.WithContestId {
    public var baseClips: BaseClips {
        BaseClips(path: path + "/base_clips")
    }

    public struct BaseClips {
        /// Path: `/api/contests/contest/{contest_id}/base_clips`
        public let path: String

        /// Add Base Clips
        ///
        /// Add base clips to an existing contest.
        /// Staff only endpoint.
        public func post(_ body: GenAPI.AddBaseClipsSpec) -> Request<GenAPI.ContestSchema> {
            Request(path: path, method: "POST", body: body, id: "studio_api_contests_api_add_base_clips")
        }

        /// Remove Base Clips
        ///
        /// Remove base clips from an existing contest.
        /// Staff only endpoint.
        public func delete(_ body: GenAPI.RemoveBaseClipsSpec) -> Request<GenAPI.ContestSchema> {
            Request(path: path, method: "DELETE", body: body, id: "studio_api_contests_api_remove_base_clips")
        }
    }
}
