Follow source
Follow a source and add it to a Feed, creating the Feed if you name a new one.
POST https://cotlet.dev/api/v1/feedly/source/follow
write
Follows a source, as Follow does in Follow Sources, and adds it to a Feed. Pass feed_id for an existing Feed, or new_feed_name to create one in the same step. Following changes your account only and reaches no one, so follow_source runs without asking first; unfollow_source undoes it.
Parameters
| Name | Type | Description |
|---|---|---|
| source string required | string | source_id from search_sources, or a website or feed URL. |
| feed_id string | string | Existing Feed to add it to. Use this or new_feed_name. |
| new_feed_name string | string | Create a Feed with this name and add the source to it. |
Request
curl -X POST https://cotlet.dev/api/v1/feedly/source/follow \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"source":"src_5b21c7","feed_id":"feed_pa01"}' result = client.call("feedly", "follow_source", {"source":"src_5b21c7","feed_id":"feed_pa01"}) const result = await cotlet.call('feedly', 'follow_source', {"source":"src_5b21c7","feed_id":"feed_pa01"}); cotlet call feedly follow_source --data '{"source":"src_5b21c7","feed_id":"feed_pa01"}' Example response
{
"source_id": "src_5b21c7",
"title": "Example Analytics Weekly",
"feed_id": "feed_pa01",
"feed_name": "Product analytics",
"followed": true
}