CellService.getCellContentThis is a featured page

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. The default output of this call returns HTML suitable for a server-side include. Note that without revision information, the HTML 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







jana_wetpaint
jana_wetpaint
Latest page update: made by jana_wetpaint , Nov 25 2008, 2:09 PM EST (about this update About This Update jana_wetpaint Edited by jana_wetpaint

2 words added
3 words deleted

view changes

- complete history)
More Info: links to this page
There are no threads for this page.  Be the first to start a new thread.

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)