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

import Foundation
import Get
import URLQueryEncoder

extension Paths.CollabPlaylist {
    public var create: Create {
        Create(path: path + "/create")
    }

    public struct Create {
        /// Path: `/api/collab-playlist/create`
        public let path: String

        /// Create Playlist
        public func post(_ body: GenAPI.CollabPlaylistCreateSpec) -> Request<GenAPI.CollabPlaylistSchema> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_collab_playlist_api_create_playlist")
        }
    }
}
