CellService.getCellThis is a featured 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.
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.
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.

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.
cell.children.detail
If set, returns child cell details. Valid values are:
none - (default) Returns no child cell-level detail.
count - Returns count of child cells.
ref - Returns reference to child cells.
cell.threads.detail
If set, returns associated cell discussion threads. Valid values are:
none - (default) Returns no discussion thread-level detail.
count - Returns count of threads.
full - Returns full thread level detail.

Example Request ( required parameters in red ):

http://wapi.wetpaint.com/CellService/getCell.do
?key=yourissueddeveloperkey
&ns=yourassignednamespace
&cell.cellId=someCell







boe_wetpaint
boe_wetpaint
Latest page update: made by boe_wetpaint , Mar 5 2009, 2:14 PM EST (about this update About This Update boe_wetpaint Edited by boe_wetpaint

4 words deleted

view changes

- complete history)
Keyword tags: CellService
More Info: links to this page
Started By Thread Subject Replies Last Post
wishpot Date/Time format for last edited time 2 Nov 18 2008, 9:24 PM EST by wishpot
Thread started: Nov 15 2008, 10:43 PM EST  Watch
Is there a way to adjust the date format that comes back for the "last edited time" on a per-call basis? Our users (viewers) are going to be in different time zones.

In addition, is there a way we can force it to return the date without the time? That would at least be cache-able (unlike phrases such as "5 minutes ago") .

Thanks!
Do you find this valuable?    
Keyword tags: time timezone
Show Last Reply
cpatni Tags are not returned by this call 1 Jun 11 2008, 3:50 PM EDT by ryan_wetpaint
Thread started: Jun 10 2008, 9:55 PM EDT  Watch
Please see this live example using getCell.do call. Tags are not displayed. Can you provide ETA for fix?
http://pc.ign.com/wiki/735/735340.html
Do you find this valuable?    
Keyword tags: CellService
Show Last Reply
Showing 2 of 2 threads for this page

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.)