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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Unified.Items {
    public var share: Share {
        Share(path: path + "/share")
    }

    public struct Share {
        /// Path: `/api/unified/items/share`
        public let path: String

        /// Share Content
        ///
        /// Unified share endpoint that validates requests, applies rate limiting,
        /// and routes to appropriate content-specific share handlers.
        public func post(_ body: GenAPI.GenericShareRequest) -> Request<GenAPI.GenericShareResponse> {
            Request(path: path, method: "POST", body: body, id: "studio_api_unified_feed_actions_api_share_content")
        }
    }
}
