-
Notifications
You must be signed in to change notification settings - Fork 1
Huddle Api
darrelmiller edited this page Sep 14, 2012
·
5 revisions
Source: http://code.google.com/p/huddle-apis/wiki/Friends#Example
Example representation:
<friends xmlns="http://schema.huddle.net/2011/02/">
<link rel="self" href="..." />
<user xmlns="http://schema.huddle.net/2011/02/">
<link rel="self" href="..." />
<link rel="alternate" type="text/html" href="..." />
<link rel="avatar" type="image/jpg" href="..." />
<link rel="friends" href="..." />
<link rel="recommendations" href="..." />
<profile>
<personal>
<firstname>Ian</firstname>
<lastname>Cooper</lastname>
<displayname>Ian Cooper</displayname>
</personal>
<company name="Huddle" role="Senior developer">
<link rel="www" href="http://www.huddle.com" />
</company>
<contacts>
<contact rel="mail" href="..." />
<contact rel="telephone" href="..." />
<contact rel="mobile" href="..." />
<contact rel="skype" href="..." />
<contact rel="www" href="http://www.iancooper.name" />
</contacts>
</profile>
</user>
</friends>
The link relations such as recommendations and avatar are examples that express a relationship between two resources. Some of these relation links contain a type attribute, some do not.