Forum.Topics.get

Description

Returns a list of topics attached to this forum. Requires OAuth authentification.

Method

GET

Endpoint

http://api.cixonline.com/v1.0/cix.svc/forums/{forum}/topics(.xml/.json)[?start={start}&maxresults={maxresults}]

Parameters

Required Name Type Description
required forum string The forum to return topics for.
optional maxresults string The max number of results to retreive (Default 200)
start string The position to start from (Default 0)

Example Request

Example Return XML

<TopicResultSet xmlns="http://cixonline.com" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> 
  <Count>16</Count> 
  <Start>0</Start> 
  <Topics> 
    <Topic> 
      <Desc /> 
      <Files> </Files> 
      <Flag>R</Flag> 
      <Name>2feedback</Name> 
    </Topic> 
    <Topic> 
      <Desc /> 
      <Files> </Files> 
      <Flag> </Flag> 
      <Name>3feedback</Name> 
    </Topic> 
  </Topics> 
</TopicResultSet>

Example Return JSON

{
  "Count":16,
  "Start":0,
  "Topics":[
    {"Desc":"","Files":" ","Flag":"R","Name":"2feedback"},
    {"Desc":"","Files":" ","Flag":" ","Name":"3feedback"}
  ]
}

Error Codes

Code Description
400 Bad request. Check input parameters.
401 Authentication failed. Missing required parameter : {parameter name}.
401 Signature expired. Either the timestamp or the nonce have expired or are invalid.
 
cix.api/forum.topics.get.txt · Last modified: 2008/10/14 14:44 by charlie
 
Except where otherwise noted, content on this wiki is licensed under the following license:Public Domain
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Debian Driven by DokuWiki