Version User Scope of changes
Nov 25 2008, 2:09 PM EST (current) jana_wetpaint 2 words added, 3 words deleted
Nov 25 2008, 2:08 PM EST jana_wetpaint 23 words added, 3 words deleted

Changes

Key:  Additions   Deletions

HTTP MethodURIReturns
GET/CellService/getCellContent.doA cell's current content.

Overview
:Retrieves the current revision of a cell. This call returns user-generated HTML content only.content. The default output of this call returns HTML suitable for a server-side include. Note that without revision information, the htmlHTML output will not include links to view page history or last update information.
Common Parameters
plus...

Required Parameters (for all cells):

cell.cellId
The cell to fetch. This parameter must be between 1 and 100 characters long (inclusive).

Required Parameters (for cells that do not exist):

cell.displayName
The default cell display name to return if the cell specified by cell.cellId does not currently exist.If the cell exists, this parameter is ignored. This parameter may safely be ignored if all cells are being explicitly created. Length <= 100 characters.
cell.url
As cell.displayName, the default cell URL to return if the specified cell does not exist.If the cell exists, this parameter is ignored. This parameter may safely be ignored if all cells are being explicitly created. Length <= 1000 characters.

Optional Parameters:
cell.templateId
If specified and the cell has no content, the response will include the content of the specified template.
cell.currentRevision.version
If specified and the cell is currently at this version, the response will include no cell content.


Example Request ( required parameters in red ):

http://wapi.wetpaint.com/CellService/getCellContent.do
?key=your_developer_key
&ns=your_namespace
&cell.cellId=some_cell_id
&cell.displayName=Some+Cell
&cell.url=http%3A%2F%2Fwww.your_host.com%2Fsome_cell_url
&cell.templateId=some_template_id
&cell.currentRevision.version=some_cell_currentRevision_version
&output=api