CellService.editCellUrlThis is a featured page


HTTP MethodReturns
POSTThe cell whose url has been updated

Overview:Updates the url of a cell.
Common Parameters
plus...


Required Parameters:
output
Currently only api output is supported for this call.

cell.cellId
The cell to edit.

cell.url
The cell's new url.


Example Request ( required parameters in red ):

http://wapi.wetpaint.com/CellService/editCellUrl.do
?key=yourissueddeveloperkey
&ns=yourassignednamespace
&cell.cellId=Real+Fame
&cell.url=http://foo.bar/myCell
&output=api

Example Response
  • requested cell's element = red
  • requested cell's children = blue
  • requested cell's siblings = orange
  • requested cell's ancestors up to root cell = purple

<response>
<cell>
<cellId>All About LeBron James</cellId>
<children total="7">
<cell>
<cellId>LeBron Bio</cellId>
<children total="3">
<cell>
<cellId>Real Fame</cellId>
<children total="3">
<cell>
<cellId>Blowing Up</cellId>
<children total="0" />
</cell>
<cell>
<cellId>Big Time</cellId>
<children total="2" />
</cell>
<cell>
<cellId>Fifteen Minutes</cellId>
<children total="1" />
</cell>
</children>
</cell>
<cell>
<cellId>Fan Q & A</cellId>
<children total="3" />
</cell>
<cell>
<cellId>Photo Gallery</cellId>
<children total="0" />
</cell>
</children>
</cell>
</children>
</cell>
</response>






boe_wetpaint
boe_wetpaint
Latest page update: made by boe_wetpaint , Feb 10 2009, 1:05 PM EST (about this update About This Update boe_wetpaint Modified example request - boe_wetpaint

1 word added
1 word deleted

view changes

- complete history)
Keyword tags: None
More Info: links to this page
Started By Thread Subject Replies Last Post
rmdnewspaper error? 1 Feb 10 2009, 1:05 PM EST by boe_wetpaint
Thread started: Feb 9 2009, 5:22 AM EST  Watch
The example request here says http://wapi.wetpaint.com/CellService/getCellChildren.do when it should say http://wapi.wetpaint.com/CellService/editCellUrl
Do you find this valuable?    
Keyword tags: None
Show Last Reply
Showing 1 of 1 threads for this page