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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Share.Code {
    public func shareId(_ shareId: String) -> WithShareId {
        WithShareId(path: "\(path)/\(shareId)")
    }

    public struct WithShareId {
        /// Path: `/api/share/code/{share_id}`
        public let path: String

        /// Get Share Details
        ///
        /// Get details about a share by its ID
        public var get: Request<GenAPI.ShareCodeResponse> {
            Request(path: path, method: "GET", id: "studio_api_growth_share_api_get_share_details")
        }
    }
}
