The next default time for a channel
| Property | Value |
|---|---|
| Product | Publishing (pco.publishing, API version 2024-03-25) |
| Resource type | ChannelNextTime |
| TypeScript | Publishing.ChannelNextTime, attributes Publishing.ChannelNextTimeAttributes, schema Publishing.ChannelNextTimeSchema |
| Planning Center path | /publishing/v2/channels/{channel_id}/next_times |
| Planning Center docs | ChannelNextTime |
How to reach it
| Client path | Returns | Filters | Create |
|---|---|---|---|
pco.publishing.channels.id(channelId).next_times |
Collection | No |
From a collection, .id(channelNextTimeId) addresses one ChannelNextTime: pco.publishing.channels.id(channelId).next_times.id(channelNextTimeId). Collections support where, include, order, and pagination; single resources have get().
Attributes
On Publishing.ChannelNextTimeAttributes. Every resource also has id and type ('ChannelNextTime') next to its attributes.
| Name | Type | Description |
|---|---|---|
starts_at |
string | null |
Querying
No documented where fields.
No documented order fields.
Edges
This resource has no documented edges.
Writing
| Property | Value |
|---|---|
| Create | No |
| Update | No |
| Delete | No |
Example
import type { Publishing } from '@mackenly/planningcenterkit';
const channelId = '1'; // Channel id
const page = await pco.publishing.channels.id(channelId).next_times.perPage(25).list();
const items: Publishing.ChannelNextTime[] = page.data;