| This extension requires a trial or active MindTouch Deki Enterprise license. |
Embed data from SnapLogic pipelines. Related Links: Extension Overview, DekiScript Overview, Extension Demos.
Assembly: mindtouch.snaplogic
SID: sid://mindtouch.com/ent/2008/09/snaplogic
License: Enterprise
This service requires Deki Wiki 8.08 or later.
To enable this extension, follow these steps:
Configuration:
Before the SnapLogic extension can be used, it must be configured with the access information to the SnapLogic server.
| Config Key | Description |
| server | SnapLogic server URI. |
| path-prefix | Optional. Add prefix to 'path' arguments in function calls. |
| path-suffix | Optional. Add suffix to 'path' arguments in function calls. |
If you need to configure multiple servers for the same wiki, register this extension once for each server. Use the following preference to specify a unique namespace value for each registration. Invoke the service using this value instead of snaplogic. For example, if you set namespace=sn, you would invoke the service with sn.json("...") instead of snaplogic.json("...").
| Preference | Description |
| namespace | Specifies a custom namespace (default: access) |
Functions:
Query a SnapLogic pipeline and return the results in JSON format.
Parameters:
| Name | Type | Description |
| path | str | Path to pipeline. |
| args | map | Optional. Query parameters. (default: none) |
| ttl | num | Optional. Caching duration in seconds. (range: 60 - 86400; default: 300) |