action ably_get_metadata_of_channel { label: "Get metadata of a channel" description: "Get metadata of a channel" provider: ably method: GET path: "/channels/{channel_id}" encoding: json output: { type: "object" required: ["channelId"] properties: { channelId: { type: "string" description: "The required name of the channel including any qualifier, if any." } isGlobalMaster: { type: "boolean" description: "In events relating to the activity of a channel in a specific region, this optionally identifies whether or not that region is responsible for global coordination of the channel." } region: { type: "string" description: "In events relating to the activity of a channel in a specific region, this optionally identifies the region." } status: { type: "object" description: "A ChannelStatus instance." required: ["isActive"] properties: { isActive: { type: "boolean" description: "A required boolean value indicating whether the channel that is the subject of the event is active. For events indicating regional activity of a channel this indicates activity in that region, not global activity." } occupancy: { type: "object" description: "An Occupancy instance indicating the occupancy of a channel. For events indicating regional activity of a channel this indicates activity in that region, not global activity." properties: { presenceConnections: { type: "integer" description: "The number of connections that are authorised to enter members into the presence channel." } presenceMembers: { type: "integer" description: "The number of members currently entered into the presence channel." } presenceSubscribers: { type: "integer" description: "The number of connections that are authorised to subscribe to presence messages." } publishers: { type: "integer" description: "The number of connections attached to the channel that are authorised to publish." } subscribers: { type: "integer" description: "The number of connections attached that are authorised to subscribe to messages." } } } } } } } }