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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Studio.CreateOrLoadProjectForClip {
    public func clipId(_ clipId: String) -> WithClipId {
        WithClipId(path: "\(path)/\(clipId)")
    }

    public struct WithClipId {
        /// Path: `/api/studio/create-or-load-project-for-clip/{clip_id}`
        public let path: String

        /// Create Or Load Studio Project For Clip
        ///
        /// Create a new Studio project for the current user, with the given clip as the first clip in the project.
        /// 
        /// Args:
        ///     clip_id: The ID of the clip to create the project for
        public var post: Request<GenAPI.StudioProjectMetaSchema> {
            Request(path: path, method: "POST", id: "studio_api_bots_studio_api_create_or_load_studio_project_for_clip")
        }
    }
}
