Go back to Partigi API Documentation
User element is you. We offer the public information from the user (we hide e-mail, password and some more preferences, obviously).
Schema
ptUser = element atom:entry {
atomCategory,
atomPublished,
atomUpdated,
atomTitle,
ptUser:id,
ptUser:login,
ptUser:name,
ptUser:surname,
ptUser:avatar_url,
ptUser:country
}
The table below details item schema:
Element |
Property |
Description |
entry |
atom:category |
Scheme: http://schemas.partigi.com/v1.0#kind
Term: http://schemas.partigi.com/v1.0#user |
|
atom:published |
The time at which user signed up. |
|
atom:updated |
The last modification time of the user. |
|
atom:title |
The full name of the user. |
|
ptUser:id |
The identfier of the user in Partigi. |
|
ptUser:login |
The user username of the user. |
|
ptUser:name |
The name of the user. |
|
ptUser:surname |
The surname of the user. |
|
ptUser:avatar_url |
URL to the user avatar. |
|
ptUser:country |
The country code of the user. |
An example
<entry xmlns:ptUser="http://schemas.partigi.com/v1.0/ptUser">
<category scheme="http://schemas.partigi.com/v1.0#kind" term="http://schemas.partigi.com/v1.0#user"/>
<id>http://www.partigi.com/jwayne</id>
<title>John Wayne</title>
<updated>2009-07-08T07:31:19Z</updated>
<published>2009-05-06T11:43:39Z</published>
<link type="text/html" rel="alternate" href="http://www.partigi.com/jwayne"/>
<link type="application/atom+xml" rel="self" href="http://www.partigi.com/api/v1/users/show.atom?id=jwayne"/>
<ptUser:id>1</ptUser:id>
<ptUser:login>jwayne</ptUser:login>
<ptUser:name>John</ptUser:name>
<ptUser:surname>Wayne</ptUser:surname>
<ptUser:country>ES</ptUser:country>
<ptUser:avatar_url>http://gravatar.com/avatar/1234567890987654321.png?r=PG</ptUser:avatar_url>
</entry>
Go back to Partigi API Documentation
Comments (0)
You don't have permission to comment on this page.