2011-04-24 18:17:44 -04:00
|
|
|
- authentication:
|
|
|
|
- url: /api/login
|
|
|
|
method: POST
|
|
|
|
short_desc: "Login as an existing user."
|
|
|
|
long_desc:
|
|
|
|
- "Login as an existing user."
|
|
|
|
tips:
|
|
|
|
- >
|
|
|
|
If a user has no password set, you cannot just send any old password.
|
|
|
|
This is not <a href="http://www.instapaper.com/api/full">Instapaper</a>.
|
|
|
|
params:
|
2011-09-14 20:08:40 -07:00
|
|
|
- key: username
|
2011-04-24 18:17:44 -04:00
|
|
|
desc: "Username"
|
|
|
|
required: true
|
|
|
|
example: "samuelclay"
|
2011-09-14 20:08:40 -07:00
|
|
|
- key: password
|
2011-04-24 18:17:44 -04:00
|
|
|
desc: "Password"
|
|
|
|
optional: true
|
|
|
|
example: "new$blur"
|
|
|
|
- url: /api/logout
|
|
|
|
method: POST
|
|
|
|
short_desc: "Logout the currently logged in user."
|
|
|
|
long_desc:
|
|
|
|
- "Logout the currently logged in user."
|
|
|
|
- url: /api/signup
|
|
|
|
method: POST
|
|
|
|
short_desc: "Create a new user."
|
|
|
|
long_desc:
|
|
|
|
- "Create a new user."
|
|
|
|
params:
|
2011-09-14 20:08:40 -07:00
|
|
|
- key: username
|
2011-04-24 18:17:44 -04:00
|
|
|
desc: "Username"
|
|
|
|
required: true
|
|
|
|
example: "samuelclay"
|
2011-09-14 20:08:40 -07:00
|
|
|
- key: password
|
2011-04-24 18:17:44 -04:00
|
|
|
desc: "Password"
|
|
|
|
optional: true
|
|
|
|
example: "new$blur"
|
2011-09-14 20:08:40 -07:00
|
|
|
- key: email
|
2011-04-24 18:17:44 -04:00
|
|
|
desc: "Email address"
|
|
|
|
optional: true
|
2012-06-21 00:09:17 -07:00
|
|
|
example: "samuel@newsblur.com"
|
2011-04-24 18:17:44 -04:00
|
|
|
|
2011-04-23 18:22:52 -04:00
|
|
|
- feeds:
|
2011-04-25 20:53:29 -04:00
|
|
|
- url: /rss_feeds/search_feed
|
|
|
|
method: GET
|
|
|
|
short_desc: "Information about a feed from its address."
|
|
|
|
long_desc:
|
|
|
|
- "Retrieve information about a feed from its website or RSS address."
|
|
|
|
params:
|
|
|
|
- key: address
|
|
|
|
desc: "Searches the RSS and website address and returns a feed."
|
|
|
|
required: true
|
|
|
|
example: 'techcrunch.com'
|
|
|
|
- key: offset
|
|
|
|
desc: "Try paging through feeds found by using the offset."
|
|
|
|
optional: true
|
|
|
|
example: 1
|
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/feeds
|
|
|
|
method: GET
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "User's feeds, with unread counts, meta data, and optional favicons."
|
|
|
|
long_desc:
|
|
|
|
- "Retrieve a list of feeds to which a user is actively subscribed."
|
|
|
|
- "Includes the 3 unread counts (positive, neutral, negative), as well as optional favicons."
|
|
|
|
tips:
|
|
|
|
- "Use <code>/reader/refresh_feeds</code> to get updated unread counts."
|
2011-04-24 14:13:01 -04:00
|
|
|
- >
|
|
|
|
Turn off <code>include_favicons</code> if you can either cache favicons
|
|
|
|
or can wait to fetch them.
|
2011-04-23 18:22:52 -04:00
|
|
|
params:
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: include_favicons
|
|
|
|
desc: >
|
|
|
|
Include favicons inline. Since they can be time consuming to download,
|
|
|
|
you can optionally turn them off. Use /api/v1/feeds/favicons/ to
|
|
|
|
retrieve the favicons in a separate request.
|
2011-04-23 18:22:52 -04:00
|
|
|
optional: true
|
2011-12-01 11:10:25 -08:00
|
|
|
default: "false"
|
2011-04-23 18:22:52 -04:00
|
|
|
example: "true/false"
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: flat
|
|
|
|
desc: >
|
|
|
|
Returns a flat folder structure instead of nested folders. Useful
|
|
|
|
when displaying all folders in a single depth without recursive descent.
|
2011-04-23 18:22:52 -04:00
|
|
|
optional: true
|
|
|
|
default: "false"
|
|
|
|
example: "true/false"
|
2011-11-07 08:27:59 -08:00
|
|
|
- key: update_counts
|
|
|
|
desc: >
|
|
|
|
Forces recalculation of unread counts on all feeds. The preferred method is
|
|
|
|
to call this endpoint without updated counts, then call refresh_feeds to get
|
|
|
|
updated counts. That way you can quickly show the user's feeds, then update
|
|
|
|
the counts. Turning this option on will lead to a slower load-time.
|
|
|
|
optional: true
|
|
|
|
default: "false"
|
|
|
|
example: "true/false"
|
2011-04-23 18:22:52 -04:00
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/favicons
|
|
|
|
method: GET
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "Favicons for each of a user's feeds."
|
|
|
|
long_desc:
|
2011-04-24 14:13:01 -04:00
|
|
|
- >
|
|
|
|
Retrieve a list of favicons for a list of feeds. Used when combined
|
|
|
|
with <code>/reader/feeds</code> and <code>include_favicons=false</code>,
|
|
|
|
so the feeds request contains far less data. Useful for mobile devices,
|
|
|
|
but requires a second request.
|
2011-04-23 18:22:52 -04:00
|
|
|
tips:
|
2011-04-24 14:13:01 -04:00
|
|
|
- >
|
|
|
|
To use inline data images, you can use this syntax:
|
|
|
|
<pre><code><img src="data:image/png;base64,[IMAGE_DATA_STRING]" /></code></pre>
|
2011-04-23 18:22:52 -04:00
|
|
|
params:
|
2012-06-28 21:11:35 -07:00
|
|
|
- key: feed_ids
|
2011-04-23 18:22:52 -04:00
|
|
|
desc: " Array of feed ids. Leave empty to retrieve all active (enabled) feeds."
|
|
|
|
optional: true
|
|
|
|
example: "[1, 2, 3]"
|
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/page/:id
|
|
|
|
method: GET
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "Original page from a single feed."
|
|
|
|
long_desc:
|
|
|
|
- "Retrieve the original page from a single feed."
|
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/refresh_feeds
|
|
|
|
method: GET
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "Get latest unread counts for active feeds."
|
|
|
|
long_desc:
|
|
|
|
- "Up-to-the-second unread counts for each active feed."
|
|
|
|
- "Poll for these counts no more than once a minute."
|
2011-04-24 21:27:31 -04:00
|
|
|
|
|
|
|
- url: /reader/feeds_trainer
|
|
|
|
method: GET
|
|
|
|
short_desc: "Get all popular and known intelligence classifiers."
|
|
|
|
long_desc:
|
|
|
|
- "Retrieves all popular and known intelligence classifiers."
|
|
|
|
- "Also includes user's own classifiers."
|
|
|
|
tips:
|
|
|
|
- "If you only want a user's classifiers, use <code>/classifiers/:id</code>."
|
|
|
|
- "Omit the feed_id to get all classifiers for all subscriptions."
|
|
|
|
params:
|
|
|
|
- key: feed_id
|
|
|
|
desc: >
|
|
|
|
Only use a single feed. Omit this to get the classifiers for all feeds at once.
|
|
|
|
optional: true
|
|
|
|
example: "42"
|
2011-04-23 18:22:52 -04:00
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /rss_feeds/statistics/:id
|
|
|
|
method: GET
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "Get statistics and history for a feed."
|
|
|
|
long_desc:
|
|
|
|
- "Statistics and history for a feed."
|
2011-04-24 14:13:01 -04:00
|
|
|
- >
|
|
|
|
Includes feed update frequencies, frequency distribution of intelligence
|
|
|
|
classifiers, average stories per month over the life of the feed, and
|
|
|
|
the last five feed and page fetches.
|
2011-04-23 18:22:52 -04:00
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /rss_feeds/feed_autocomplete
|
|
|
|
method: GET
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "Get a list of feeds that contain a phrase."
|
|
|
|
long_desc:
|
2011-04-24 00:05:39 -04:00
|
|
|
- "Get a list of feeds that contain a search phrase."
|
|
|
|
- "Searches by feed address, feed url, and feed title, in that order."
|
|
|
|
- "Will only show sites with 2+ subscribers."
|
2011-04-23 18:22:52 -04:00
|
|
|
params:
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: term
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "Phrase to search for in feed address, url, and title."
|
2011-04-23 18:22:52 -04:00
|
|
|
optional: true
|
|
|
|
example: "[1, 2, 3]"
|
|
|
|
|
|
|
|
|
|
|
|
- stories:
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/feed/:id
|
|
|
|
method: GET
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "Stories from a single feed."
|
|
|
|
long_desc:
|
|
|
|
- "Retrieve stories from a single feed."
|
|
|
|
params:
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: page
|
2011-04-23 18:22:52 -04:00
|
|
|
desc: "Page of stories, starting from 1."
|
|
|
|
optional: true
|
2011-04-24 02:02:10 -04:00
|
|
|
default: 1
|
|
|
|
example: 2
|
2011-04-23 18:22:52 -04:00
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/starred_stories
|
|
|
|
method: GET
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "User's starred stories."
|
|
|
|
long_desc:
|
|
|
|
- "Retrieve a user's starred stories."
|
|
|
|
params:
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: page
|
2011-04-23 18:22:52 -04:00
|
|
|
desc: "Page of starred stories, starting from 1."
|
|
|
|
optional: true
|
2011-04-24 02:02:10 -04:00
|
|
|
default: 1
|
|
|
|
example: 2
|
2011-04-23 18:22:52 -04:00
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/river_stories
|
|
|
|
method: GET
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "Stories from multiple feeds (River of News)."
|
|
|
|
long_desc:
|
2011-04-23 23:15:44 -04:00
|
|
|
- "Retrieve stories from a collection of feeds. This is known as the River of News."
|
|
|
|
- "Stories are ordered in reverse chronological order."
|
2011-04-23 18:22:52 -04:00
|
|
|
params:
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: feeds
|
2011-04-23 23:15:44 -04:00
|
|
|
desc: "Feed ids to use in the river. Usually every feed in a folder with unread stories."
|
|
|
|
required: true
|
|
|
|
example: "[12, 24, 36]"
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: page
|
2011-04-23 18:22:52 -04:00
|
|
|
desc: "Page of stories, starting from 1."
|
|
|
|
optional: true
|
2011-04-24 02:02:10 -04:00
|
|
|
default: 1
|
|
|
|
example: 2
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: read_stories_count
|
|
|
|
desc: >
|
|
|
|
An optimization used to skip a set number of stories that are
|
|
|
|
guaranteed to be read. Pass in the number of stories that have
|
|
|
|
been read from this series. If your page >= 2, you should probably
|
|
|
|
have some read stories from the first page.
|
2011-04-23 23:15:44 -04:00
|
|
|
optional: true
|
2011-04-24 02:02:10 -04:00
|
|
|
default: "0"
|
|
|
|
example: 12
|
2011-04-23 18:22:52 -04:00
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/mark_story_as_read
|
|
|
|
method: POST
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "Mark a story as read."
|
|
|
|
long_desc:
|
2011-04-24 00:05:39 -04:00
|
|
|
- "Mark stories as read."
|
|
|
|
- "Multiple story ids can be sent at once."
|
|
|
|
- "Each story must be from the same feed."
|
2011-04-23 18:22:52 -04:00
|
|
|
tips:
|
2011-04-24 00:05:39 -04:00
|
|
|
- "Throttle requests to mark as read. You don't need to send one request per story."
|
|
|
|
- "Queue up to 5 stories or once every 10 seconds before firing, whichever comes first."
|
2011-04-23 18:22:52 -04:00
|
|
|
params:
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: story_id
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "List of story ids to mark as read."
|
|
|
|
required: true
|
2012-06-21 00:09:17 -07:00
|
|
|
example: >
|
|
|
|
["http://blog.newsblur.com/post/1",
|
|
|
|
"http://blog.newsblur.com/post/2"]
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: feed_id
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "Feed id that each story is from."
|
|
|
|
required: true
|
|
|
|
example: "42"
|
2011-04-23 18:22:52 -04:00
|
|
|
|
2011-11-05 16:25:04 -07:00
|
|
|
- url: /reader/mark_feed_stories_as_read
|
|
|
|
method: POST
|
|
|
|
short_desc: "Mark stories from multiple feeds as read."
|
|
|
|
long_desc:
|
|
|
|
- "Marks multiple stories as read."
|
|
|
|
- "Multiple story ids can be sent at once."
|
|
|
|
- "Multiple feeds can be sent."
|
|
|
|
tips:
|
|
|
|
- "Throttle requests to this endpoint. You don't need to send one request per story."
|
|
|
|
- "Queue up to 5 stories or once every 10 seconds before firing, whichever comes first."
|
|
|
|
params:
|
|
|
|
- key: feeds_stories
|
2011-11-10 18:29:41 -08:00
|
|
|
desc: "JSON serialized dictionary of feed_ids to an array of story_ids."
|
2011-11-05 16:25:04 -07:00
|
|
|
required: true
|
|
|
|
example: "{<br>12: ['story_id_1', 'story_id_2'],<br>24: ['story_id_3']<br>}"
|
|
|
|
|
2011-11-08 19:12:56 -08:00
|
|
|
- url: /reader/mark_story_as_unread
|
|
|
|
method: POST
|
|
|
|
short_desc: "Mark a story as unread."
|
|
|
|
long_desc:
|
|
|
|
- "Mark a story as unread."
|
|
|
|
params:
|
|
|
|
- key: story_id
|
|
|
|
desc: "Story id to mark unread."
|
|
|
|
required: true
|
|
|
|
example: "http://www.ofbrooklyn.com/story-title"
|
|
|
|
- key: feed_id
|
|
|
|
desc: "Feed id that the story is from."
|
|
|
|
required: true
|
|
|
|
example: "42"
|
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/mark_story_as_starred
|
|
|
|
method: POST
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "Mark a story as starred (saved)."
|
|
|
|
long_desc:
|
2011-04-24 00:05:39 -04:00
|
|
|
- "Mark a story as starred (saved)."
|
2011-04-23 18:22:52 -04:00
|
|
|
params:
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: story_id
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "Story id to save."
|
|
|
|
required: true
|
|
|
|
example: "64"
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: feed_id
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "Feed id that the story is from."
|
|
|
|
required: true
|
|
|
|
example: "42"
|
2011-04-23 18:22:52 -04:00
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/mark_feed_as_read
|
|
|
|
method: POST
|
2011-11-08 09:20:10 -08:00
|
|
|
short_desc: "Mark a list of feeds as read."
|
2011-04-23 18:22:52 -04:00
|
|
|
long_desc:
|
2011-11-08 09:20:10 -08:00
|
|
|
- "Mark a list of feeds as read."
|
2011-04-23 18:22:52 -04:00
|
|
|
params:
|
2011-11-08 09:20:10 -08:00
|
|
|
- key: feed_id
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "List of feed ids to mark as read."
|
2011-11-08 09:20:10 -08:00
|
|
|
required: true
|
2011-04-24 00:05:39 -04:00
|
|
|
example: "[12, 24, 36]"
|
2011-11-08 09:20:10 -08:00
|
|
|
tips:
|
|
|
|
- "To mark a folder as read, send the ids of each feed inside the folder."
|
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/mark_all_as_read
|
|
|
|
method: POST
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "Mark all stories from all feeds as read."
|
|
|
|
long_desc:
|
2011-04-24 00:05:39 -04:00
|
|
|
- "Mark all stories from all feeds as read."
|
2011-04-23 18:22:52 -04:00
|
|
|
tips:
|
2011-04-24 00:05:39 -04:00
|
|
|
- "Use <code>0</code> days back to mark everything as read."
|
2011-04-23 18:22:52 -04:00
|
|
|
params:
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: days
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "Days back to mark as read."
|
2011-04-23 18:22:52 -04:00
|
|
|
optional: true
|
2011-04-24 02:02:10 -04:00
|
|
|
default: "0"
|
2011-04-24 00:05:39 -04:00
|
|
|
example: "7"
|
2012-06-21 00:09:17 -07:00
|
|
|
|
|
|
|
- social:
|
|
|
|
- url: /social/share_story
|
|
|
|
method: POST
|
|
|
|
short_desc: "Share a story with optional comments."
|
|
|
|
long_desc:
|
|
|
|
- "Share a story with optional comments. The story is shared on the user's blurblog."
|
|
|
|
params:
|
|
|
|
- key: feed_id
|
|
|
|
desc: "Feed id that the story is from."
|
|
|
|
required: true
|
|
|
|
example: "42"
|
|
|
|
- key: story_id
|
|
|
|
desc: "Story id to share."
|
|
|
|
required: true
|
|
|
|
example: "http://blog.newsblur.com/post/1"
|
|
|
|
- key: comments
|
|
|
|
desc: "The meat of the share."
|
|
|
|
optional: true
|
|
|
|
example: "42"
|
|
|
|
- key: source_user_id
|
|
|
|
desc: >
|
|
|
|
If the story is being re-shared from another blurblog, note the
|
|
|
|
user_id of the original sharer.
|
|
|
|
optional: true
|
|
|
|
example: "128"
|
2012-06-27 23:57:57 -07:00
|
|
|
- key: post_to_services
|
|
|
|
desc: "List of services to cross-post to. Can be 'twitter' and/or 'facebook'."
|
|
|
|
optional: true
|
|
|
|
example: "['twitter', 'facebook']"
|
2012-07-11 17:45:55 -07:00
|
|
|
- key: format
|
2012-07-28 12:37:16 -07:00
|
|
|
desc: "Return JSON or a HTML template"
|
2012-07-11 17:45:55 -07:00
|
|
|
optional: true
|
|
|
|
default: "json"
|
|
|
|
example: "html"
|
2012-06-21 00:09:17 -07:00
|
|
|
- url: /social/unshare_story
|
|
|
|
method: POST
|
|
|
|
short_desc: "Remove a shared story from user's blurblog."
|
|
|
|
long_desc:
|
|
|
|
- >
|
|
|
|
Removes a shared story from a user's blurblog. Unshares the story and
|
|
|
|
removes the comments. Any replies will also be deleted. This may change.
|
|
|
|
params:
|
|
|
|
- key: feed_id
|
|
|
|
desc: "Feed id that the story is from."
|
|
|
|
required: true
|
|
|
|
example: "42"
|
|
|
|
- key: story_id
|
|
|
|
desc: "Story id to remove the existing share."
|
|
|
|
required: true
|
|
|
|
example: "http://blog.newsblur.com/post/1"
|
2012-07-11 17:45:55 -07:00
|
|
|
- key: format
|
2012-07-28 12:37:16 -07:00
|
|
|
desc: "Return JSON or a HTML template"
|
2012-07-11 17:45:55 -07:00
|
|
|
optional: true
|
|
|
|
default: "json"
|
|
|
|
example: "html"
|
2012-06-21 00:09:17 -07:00
|
|
|
- url: /social/load_user_friends
|
|
|
|
method: GET
|
|
|
|
short_desc: "Lists of user profiles: followers, followings, etc."
|
|
|
|
long_desc:
|
|
|
|
- This lists the user profiles of followers and followings of a user.
|
|
|
|
- Also returns information related to which sharing services a user is using.
|
|
|
|
- url: /social/profile
|
|
|
|
method: GET
|
|
|
|
short_desc: "Public profile of a user."
|
|
|
|
long_desc:
|
|
|
|
- "Public profile of a user. Includes common followers and common followings."
|
|
|
|
params:
|
|
|
|
- key: user_id
|
|
|
|
desc: "User id of user"
|
|
|
|
required: true
|
|
|
|
example: "42"
|
|
|
|
- url: /social/load_user_profile
|
|
|
|
method: GET
|
|
|
|
short_desc: "Private details of the current user's profile and connected services."
|
|
|
|
long_desc:
|
|
|
|
- "Private details of the current user's profile and connected services."
|
|
|
|
- url: /social/save_user_profile
|
|
|
|
method: POST
|
|
|
|
short_desc: "Saves a user's profile details."
|
|
|
|
long_desc:
|
|
|
|
- "Saves a user's profile details."
|
|
|
|
params:
|
|
|
|
- key: location
|
|
|
|
desc: "Hometown"
|
|
|
|
optional: true
|
|
|
|
example: "New York City"
|
|
|
|
- key: bio
|
|
|
|
desc: "160 character bio."
|
|
|
|
optional: true
|
|
|
|
example: "Developer. API Designer."
|
|
|
|
- key: website
|
|
|
|
desc: "Website address"
|
|
|
|
optional: true
|
|
|
|
example: "http://www.samuelclay.com"
|
|
|
|
- key: photo_service
|
|
|
|
desc: "Which photo service to use: twitter, facebook, gravatar."
|
|
|
|
optional: true
|
|
|
|
example: "twitter"
|
|
|
|
- url: /social/interactions
|
|
|
|
method: GET
|
|
|
|
short_desc: "Interactions between a user and other users."
|
|
|
|
long_desc:
|
|
|
|
- "Interactions between a user and other users."
|
2012-07-09 12:41:25 -07:00
|
|
|
params:
|
|
|
|
- key: user_id
|
|
|
|
desc: "ID of user. Defaults to current logged in user."
|
|
|
|
optional: true
|
|
|
|
example: "42"
|
|
|
|
- key: page
|
|
|
|
desc: "4 interactions per page."
|
|
|
|
optional: true
|
|
|
|
example: "2"
|
2012-07-11 17:45:55 -07:00
|
|
|
- key: format
|
|
|
|
desc: "JSON or HTML template"
|
|
|
|
optional: true
|
|
|
|
default: "json"
|
|
|
|
example: "html"
|
|
|
|
- url: /social/activities
|
|
|
|
method: GET
|
|
|
|
short_desc: "A user's activities."
|
|
|
|
long_desc:
|
|
|
|
- "A user's activities: follows, shared stories, and replies to comments."
|
|
|
|
- >
|
|
|
|
Also includes starred stories and new site subscriptions if fetching the
|
|
|
|
currently logged in user's activities.
|
|
|
|
params:
|
|
|
|
- key: user_id
|
|
|
|
desc: "ID of user. Defaults to current logged in user."
|
|
|
|
optional: true
|
|
|
|
example: "42"
|
|
|
|
- key: page
|
|
|
|
desc: "4 activities per page."
|
|
|
|
optional: true
|
|
|
|
example: "2"
|
|
|
|
- key: format
|
|
|
|
desc: "JSON or HTML template"
|
|
|
|
optional: true
|
|
|
|
default: "json"
|
|
|
|
example: "html"
|
2012-06-21 00:09:17 -07:00
|
|
|
- url: /social/follow
|
|
|
|
method: POST
|
|
|
|
short_desc: "Follow a user and subscribe to their blurblog."
|
|
|
|
long_desc:
|
|
|
|
- "Follow a user and subscribe to their blurblog."
|
|
|
|
params:
|
|
|
|
- key: user_id
|
|
|
|
desc: "ID of user to follow."
|
|
|
|
required: true
|
|
|
|
example: "42"
|
|
|
|
- url: /social/unfollow
|
|
|
|
method: POST
|
|
|
|
short_desc: "Unfollow a user and unsubscribe from their blurblog."
|
|
|
|
long_desc:
|
|
|
|
- "Unfollow a user and unsubscribe from their blurblog."
|
|
|
|
params:
|
|
|
|
- key: user_id
|
|
|
|
desc: "ID of user to unfollow."
|
|
|
|
required: true
|
|
|
|
example: "42"
|
|
|
|
- url: /social/feed_trainer
|
|
|
|
method: GET
|
|
|
|
short_desc: "Get the intelligence classifiers for a blurblog."
|
|
|
|
long_desc:
|
|
|
|
- "Get the intelligence classifiers for a blurblog."
|
|
|
|
params:
|
|
|
|
- key: user_id
|
|
|
|
desc: "ID of blurblog's user."
|
|
|
|
required: true
|
|
|
|
example: "42"
|
2012-06-29 21:25:35 -07:00
|
|
|
- url: /social/public_comments
|
2012-06-21 00:09:17 -07:00
|
|
|
method: GET
|
|
|
|
short_desc: "Get all public comments on a shared story."
|
|
|
|
long_desc:
|
|
|
|
- "Get all public comments on a shared story."
|
2012-06-21 13:32:18 -07:00
|
|
|
- >
|
|
|
|
If you want comments from friends, they are already attached to the
|
|
|
|
story from either <code>reader/feed/:id</code> or
|
|
|
|
<code>/social/stories/:user_id</code>.
|
2012-06-21 00:09:17 -07:00
|
|
|
params:
|
|
|
|
- key: story_id
|
|
|
|
desc: "ID of shared story."
|
|
|
|
required: true
|
|
|
|
example: "http://blog.newsblur.com/post/1"
|
|
|
|
- key: feed_id
|
|
|
|
desc: "ID of feed for the shared story."
|
|
|
|
required: true
|
|
|
|
example: "42"
|
2012-07-11 17:45:55 -07:00
|
|
|
- key: format
|
|
|
|
desc: "JSON or HTML template"
|
|
|
|
optional: true
|
|
|
|
default: "json"
|
|
|
|
example: "html"
|
2012-06-21 00:09:17 -07:00
|
|
|
- url: /social/save_comment_reply
|
|
|
|
method: POST
|
|
|
|
short_desc: "Saves a reply to a comment."
|
|
|
|
long_desc:
|
|
|
|
- "Saves a reply to a comment."
|
|
|
|
- "Comments can have a number of replies, but they are all one-level deep."
|
|
|
|
- >
|
|
|
|
Replying to a comment sends notifications to both original commenter and to
|
|
|
|
every other replier to the comment.
|
|
|
|
params:
|
|
|
|
- key: story_feed_id
|
|
|
|
desc: "ID of feed the story belongs to."
|
|
|
|
required: true
|
|
|
|
example: "42"
|
|
|
|
- key: story_id
|
|
|
|
desc: "ID of story being commented on."
|
|
|
|
required: true
|
|
|
|
example: "http://blog.newsblur.com/post/1"
|
|
|
|
- key: comment_user_id
|
|
|
|
desc: "ID of user who left the original comment that is now being replied to."
|
|
|
|
required: true
|
|
|
|
example: "64"
|
|
|
|
- key: reply_comments
|
|
|
|
desc: "The content of the reply."
|
|
|
|
required: true
|
|
|
|
example: "Brilliant analysis."
|
2012-07-27 18:50:03 -07:00
|
|
|
- key: reply_id
|
2012-06-21 00:09:17 -07:00
|
|
|
desc: >
|
2012-07-27 18:50:03 -07:00
|
|
|
If editing an existing reply, provide the original reply id so the correct
|
2012-06-21 00:09:17 -07:00
|
|
|
reply can be overwritten.
|
|
|
|
optional: true
|
2012-07-27 18:50:03 -07:00
|
|
|
example: "5000...0042"
|
|
|
|
- key: format
|
2012-07-28 12:37:16 -07:00
|
|
|
desc: "Return JSON or a HTML template"
|
2012-07-27 18:50:03 -07:00
|
|
|
optional: true
|
|
|
|
default: "json"
|
|
|
|
example: "html"
|
|
|
|
- url: /social/like_comment
|
|
|
|
method: POST
|
|
|
|
short_desc: "Favorites a comment."
|
|
|
|
long_desc:
|
|
|
|
- "Favorites a comment."
|
|
|
|
- "Does not send an email to the recipient user, but they do see an interaction."
|
|
|
|
params:
|
|
|
|
- key: story_feed_id
|
|
|
|
desc: "ID of feed the story belongs to."
|
|
|
|
required: true
|
|
|
|
example: "42"
|
|
|
|
- key: story_id
|
|
|
|
desc: "ID of story being commented on."
|
|
|
|
required: true
|
|
|
|
example: "http://blog.newsblur.com/post/1"
|
|
|
|
- key: comment_user_id
|
|
|
|
desc: "ID of user who left the original comment that is now being replied to."
|
|
|
|
required: true
|
|
|
|
example: "64"
|
|
|
|
- key: format
|
2012-07-28 12:37:16 -07:00
|
|
|
desc: "Return JSON or a HTML template"
|
2012-07-27 18:50:03 -07:00
|
|
|
optional: true
|
|
|
|
default: "json"
|
|
|
|
example: "html"
|
|
|
|
- url: /social/remove_like_comment
|
|
|
|
method: POST
|
|
|
|
short_desc: "Un-favorites a comment."
|
|
|
|
long_desc:
|
|
|
|
- "Un-favorites a comment."
|
|
|
|
params:
|
|
|
|
- key: story_feed_id
|
|
|
|
desc: "ID of feed the story belongs to."
|
|
|
|
required: true
|
|
|
|
example: "42"
|
|
|
|
- key: story_id
|
|
|
|
desc: "ID of story being commented on."
|
|
|
|
required: true
|
|
|
|
example: "http://blog.newsblur.com/post/1"
|
|
|
|
- key: comment_user_id
|
|
|
|
desc: "ID of user who left the original comment that is now being replied to."
|
|
|
|
required: true
|
|
|
|
example: "64"
|
2012-07-11 17:45:55 -07:00
|
|
|
- key: format
|
2012-07-28 12:37:16 -07:00
|
|
|
desc: "Return JSON or a HTML template"
|
2012-07-11 17:45:55 -07:00
|
|
|
optional: true
|
|
|
|
default: "json"
|
|
|
|
example: "html"
|
2012-06-21 00:09:17 -07:00
|
|
|
- url: /social/find_friends
|
|
|
|
method: GET
|
|
|
|
short_desc: "Search for a user by username, email, or blurblog title."
|
|
|
|
long_desc:
|
|
|
|
- "Search for a user by username, email, or blurblog title."
|
|
|
|
params:
|
|
|
|
- key: query
|
|
|
|
desc: "Username, email, or part of a blurblog title."
|
|
|
|
required: true
|
|
|
|
example: "samuel"
|
|
|
|
- url: /social/rss/:user_id/:username
|
|
|
|
method: GET
|
|
|
|
short_desc: "RSS feed for a blurblog."
|
|
|
|
long_desc:
|
|
|
|
- "RSS feed for a blurblog."
|
|
|
|
tips:
|
|
|
|
- >
|
|
|
|
The <code>username</code> url parameter is optional. It's just recommended
|
|
|
|
if you have it.
|
|
|
|
- url: /social/stories/:user_id/:username
|
|
|
|
method: GET
|
|
|
|
short_desc: "Shared stories from a user's blurblog."
|
|
|
|
long_desc:
|
|
|
|
- "Shared stories from a user's blurblog."
|
|
|
|
- "Comments, replies, and profiles from followed users are automatically included."
|
|
|
|
tips:
|
|
|
|
- >
|
|
|
|
The <code>username</code> url parameter is optional. It's just recommended
|
|
|
|
if you have it.
|
|
|
|
- url: /social/page/:user_id/:username
|
|
|
|
method: GET
|
|
|
|
short_desc: "A user's shared stories blurblog in HTML."
|
|
|
|
long_desc:
|
|
|
|
- "A user's shared stories blurblog in HTML."
|
|
|
|
- "This may also live at a custom URL, which is specified in the user's full profile."
|
|
|
|
tips:
|
|
|
|
- >
|
|
|
|
The <code>username</code> url parameter is optional. It's just recommended
|
|
|
|
if you have it.
|
|
|
|
- url: /social/settings/:user_id/:username
|
|
|
|
method: GET
|
|
|
|
short_desc: "A user's full profile."
|
|
|
|
long_desc:
|
|
|
|
- "A user's full profile."
|
|
|
|
tips:
|
|
|
|
- >
|
|
|
|
The <code>username</code> url parameter is optional. It's just recommended
|
|
|
|
if you have it.
|
|
|
|
- url: /social/statistics/:user_id/:name
|
|
|
|
method: GET
|
|
|
|
short_desc: "Get statistics and history for a blurblog."
|
|
|
|
long_desc:
|
|
|
|
- "Get statistics and history for a blurblog."
|
|
|
|
tips:
|
|
|
|
- >
|
|
|
|
The <code>username</code> url parameter is optional. It's just recommended
|
|
|
|
if you have it.
|
|
|
|
|
2011-04-23 18:22:52 -04:00
|
|
|
- "feed management":
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/add_url
|
|
|
|
method: POST
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "Add a feed by its URL (RSS feed or website)."
|
|
|
|
long_desc:
|
2011-04-24 00:05:39 -04:00
|
|
|
- "Add a feed by its URL. Can be either the RSS feed or the website itself."
|
2011-04-23 18:22:52 -04:00
|
|
|
params:
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: url
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "URL of website or RSS feed."
|
|
|
|
required: true
|
|
|
|
example: "http://blog.newsblur.com"
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: folder
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "Folder to place feed in. Omit to use top level."
|
2011-04-23 18:22:52 -04:00
|
|
|
optional: true
|
2011-04-24 00:05:39 -04:00
|
|
|
default: "[Top Level]"
|
|
|
|
example: "Blogs"
|
2012-04-24 12:17:30 -07:00
|
|
|
tips:
|
|
|
|
- >
|
|
|
|
If you want to just show the Add Site dialog on the site, you can use this URL:
|
|
|
|
<code>http://www.newsblur.com/?url=%u</code>
|
2011-04-23 18:22:52 -04:00
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/add_folder
|
|
|
|
method: POST
|
2011-04-24 00:05:39 -04:00
|
|
|
short_desc: "Add a new folder."
|
2011-04-23 18:22:52 -04:00
|
|
|
long_desc:
|
2011-04-24 00:05:39 -04:00
|
|
|
- "Add a new folder."
|
2011-04-23 18:22:52 -04:00
|
|
|
params:
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: folder
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "Folder name"
|
|
|
|
required: true
|
|
|
|
example: "Photo-blogs Extraordinaire"
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: parent_folder
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "Existing folder to create new folder inside of. Omit for top level."
|
2011-04-23 18:22:52 -04:00
|
|
|
optional: true
|
2011-04-24 00:05:39 -04:00
|
|
|
default: "[Top Level]"
|
|
|
|
example: "All Blogs"
|
2011-04-23 18:22:52 -04:00
|
|
|
|
2011-11-08 09:20:10 -08:00
|
|
|
- url: /reader/move_feed_to_folder
|
|
|
|
method: POST
|
|
|
|
short_desc: "Move a feed into a different folder."
|
|
|
|
long_desc:
|
|
|
|
- "Move a feed into a different folder."
|
|
|
|
params:
|
|
|
|
- key: feed_id
|
|
|
|
desc: "Feed id."
|
|
|
|
required: true
|
|
|
|
example: 12
|
|
|
|
- key: in_folder
|
|
|
|
desc: >
|
|
|
|
Current folder the feed is in. Necessary to disambiguate if a feed is in
|
|
|
|
multiple folders.
|
|
|
|
required: true
|
|
|
|
example: "Blogs"
|
2011-11-30 09:53:00 -08:00
|
|
|
- key: to_folder
|
2011-11-08 09:20:10 -08:00
|
|
|
desc: "Folder the feed is going into."
|
|
|
|
required: true
|
|
|
|
example: "Tumblrs"
|
|
|
|
tips:
|
|
|
|
- "Leave folder names blank to specify Top Level."
|
|
|
|
|
|
|
|
- url: /reader/move_folder_to_folder
|
|
|
|
method: POST
|
|
|
|
short_desc: "Move a folder into a different folder."
|
|
|
|
long_desc:
|
|
|
|
- "Move a folder into a different folder."
|
|
|
|
params:
|
|
|
|
- key: folder_name
|
|
|
|
desc: "Name of folder being moved."
|
|
|
|
required: true
|
|
|
|
example: "Tumblrs"
|
|
|
|
- key: in_folder
|
|
|
|
desc: >
|
|
|
|
Current folder the folder is in. Necessary to disambiguate if a folder
|
|
|
|
name is in multiple folders. (Please don't let this happen.)
|
|
|
|
required: true
|
|
|
|
example: "Blogs"
|
2011-11-30 09:53:00 -08:00
|
|
|
- key: to_folder
|
2011-11-08 09:20:10 -08:00
|
|
|
desc: "New folder the existing folder is going into."
|
|
|
|
required: true
|
|
|
|
example: "Daily Blogs"
|
|
|
|
tips:
|
|
|
|
- "Leave folder names blank to specify Top Level."
|
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/rename_feed
|
|
|
|
method: POST
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "Rename a feed title."
|
|
|
|
long_desc:
|
2011-04-24 00:05:39 -04:00
|
|
|
- "Rename a feed title. Only the current user will see the new title."
|
2011-04-23 18:22:52 -04:00
|
|
|
params:
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: feed_title
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "New feed title."
|
|
|
|
required: true
|
|
|
|
example: "NYTimes"
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: feed_id
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "Feed id of the feed to be renamed."
|
|
|
|
required: true
|
|
|
|
example: "42"
|
2011-04-23 18:22:52 -04:00
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/delete_feed
|
|
|
|
method: POST
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "Unsubscribe from a feed."
|
|
|
|
long_desc:
|
2011-04-24 00:05:39 -04:00
|
|
|
- "Unsubscribe from a feed. Removes it from the folder."
|
2011-04-24 14:13:01 -04:00
|
|
|
- >
|
|
|
|
Set the <code>in_folder</code> parameter to remove a feed from the correct
|
|
|
|
folder, in case the user is subscribed to the feed in multiple folders.
|
2011-04-23 18:22:52 -04:00
|
|
|
params:
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: feed_id
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "Feed id of feed to remove."
|
|
|
|
required: true
|
|
|
|
example: "42"
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: in_folder
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "Name of folder the feed is in."
|
2011-04-23 18:22:52 -04:00
|
|
|
optional: true
|
2011-04-24 00:05:39 -04:00
|
|
|
example: "News"
|
|
|
|
|
2011-04-23 18:22:52 -04:00
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/rename_folder
|
|
|
|
method: POST
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "Rename a folder."
|
|
|
|
long_desc:
|
2011-04-24 00:05:39 -04:00
|
|
|
- "Rename a folder."
|
2011-04-23 18:22:52 -04:00
|
|
|
params:
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: folder_to_rename
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "Original folder name."
|
|
|
|
required: true
|
|
|
|
example: "Photoblogs"
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: new_folder_name
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "New folder name."
|
|
|
|
required: true
|
|
|
|
example: "East Coast Photoblogs"
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: in_folder
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "Name of parent folder, used to find the folder."
|
|
|
|
required: true
|
|
|
|
example: "Blogs"
|
2011-04-23 18:22:52 -04:00
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/delete_folder
|
|
|
|
method: POST
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "Delete a folder and unsubscribe from all feeds inside."
|
|
|
|
long_desc:
|
2011-04-24 00:05:39 -04:00
|
|
|
- "Delete a folder and unsubscribe from all feeds inside."
|
2011-04-23 18:22:52 -04:00
|
|
|
params:
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: folder_to_delete
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "Name of folder to delete."
|
|
|
|
required: true
|
|
|
|
example: "Photoblogs"
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: in_folder
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "Name of parent folder, used to find the folder. Omit if folder is top level."
|
2011-04-23 18:22:52 -04:00
|
|
|
optional: true
|
2011-04-24 00:05:39 -04:00
|
|
|
example: "Blogs"
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: feed_id
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "List of feed ids in the folder that's being deleted. These feeds also get removed."
|
|
|
|
optional: true
|
|
|
|
example: "[12, 24, 36]"
|
2011-11-08 09:20:10 -08:00
|
|
|
|
2011-04-23 18:22:52 -04:00
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /reader/save_feed_order
|
|
|
|
method: POST
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "Reorder feeds and move them around between folders."
|
|
|
|
long_desc:
|
2011-04-24 00:05:39 -04:00
|
|
|
- "Reorder feeds and move them around between folders."
|
|
|
|
- "The entire folder structure needs to be serialized."
|
2011-04-23 18:22:52 -04:00
|
|
|
params:
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: folders
|
2011-04-24 00:05:39 -04:00
|
|
|
desc: "Object with folders and feed ids."
|
|
|
|
required: true
|
|
|
|
example: "[12, 24, 36, <br>{'Blogs': [56, 67, 78,<br />{'Photoblogs': [42]}]}]"
|
2011-04-23 18:22:52 -04:00
|
|
|
|
|
|
|
|
2011-04-23 23:15:44 -04:00
|
|
|
- "intelligence classifiers":
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /classifier/:id
|
|
|
|
method: GET
|
2011-04-23 23:15:44 -04:00
|
|
|
short_desc: "Get the intelligence classifiers for a user's site."
|
2011-04-23 18:22:52 -04:00
|
|
|
long_desc:
|
2011-04-23 23:15:44 -04:00
|
|
|
- "Get the intelligence classifiers for a user's site."
|
2011-04-24 21:27:31 -04:00
|
|
|
- >
|
|
|
|
Only includes the user's own classifiers. Use <code>/reader/feeds_trainer</code>
|
|
|
|
for popular classifiers.
|
2011-04-23 18:22:52 -04:00
|
|
|
tips:
|
2011-04-24 14:13:01 -04:00
|
|
|
- >
|
|
|
|
All of this data is attached to a feed when called with
|
|
|
|
<code>/reader/feed/:id</code>.
|
|
|
|
- >
|
|
|
|
After loading a feed, there is no need to explicitly call this endpoint,
|
|
|
|
unless the feed has not yet been fetched.
|
2011-04-23 18:22:52 -04:00
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /classifier/save
|
|
|
|
method: POST
|
2011-04-23 23:15:44 -04:00
|
|
|
short_desc: "Save intelligence classifiers for a feed."
|
|
|
|
long_desc:
|
|
|
|
- "Save intelligence classifiers (tags, titles, authors, and the feed) for a feed."
|
|
|
|
tips:
|
2011-04-24 14:13:01 -04:00
|
|
|
- "The endpoint is far different from all other endpoints. It takes a variety of param keys."
|
|
|
|
- "You can send a list for any of the keys. <code>like_tag[]=tech&like_tag[]=mobile</code>"
|
2011-04-23 23:15:44 -04:00
|
|
|
params:
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: "like_[TYPE]"
|
2011-04-24 01:52:44 -04:00
|
|
|
desc: "Positive score for TYPE <- [tag, author, title, feed]"
|
2011-04-23 23:15:44 -04:00
|
|
|
optional: true
|
2011-04-24 02:02:10 -04:00
|
|
|
example: "like_author=<br />Samuel Clay"
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: "dislike_[TYPE]"
|
2011-04-24 01:52:44 -04:00
|
|
|
desc: "Negative score for TYPE <- [tag, author, title, feed]"
|
2011-04-23 23:15:44 -04:00
|
|
|
optional: true
|
2011-04-24 02:02:10 -04:00
|
|
|
example: "dislike_title=<br />New York Yankees"
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: "remove_like_[TYPE]"
|
2011-04-24 01:52:44 -04:00
|
|
|
desc: "Clear score for a classifier."
|
|
|
|
optional: true
|
2011-04-24 02:02:10 -04:00
|
|
|
example: "remove_like_author=<br />Samuel Clay"
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: "remove_dislike_[TYPE]"
|
2011-04-24 01:52:44 -04:00
|
|
|
desc: "Functionally the same as <code>remove_like_[TYPE]</code>."
|
|
|
|
optional: true
|
2011-04-24 02:02:10 -04:00
|
|
|
example: "remove_dislike_title=<br />New York Yankees"
|
2011-04-23 23:15:44 -04:00
|
|
|
|
|
|
|
|
|
|
|
- "import/export":
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /import/opml_export
|
|
|
|
method: GET
|
2011-04-23 18:22:52 -04:00
|
|
|
short_desc: "Download backup of feeds as an OPML file."
|
2011-04-23 23:15:44 -04:00
|
|
|
long_desc:
|
2011-04-24 01:52:44 -04:00
|
|
|
- "Download a backup of feeds and folders as an OPML file."
|
|
|
|
- "Contains folders and feeds in XML; useful for importing in another RSS reader."
|
2011-04-23 23:15:44 -04:00
|
|
|
|
2011-04-24 14:13:01 -04:00
|
|
|
- url: /import/opml_upload
|
|
|
|
method: POST
|
2011-04-24 01:52:44 -04:00
|
|
|
short_desc: "Upload an OPML file."
|
2011-04-23 18:22:52 -04:00
|
|
|
long_desc:
|
2011-04-24 01:52:44 -04:00
|
|
|
- "Upload an OPML file."
|
2011-04-23 18:22:52 -04:00
|
|
|
params:
|
2011-04-24 14:13:01 -04:00
|
|
|
- key: file
|
2011-04-24 01:52:44 -04:00
|
|
|
desc: "The OPML file in XML format."
|
|
|
|
required: true
|