<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developer.myspace.com/Community/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MySpace Developer Team : REST</title><link>http://developer.myspace.com/Community/blogs/devteam/archive/tags/REST/default.aspx</link><description>Tags: REST</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20910.1126)</generator><item><title>New Features for OpenSocial 0.9 REST APIs</title><link>http://developer.myspace.com/Community/blogs/devteam/archive/2009/11/17/new-features-for-opensocial-0-9-rest-apis.aspx</link><pubDate>Wed, 18 Nov 2009 00:38:00 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:44156</guid><dc:creator>krunal</dc:creator><slash:comments>11</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://developer.myspace.com/Community/blogs/devteam/rsscomments.aspx?PostID=44156</wfw:commentRss><comments>http://developer.myspace.com/Community/blogs/devteam/archive/2009/11/17/new-features-for-opensocial-0-9-rest-apis.aspx#comments</comments><description>&lt;p&gt;Hi everyone, &lt;/p&gt;&lt;p&gt;We are extending our 0.9 REST API offerings by adding new endpoints as well as adding new features to existing endpoints to make our 0.9 offering richer. We are committed to exposing data through Open Standards so app developers can create the finest applications on the web. Some of these new features are not part of the previous MySpace REST APIs so this should encourage you to switch to 0.9 if you haven’t done so already.&lt;/p&gt;&lt;p&gt;The link to the main resource page for REST 0.9 APIs is located &lt;a href="http://wiki.developer.myspace.com/index.php?title=Category:OpenSocial_v0.9_REST_Resources" title="OpenSocial 0.9 REST APIs" target="_blank"&gt;here&lt;/a&gt;. Please find documentation links and highlights of these new features below.&amp;nbsp; Please review our &lt;a href="http://wiki.developer.myspace.com/index.php?title=Developer_Addendum_to_MySpace.com_Terms_of_Use_Agreement" title="Terms of use" target="_blank"&gt;Terms of use&lt;/a&gt;, especially Section 10.2, before you start using these features.&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:bold;text-decoration:underline;"&gt;New Endpoints&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:bold;"&gt;StatusMoodComments &lt;/span&gt;&lt;/p&gt;&lt;p&gt;This endpoint provides a way to fetch the comments posted on a user’s StatusMood updates. It also provides a way to request the comment author’s basic info (image, name and profile URL) along with the comments themselves. This could reduce the number of calls to the server you need to make if you plan on displaying the commenter’s data along with the comments. &lt;/p&gt;&lt;p&gt;Please see details &lt;a href="http://wiki.developer.myspace.com/index.php?title=OpenSocial_v0.9_StatusMoodComments" title="StatusMood Comments" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:bold;"&gt;ProfileComments&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This provides a way to fetch the comments posted on a user’s profile. It also provides a way to request the comment author’s basic info along with the comments, which again will reduce the number of calls to the server if that information is needed. &lt;/p&gt;&lt;p&gt;Please see details &lt;a href="http://wiki.developer.myspace.com/index.php?title=OpenSocial_v0.9_ProfileComments" title="Profile Comments" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:bold;"&gt;MediaItemComments&lt;/span&gt;&lt;br /&gt;You can now fetch comments posted on a user’s images and videos. Again, this endpoint allows you to fetch the comment author’s basic info to save a second request to the server. &lt;/p&gt;&lt;p&gt;Please see details &lt;a href="http://wiki.developer.myspace.com/index.php?title=OpenSocial_v0.9_MediaItemComments" title="MediaItem Comments" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:bold;text-decoration:underline;"&gt;Enhancements&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:bold;"&gt;StatusMood&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;The StatusMood endpoints now offer APIs to fetch friends’ status mood updates as well as provides a way to fetch StatusMood history.&lt;/li&gt;&lt;li&gt;Apps can also fetch recent comments on a user status in the same call.&lt;/li&gt;&lt;li&gt;MySpace now allows syncing/updating StatusMood from various sources like Twitter. You can get that information in your requests.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Check the documentation for the StatusMood APIs &lt;a href="http://wiki.developer.myspace.com/index.php?title=OpenSocial_v0.9_StatusMood#Notes" title="StatusMood" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Also don’t forget to check out the filters that &lt;a href="http://wiki.developer.myspace.com/index.php?title=OpenSocial_v0.9_StatusMood#Supported_URIs_and_Filters_by_StatusMood_endpoints" title="StatusMood filters" target="_blank"&gt;this endpoint has to offer&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:bold;"&gt;Activities&lt;/span&gt;&lt;/p&gt;&lt;p&gt;We are also adding Activity Streams extension properties to activities returned from our OpenSocial 0.9 Activities endpoint in this release.&amp;nbsp; Activity Streams is a data format that describes what people are doing around the web, for example: posting photos and videos, sharing music with friends and writing blog entries.&amp;nbsp; If you are already familiar with the Activity Streams atom format, you can now access all the Activity Streams goodness, like actors, verbs, objects and object-types, in JSON and plain old XML.&amp;nbsp; Find more information about Activity Streams on the http://activitystrea.ms web site.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Check out the MySpace implementation for the same &lt;a href="http://wiki.developer.myspace.com/index.php?title=OpenSocial_v0.9_Activities#ActivityStrea.ms_Extensions" title="Activities endpoints" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:bold;text-decoration:underline;"&gt;SDKs&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Our PHP and Java &lt;a href="http://wiki.opensocial.org/index.php?title=Client_Libraries" target="_blank" title="SDK link"&gt;SDKs&lt;/a&gt; have been updated to support these new features and the others are in the works. Also, these new features are developed using Open Standards like OpenID, OAuth and OpenSocial which should help make your experience smooth.&lt;/p&gt;&lt;p&gt;Also, if you have missed out, visit this earlier blog post for more information about complete suite of &lt;a href="http://developer.myspace.com/Community/blogs/devteam/archive/2009/09/21/full-support-of-opensocial-0-9-rest-apis-now-available.aspx" title="OpenSocial 0.9 REST APIs" target="_blank"&gt;REST 0.9 APIs&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Happy coding!&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;img src="http://developer.myspace.com/Community/aggbug.aspx?PostID=44156" width="1" height="1"&gt;</description><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/OpenSocial/default.aspx">OpenSocial</category><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/REST/default.aspx">REST</category><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/Activities/default.aspx">Activities</category><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/activity+stream/default.aspx">activity stream</category><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/myspace+open+platform/default.aspx">myspace open platform</category><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/ActivityStreams/default.aspx">ActivityStreams</category><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/MySpaceceID/default.aspx">MySpaceceID</category><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/ActivityStrea.ms/default.aspx">ActivityStrea.ms</category></item><item><title>REST App Notifications Are Now Available</title><link>http://developer.myspace.com/Community/blogs/devteam/archive/2009/05/15/REST-App-Notifications-are-Now-Available.aspx</link><pubDate>Sat, 16 May 2009 00:26:00 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:40242</guid><dc:creator>Test User</dc:creator><slash:comments>9</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://developer.myspace.com/Community/blogs/devteam/rsscomments.aspx?PostID=40242</wfw:commentRss><comments>http://developer.myspace.com/Community/blogs/devteam/archive/2009/05/15/REST-App-Notifications-are-Now-Available.aspx#comments</comments><description>&lt;p&gt;We&amp;#39;re happy to announce that we&amp;#39;ve just released the final piece of app notifications. You can now send app notifications directly from an OAuth REST end point.&amp;nbsp;The REST end point allows you to pass in up to one thousand (1000) recipients at a time making it ideal for mass messaging communications to users of your app. This method also allows you to send notifications on a true server-to-server basis which is not initiated by a user action.&lt;/p&gt;
&lt;p&gt;The general notifications page can be found in the developer &lt;a href="http://wiki.developer.myspace.com/index.php?title=App_Notifications" class=""&gt;Wiki&lt;/a&gt;. Documentation for the REST end point can be found &lt;a href="http://wiki.developer.myspace.com/index.php?title=POST_v1_applications_applicationId_notifications" class=""&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Enjoy!&lt;/p&gt;&lt;img src="http://developer.myspace.com/Community/aggbug.aspx?PostID=40242" width="1" height="1"&gt;</description><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/REST/default.aspx">REST</category><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/notifications/default.aspx">notifications</category></item><item><title>Looking Forward to OpenSocial 0.9</title><link>http://developer.myspace.com/Community/blogs/devteam/archive/2008/12/17/looking-forward-to-opensocial-0-9.aspx</link><pubDate>Wed, 17 Dec 2008 22:00:00 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:30371</guid><dc:creator>Scott</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://developer.myspace.com/Community/blogs/devteam/rsscomments.aspx?PostID=30371</wfw:commentRss><comments>http://developer.myspace.com/Community/blogs/devteam/archive/2008/12/17/looking-forward-to-opensocial-0-9.aspx#comments</comments><description>&lt;p&gt;The OpenSocial 0.9 draft has been defined. We are awaiting prototypes of all the new features before we declare the draft final. That means that, unless the spec is ambiguous or impossible to implement, the documentation is largely done. The set of changes accepted into 0.9 include some major additions to OpenSocial as a common platform. Given that platforms using OpenSocial touch over 600 million users (&lt;a href="http://www.techcrunch.com/2008/11/13/open-social-turns-one-my-how-youve-grown/"&gt;source&lt;/a&gt;), the changes effect a lot of people. The platform is open, meaning that it is guided by the community instead of by a single entity. &lt;/p&gt;
&lt;p&gt;For v.NEXT, you are all invited to participate in the discussion we will continue to have at &lt;a href="http://groups.google.com/group/opensocial-and-gadgets-spec/topics?hl=en"&gt;http://groups.google.com/group/opensocial-and-gadgets-spec/topics?hl=en&lt;/a&gt;. We really do need and want more developers to participate. Suggest features you would like to see. Tell the container developers that you love/hate an idea. Participate! A spec cycle lasts 3-4 months. During that time we: propose new features (6-8 weeks); discuss, refine, and vote on proposals (2-3 weeks); write a draft spec (2 weeks); review and vote on the draft (1 week). To be accepted, an item needs at least 5 votes for the feature and no votes against the feature. Because the process is open (as in open source), anyone can participate. &lt;/p&gt;
&lt;p&gt;So, what do we have in store for you in 0.9 in terms of accepted proposals? The changes fall in a few different buckets: cleanup from previous iterations, enhancements to existing features, and introduction of brand new items. Oh yes, we are also deprecating some features as well. Note I said deprecating, not eliminating. As such, you shouldn&amp;#39;t worry about features being removed. That will happen in the future and you will be warned when it happens. &lt;/p&gt;
&lt;p&gt;Over the next couple weeks, I want to spend some time going over the changes that are coming up. In most cases, we build on the platform or simplify things. To give you a taste of what I&amp;#39;ll be talking about, here is the list of changes coming in 0.9:&lt;/p&gt;
&lt;p&gt;Changes/clarifications to existing features&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Activity Paging: Added a class, opensocial.DataRequest.ActivityRequestFields, that has two values: FIRST and MAX. FIRST specifies the first item to fetch from the activity, MAX indicates how many to retrieve at once.&lt;/li&gt;
&lt;li&gt;Align JS API and REST: The REST spec sees the Address element get updated to understand LATITUDE, LONGITUDE, and TYPE. Why? Not all locations have street addresses. And, the nearest street might be hundreds of miles away. Type is there to make labeling of addresses easier.&lt;/li&gt;
&lt;li&gt;Align Portable Contacts and REST: Add language to the REST spec stating that we will work with the Portable Contacts folks to keep our specifications aligned. They did the same thing in their spec.&lt;/li&gt;
&lt;li&gt;Anonymous Viewer: The spec did not say what the VIEWER ID should be if the VIEWER hasn&amp;#39;t logged in. Most of the containers had decided that the value should be -1. Now, the spec will say that too.&lt;/li&gt;
&lt;li&gt;Change to osapi:recipient format: The messaging part of the API did not give a way to indicate if a message was intended for a person (Scott) or a group (Scott&amp;#39;s Top Friends). We added a string to the REST API saying that the ID can indicate the type of ID as group or person. &lt;/li&gt;
&lt;li&gt;Clarify timing of callback execution in JS API: In some implementations, the callback might get called before the function to get data had returned. In others, the callback was always called later. This caused buggy behavior when switching platforms. So, in 0.9, we decided that the callback function will not be called until after the existing call stack has completed. (i.e. window.setTimeout(&amp;lt;callback closure&amp;gt;, 0);).&lt;/li&gt;
&lt;li&gt;Implementing IS FRIENDS WITH: The 0.8.1 REST spec didn&amp;#39;t say how to figure out how two people are friends. 0.9 will. Here is what we decided:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;To determine if two people are friends: &lt;/p&gt;
&lt;p&gt;&amp;nbsp; /people/@me/@self?filterBy=@friends&amp;amp;filterOp=contains&amp;amp;filtervalue=&amp;lt;someUserid&amp;gt;&lt;/p&gt;
&lt;p&gt;To find mutual friends between two user IDs &lt;/p&gt;
&lt;p&gt;&amp;nbsp;/people/@me/@friends?filterBy=@friends&amp;amp;filterOp=contains&amp;amp;filterValue=&amp;lt;someuserid&amp;gt;&lt;/p&gt;
&lt;p&gt;filterValue can take a specific person identifier or @owner or @viewer &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Radically simplify the Persistence/AppData API: Essentially, once you have a Person object, you can call getAppData(key) to get a specific piece of AppData. &lt;/li&gt;
&lt;li&gt;registerOnLoadHandler: Spec was silent on what happened if the gadgets.util.registerOnLoadHandler was called many times. Now, it says that all functions will be called in the order they were added. &lt;/li&gt;
&lt;li&gt;requestShareApp and requestSendMessage should use IdSpec: These were the only two functions in the existing API that took user IDs as strings instead of an IdSpec. Now, they take an IdSpec instead.&lt;/li&gt;
&lt;li&gt;Resolve Schema with Portable Contacts: A stated goal of Portable Contacts and OpenSocial as that the Person and related objects should be compatible. We worked with the Portable Contacts folks to make sure that are schema is compatible.&lt;/li&gt;
&lt;li&gt;Specify ownership of the page fragment identifier in the spec: The specification didn&amp;#39;t say who owns the # portion of the ID. In reality, the containers all own it for various reasons. (See &lt;a href="http://developer.myspace.com/Community/blogs/devteam/archive/2008/11/21/working-with-relative-links.aspx"&gt;here&lt;/a&gt; for how to work around this.)&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;New Features (that will be the subject of my next series of posts):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Albums API&lt;/li&gt;
&lt;li&gt;Content Rewriter Feature&lt;/li&gt;
&lt;li&gt;Gadgets Log&lt;/li&gt;
&lt;li&gt;International Date Time Number Formatting&lt;/li&gt;
&lt;li&gt;Lightweight JS APIs&lt;/li&gt;
&lt;li&gt;Limited Invalidation&lt;/li&gt;
&lt;li&gt;Messaging API Changes&lt;/li&gt;
&lt;li&gt;Min age metadata for ModulePrefs&lt;/li&gt;
&lt;li&gt;OAuth Popup&lt;/li&gt;
&lt;li&gt;OSML Tags&lt;/li&gt;
&lt;li&gt;OpenSocial Templates&lt;/li&gt;
&lt;li&gt;Overloading meaning of view&lt;/li&gt;
&lt;li&gt;Proxied Content&lt;/li&gt;
&lt;li&gt;UserPrefs for REST API&lt;/li&gt;
&lt;li&gt;Versioning Applications&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;I&amp;#39;ll work through the features, no more than 1000 words at a time. Some of these will be easy to explain, some more lengthy. &lt;/p&gt;
&lt;p&gt;Finally, I want you to know that we are working hard to support these features. Every time we launch new features to better align with OpenSocial, we will broadcast where we are at. &lt;/p&gt;&lt;img src="http://developer.myspace.com/Community/aggbug.aspx?PostID=30371" width="1" height="1"&gt;</description><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/OpenSocial/default.aspx">OpenSocial</category><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/REST/default.aspx">REST</category></item><item><title>NOW HIRING - MySpace Developer Platform Team</title><link>http://developer.myspace.com/Community/blogs/devteam/archive/2008/05/19/now-hiring-myspace-developer-platform-team.aspx</link><pubDate>Mon, 19 May 2008 16:40:00 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:10310</guid><dc:creator>Allen</dc:creator><slash:comments>15</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://developer.myspace.com/Community/blogs/devteam/rsscomments.aspx?PostID=10310</wfw:commentRss><comments>http://developer.myspace.com/Community/blogs/devteam/archive/2008/05/19/now-hiring-myspace-developer-platform-team.aspx#comments</comments><description>&lt;p&gt;MySpace is expanding its Developer Platform Team!&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Are you are knowledgeable in:&lt;/p&gt;&lt;p&gt; - AJAX&lt;br /&gt;- C/C++&lt;br /&gt;- Cross-Browser Support&lt;br /&gt;- CSS 1.0 - 2.1&lt;br /&gt;
- DOM Levels 0 - 2&lt;br /&gt;- HTML &amp;amp; XHTML&lt;br /&gt;- Java&lt;br /&gt;- JavaScript 1.0 - 1.5&lt;br /&gt;- oAuth&lt;br /&gt;- Object-Oriented Programming Concept&lt;br /&gt;- .NET/C# 1.1 - 3.5 &lt;br /&gt;- REST&lt;br /&gt;- WCF&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Do you work in the Seattle, San Francisco, or the Los Angeles area (or want to)?&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;If so, we would like to talk with you!!!&lt;br /&gt;&lt;/p&gt;&lt;p&gt;MySpace recently launched the MySpace Developer Platform.&amp;nbsp; We now have over 1200 live applications and growing everyday.&amp;nbsp; We are hiring developers to help us expand our available APIs, evolve the MySpace Container, contributing &amp;amp; iterating to the OpenSocial Spec and libraries – among many other MDP related initiatives. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;If you have a resume or questions, please email joe.darretta@fox.com.&amp;nbsp; Please make sure you put &amp;quot;MDP&amp;quot; in the subject line (you don&amp;#39;t have too, but it helps us)! &lt;/p&gt;&lt;img src="http://developer.myspace.com/Community/aggbug.aspx?PostID=10310" width="1" height="1"&gt;</description><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/OpenSocial/default.aspx">OpenSocial</category><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/REST/default.aspx">REST</category><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/Employment/default.aspx">Employment</category><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/oAuth/default.aspx">oAuth</category><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/Jobs/default.aspx">Jobs</category><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/Hiring/default.aspx">Hiring</category><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/AJAX/default.aspx">AJAX</category></item></channel></rss>