API Suite Snap Pack examples
| Example | Snaps used |
|---|---|
| GraphQL Client | |
|
Insert, Update, Delete, and Query a GraphQL Endpoint The following example pipeline demonstrates how to use the GraphQL Client Snap to insert, update, delete, and query the schema provided by the server at the specified GraphQL endpoint. |
|
|
Pagination: Fetch Star Wars data with GraphQL The following example pipeline demonstrates the pagination functionality of the GraphQL Client Snap. |
|
| HTTP Client | |
|
Use Pagination to fetch records This example Pipeline demonstrates how to use the Pagination functionality with the TestRail API. All the TestRail bulk APIs return a maximum of 250 records on every request. |
|
|
This example Pipeline demonstrates how to use the Has Next field to retrieve the list of records from the specified URL. This example assumes you have a valid account to access the resources from the endpoint. |
|
|
This example pipeline demonstrates how to get a response from SnapLogic. |
|
|
Add data in an endpoint using PUT method This example pipeline demonstrates how to add a file in the specified endpoint using the PUT method. |
|
|
Update data in the endpoint using a PATCH method This example pipeline demonstrates how to use a Patch method to update the endpoint with multiple records in a file. |
|
|
Update data using a POST method This example pipeline below demonstrates how to update a file in the endpoint using the Post method. |
|
|
Send records in a batch using a POST method The following example pipeline demonstrates how to pass input documents in a batch using the Group By N and HTTP Client Execute Snap. In this pipeline, the HTTP Client Snap collects input documents until a batch of 20 is reached, then sends them as a list in the payload through a single request. |
|
|
Upload a multipart file from an external file system This example demonstrates two different methods of uploading files from external file systems using the HTTP Client Snap. The first pipeline reads a file from an S3 bucket and uploads it to Slack channel using the Slack API. The second pipeline uploads a file from the WASB (Windows Azure Storage Blob) location and sends it to the same Slack channel using the Slack API. |
|
| gRPC Client | |
|
gRPC Client Snap with upstream Mapper Snap This example pipeline demonstrates how to send a gRPC request to the designated server for processing. |
|
|
gRPC Client Snap with upstream JSON Generator Snap This example pipeline demonstrates how to send a gRPC request to the designated server for processing. |
|