-
Notifications
You must be signed in to change notification settings - Fork 117
RPC Get Transform Hint
cloudspark edited this page Dec 24, 2013
·
4 revisions
/rpc/get_transform_hint?from={from}&to={to}
Given a from and to channel action, returns the most appropriate transform for an edge. from
and to
should be qualified channel actions including the pod name, eg: smtp.email_forward
.
When trying to derive a transform from a source vertex, use the convention bip.{type}
eg: bip.http
GET /rpc/bip/get_transform_hint?from=bip.smtp&to=email.smtp_forward
{
"from_channel": "bip.smtp",
"to_channel": "email.smtp_forward",
"transform": {
"subject": "[%source#subject%]",
"body_html": "[%source#body_html%]",
"body_text": "[%source#body_text%]",
"reply_to": "[%source#reply_to%]"
}
}
This Transform RPC is also applied when a Bip is created with transforms set as "default".
Core
Tutorials
Cookbook
- Example Bips
- Email Repeater
- One Time Email Receive
- Email Repeater With Template
- Email Repeater, Dropbox Attachment Save
- Email To RSS
- Web Hook to FB&Twitter
- One Time Message Serve
- RSS Atom Subscribe
- Twitter Followback
- SoundCloud oEmbed (native) Feed
- SoundCloud oEmbed (embedly) Feed
- Instagram Media Sync to Dropbox
Modules
Extras