CellService.getCell |

Version 37 - view current page



HTTP MethodURIReturns
GET/CellService/getCell.doA cell, including cell metadata, the cell's current revision, and its tags.

Overview:Retrieves the current revision of a cell. This call returns user-generated HTML content, details about the last edit, and tags. The default output of this call returns HTML suitable for a server-side include.
Common Parameters
plus...


Required Parameters:

cell.cellId
The cell to fetch.
Optional Parameters:
cell.templateId
If specified and the cell has no content, the response will include the content of the specified template.
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; otherwise, it should be treated as required.
cell.url
As cell.displayName, the default cell URL to return if the specified cell does not exist.
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/getCell.do
?key=yourissueddeveloperkey
&ns=yourassignednamespace
&cell.cellId=someCell