PCO::API::Graphql

GraphQL

no overfetching

predictable response content

client-friendly structure

GraphiQL

Search "graphiql-app" 

Authorization: Basic {base64(user:pass)}

https://api-staging.planningcenteronline.com/check_ins/v2/graphql

Vertexes => Types

Edges => {Connection, Page}

Filtering

Dates

Poorly Supported Types

GraphQL: AppGraph::Vertices::ActivityVertex meta is poorly supported
GraphQL: AppGraph::Vertices::EventTimeVertex total_count is poorly supported
GraphQL: AppGraph::Vertices::OrganizationVertex date_format_pattern is poorly supported
GraphQL: AppGraph::Vertices::PersonVertex addresses is poorly supported
GraphQL: AppGraph::Vertices::PersonVertex phone_numbers is poorly supported
GraphQL: AppGraph::Vertices::PersonVertex email_addresses is poorly supported
GraphQL: AppGraph::Vertices::ThemeVertex image_thumbnail is poorly supported

Poorly Supported Types

Installation

{app}.pco.dev/api/public/v2/graphiql

Usage

Usage

Usage

🐢⏰

# TODO

- Optimize DB Access (2-pass?)

- Faster GraphQL parser (libgraphqlparser)

- Rails integration: JS client, server queries

 

Made with Slides.com