You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api-reference/graphql/pagination.mdx
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,11 @@
1
1
---
2
2
title: 'Pagination'
3
-
description: 'When fetching collections from our API you can use pagination to control how much data is returned. We will return 25 records per request by default and the maximum page size is 100 records.'
4
3
---
5
4
5
+
Our GraphQL API follos the [Relay pagination spec](https://relay.dev/graphql/connections.htm).
6
+
7
+
When fetching collections from our API you can control how much data is returned. We will return 25 records per request by default and the maximum page size is 100 records.
8
+
6
9
We support two forms of page control arguments:
7
10
8
11
1. Forward pagination with `after` (cursor) & `first` (numeric count)
Copy file name to clipboardExpand all lines: docs/api-reference/graphql/threads.mdx
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,10 @@
1
1
---
2
2
title: 'Threads'
3
3
sidebarTitle: Overview
4
-
description: "Threads are the core of Plain's data model and equivalent to tickets or conversations in other support platforms. When you use Plain to help a customer you assign yourself to a thread and then mark the thread as done once you're done helping."
5
4
---
6
5
6
+
Threads are the core of Plain's data model and equivalent to tickets or conversations in other support platforms. When you use Plain to help a customer you assign yourself to a thread and then mark the thread as done once you're done helping.
7
+
7
8
Threads are automatically created when a new email is received but can also be created via the API (when a customer submits a contact form for example).
8
9
9
10
Threads have a status which can be in either **Todo**, **Snoozed** or **Done** and can only be assigned to one person.
Copy file name to clipboardExpand all lines: docs/api-reference/graphql/threads/create.mdx
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,9 @@
1
1
---
2
-
title: 'Create Threads'
3
-
description: Creating a thread is useful in scenarios where you want to programatically start a support interaction."
2
+
title: 'Create threads'
4
3
---
5
4
5
+
Creating a thread is useful in scenarios where you want to programatically start a support interaction.
6
+
6
7
You can do this in many different scenarios but the most common use-cases are when a contact form is submitted or when you want to provide proactive support off the back of some event or error happening in your product.
7
8
8
9
A thread is created with an initial 'message' composed out of [UI components](/docs/ui-components). You have full control over the structure and appearance of the message in Plain.
0 commit comments