The following JSON-RPC methods are supported (try these using the JsonServices test page):
- getFrontPageStories(pageNumber, pageSize)
- Returns a list of recently published stories to the homepage.
- getPopularStories(pageNumber, pageSize, timePeriod)
- Returns a list of the most popular published stories (from the last 30 days as the default time period).
- getTaggedStories(tag, pageNumber, pageSize)
- Returns a list of the recent stories tagged with a tag.
- getUpcomingPageStories(pageNumber, pageSize)
- Returns a list of recently submitted stories to the site.
- getUpcomingStories(pageNumber, pageSize, timePeriod)
- Returns a list of the most popular upcoming stories (from the last 30 days as the default time period).
- getUserFriendsKickedStories(username, pageNumber, pageSize)
- Returns a list of the most recent stories kicked by a user's friends.
- getUserFriendsSubmittedStories(username, pageNumber, pageSize)
- Returns a list of the most recent stories submitted by a user's friends.
- getUserKickedStories(username, pageNumber, pageSize)
- Returns a list of the most recent stories kicked by a user.
- getUserSubmittedStories(username, pageNumber, pageSize)
- Returns a list of the most recent stories submitted by a user.
- system.about()
- Returns a summary about the server implementation for display purposes.
- system.listMethods()
- Returns an array of method names implemented by this service.
- system.version()
- Returns the version server implementation using the major, minor, build and revision format.
The following method(s) of this service are marked as idempotent and therefore safe for use with HTTP GET:
- getFrontPageStories
- getPopularStories
- getTaggedStories
- getUpcomingPageStories
- getUpcomingStories
- getUserFriendsKickedStories
- getUserFriendsSubmittedStories
- getUserKickedStories
- getUserSubmittedStories
- system.about
- system.listMethods
- system.version