getLastPosts

Returns last posts of a thread

Parameter
  • id (required): thread id
  • limit (optional): number of posts returned, defaults to 10
  • format (optional): format of the response, “xml” or “json”, defaults to “xml”

Sample

http://thats-me.ch/api/getLastPosts?id=4296limit=2


Sample Response

<?xml version="1.0" encoding="utf-8"?>

<posts>
<post>
	<id>12</id>
	<creator>Kurt</creator>
		<created>22.07.2011 08:58</created>
		<isQuestion>0</isQuestion>
		<body><![CDATA[dito]]></body>
</post>
<post>
	<id>11</id>
	<creator>Claudio</creator>
		<created>22.07.2011 08:37</created>
		<isQuestion>0</isQuestion>
		<body><![CDATA[TM esch voll super!]]></body>
</post>
</posts>

Comment
Posts are returned ordered descending by creation date (newest post first).

Last edited Jul 28, 2011 at 1:11 PM by cansik, version 1

Comments

No comments yet.