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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Clips {
    public var parent: Parent {
        Parent(path: path + "/parent")
    }

    public struct Parent {
        /// Path: `/api/clips/parent`
        public let path: String

        /// Get Parent Clip
        ///
        /// Get the parent clip for a given clip ID using the ClipParent table.
        public func get(clipId: String) -> Request<GenAPI.ParentClipSchema> {
            Request(path: path, method: "GET", query: [("clip_id", clipId)], id: "studio_api_clips_api_get_parent_clip")
        }
    }
}
