Forum.Moderators.get

Description

Returns a list of the forum moderators. Requires OAuth authentification.

Method

GET

Endpoint

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

Parameters

Required Name Type Description
required forum string Name of the forum to get a moderator list 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

<ForumMods xmlns="http://cixonline.com" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> 
  <Count>2</Count> 
  <Mods> 
    <Mod> 
      <Name>charlie</Name> 
    </Mod>
    <Mod> 
      <Name>mat</Name> 
    </Mod>  
  </Mods> 
  <Start>0</Start> 
</ForumMods>

Example Return JSON

{
  "Count":2,
  "Mods":[
    {"Name":"charlie"},
    {"Name":"mat"}
  ],
  "Start":0
}

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.moderators.get.txt · Last modified: 2008/10/14 14:42 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