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

import Foundation
import Get
import URLQueryEncoder

extension Paths.LivingRadio.WithStationId {
    public var listenerCount: ListenerCount {
        ListenerCount(path: path + "/listener-count")
    }

    public struct ListenerCount {
        /// Path: `/api/living_radio/{station_id}/listener-count`
        public let path: String

        /// Get Listener Count
        ///
        /// Get the current listener count for a station using Ably's occupancy API.
        /// This returns the actual number of connections to the chat channel.
        public var get: Request<GenAPI.ListenerCountResponse> {
            Request(path: path, method: "GET", id: "studio_api_living_radio_api_get_listener_count")
        }
    }
}
