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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Video.Hooks.WithHookId {
    public var share: Share {
        Share(path: path + "/share")
    }

    public struct Share {
        /// Path: `/api/video/hooks/{hook_id}/share`
        public let path: String

        /// Share Hook
        public func post(_ body: GenAPI.ShareHookRequest) -> Request<GenAPI.ShareHookResponse> {
            Request(path: path, method: "POST", body: body, id: "studio_api_video_hooks_api_share_hook")
        }
    }
}
