A file or link resource that can be shared with a group.
| Property | Value |
|---|---|
| Product | Groups (pco.groups, API version 2026-11-10) |
| Resource type | Resource |
| TypeScript | Groups.Resource, attributes Groups.ResourceAttributes, schema Groups.ResourceSchema |
| Planning Center path | /groups/v2/group_types/{group_type_id}/resources |
| Planning Center docs | Resource |
How to reach it
| Client path | Returns | Filters | Create |
|---|---|---|---|
pco.groups.groups.id(groupId).resources |
Collection | leaders |
No |
pco.groups.group_types.id(groupTypeId).resources |
Collection | leaders |
No |
pco.groups.group_types.id(groupTypeId).resources.id(resourceId).download |
Collection | No | |
pco.groups.group_types.id(groupTypeId).resources.id(resourceId).visit |
Collection | No |
From a collection, .id(resourceId) addresses one Resource: pco.groups.group_types.id(groupTypeId).resources.id(resourceId). Collections support where, include, order, and pagination; single resources have get().
Attributes
On Groups.ResourceAttributes. Every resource also has id and type ('Resource') next to its attributes.
| Name | Type | Description |
|---|---|---|
description |
string | null |
The description of the resource written by the person who created it. |
last_updated |
string | null |
The date and time the resource was last updated. |
name |
string | null |
The name/title of the resource. |
type |
string | null |
Either FileResource or LinkResource |
visibility |
string | null |
Possible values: leaders or members |
Relationships and includes
Planning Center documents no includes for this resource.
| Relationship | Type | To | Includable |
|---|---|---|---|
created_by |
To one | Person | No |
Querying
No documented where fields.
Order
order(...) accepts these fields, ascending, or descending with a - prefix: last_updated, name, pinned.
Filters
filter(...) names depend on the edge you query through:
Edges
Follow these from one Resource, ref = pco.groups.group_types.id(groupTypeId).resources.id(resourceId):
| Edge | Leads to | Returns | Filters | Create |
|---|---|---|---|---|
ref.download |
Resource | Collection | No | |
ref.visit |
Resource | Collection | No |
Writing
| Property | Value |
|---|---|
| Create | No |
| Update | No |
| Delete | No |
Example
import type { Groups } from '@mackenly/planningcenterkit';
const groupTypeId = '1'; // GroupType id
const page = await pco.groups.group_types.id(groupTypeId).resources.order('last_updated').perPage(25).list();
const items: Groups.Resource[] = page.data;