NewsCloud Web Services
API Categories
Journal Functions
journalListStories
List stories on this user's journal.
Arguments
uid: the user id for this user
startRow: the start row to begin the query
REST Format:
http://api.newscloud.com/services/node.php?apikey=your-apikeyhere&method=journalListStories&uid=1&startRow=0
journalPost
Post orginal content to your NewsCloud journal. Requires account access. Under special restriction.
Arguments
uid: the user id for this user
title: The headline or title for the user post.
introduction: A brief introduction to your journal entry.
description: The body of the message for the user comment. Alternately, a description of a group.
tagList: a list of tags
imageUrl: The image URL where the photo is located.
isTest: Used for testing APIs that write to the database. When isTest is true, nothing gets written to the database.
REST Format:
http://api.newscloud.com/services/node.php?apikey=your-apikeyhere&method=journalPost&uid=1&title=North Korea Tests Nuke&introduction=Why are we in Iraq? You tell me...&description=Put your detailed post here.&tagList=North+Korea nuclear+test bush&imageUrl=http://msnbcmedia.msn.com/j/msnbc/Components/Video/061009/n_bush_nkorea_061009.300w.jpg&isTest=trueAccount Access: Because this method accesses a specific user account's private data, you either need to use the API key from the account of this user OR you must authenticate access to the user's account with userSignIn method before calling this function. Once signed in for this user's account, your session will last one hour.
Special Restriction: Because this is an intensive or important write operation, this method is under tight restrictions to prevent spam and abuse. Please email us if you have a valid use for your Web site and would like your limit increased. In most cases, we will be glad to accomodate you.
journalRemoveStory
Remove a story from this user's journal. Requires account access.
Arguments
uid: the user id for this user
contentid: the contentid for this story
REST Format:
http://api.newscloud.com/services/node.php?apikey=your-apikeyhere&method=journalRemoveStory&uid=1&contentid=74454Account Access: Because this method accesses a specific user account's private data, you either need to use the API key from the account of this user OR you must authenticate access to the user's account with userSignIn method before calling this function. Once signed in for this user's account, your session will last one hour.
journalListStories
List stories on this user's journal.
Arguments
uid: the user id for this user
startRow: the start row to begin the query
REST Format:
http://api.newscloud.com/services/node.php?apikey=your-apikeyhere&method=journalListStories&uid=1&startRow=0journalPost
Post orginal content to your NewsCloud journal. Requires account access. Under special restriction.
Arguments
uid: the user id for this user
title: The headline or title for the user post.
introduction: A brief introduction to your journal entry.
description: The body of the message for the user comment. Alternately, a description of a group.
tagList: a list of tags
imageUrl: The image URL where the photo is located.
isTest: Used for testing APIs that write to the database. When isTest is true, nothing gets written to the database.
REST Format:
http://api.newscloud.com/services/node.php?apikey=your-apikeyhere&method=journalPost&uid=1&title=North Korea Tests Nuke&introduction=Why are we in Iraq? You tell me...&description=Put your detailed post here.&tagList=North+Korea nuclear+test bush&imageUrl=http://msnbcmedia.msn.com/j/msnbc/Components/Video/061009/n_bush_nkorea_061009.300w.jpg&isTest=trueAccount Access: Because this method accesses a specific user account's private data, you either need to use the API key from the account of this user OR you must authenticate access to the user's account with userSignIn method before calling this function. Once signed in for this user's account, your session will last one hour.
Special Restriction: Because this is an intensive or important write operation, this method is under tight restrictions to prevent spam and abuse. Please email us if you have a valid use for your Web site and would like your limit increased. In most cases, we will be glad to accomodate you.
journalRemoveStory
Remove a story from this user's journal. Requires account access.
Arguments
uid: the user id for this user
contentid: the contentid for this story
REST Format:
http://api.newscloud.com/services/node.php?apikey=your-apikeyhere&method=journalRemoveStory&uid=1&contentid=74454Account Access: Because this method accesses a specific user account's private data, you either need to use the API key from the account of this user OR you must authenticate access to the user's account with userSignIn method before calling this function. Once signed in for this user's account, your session will last one hour.
