Sign in or 

| HTTP Method | URI | Returns |
| POST | /CellService/editCell.do | The edited cell. |
Overview: Updates the content of a cell. If the specified cell does not exist, then it is created. (NOTE: Currently, creating a cell through this call is the only way to specify a custom creation date.) | ||
| Required Parameters: key The developer key. This value is provided by Wetpaint during initial developer registrationns The content namespace. This value is provided by Wetpaint during initial developer registrationticket The ticket assigned to the current logged-in usercell.cellId The name of the cell to be editedcell.displayName The display name of the cellcell.url The cell’s URLcell.currentRevision.version The version of the cell being edited. If the cell is being created, then the currentRevision.version should be set to 0.revision.content The new HTML content Optional Parameters: revision.editNote Edit noterevision.date Desired date and time for new revision in ISO8601 format, e.g. 2008-12-31T23:59:59-08:00. This parameter is currently only used when editing the first revision of a cell. | ||
Example Request ( required parameters in red ):http://wapi.wetpaint.com/CellService/editCell.do | ||
Example Response:<?xml version="1.0" encoding="UTF-8"?> | ||
|
boe_wetpaint |
Latest page update: made by boe_wetpaint
, Mar 9 2009, 2:42 PM EDT
(about this update
About This Update
15 words added 1 word deleted view changes - complete history) |
|
Keyword tags:
None
More Info: links to this page
|
| Started By | Thread Subject | Replies | Last Post | ||
|---|---|---|---|---|---|
| wishpot | Default Revision | 2 | Nov 20 2008, 7:22 PM EST by bennyflint | ||
|
Thread started: Nov 18 2008, 8:44 PM EST
Watch
If you edit a non-existent cell, it creates the cell for you. If I do this, what should I set cell.currentRevision.version to? Zero... one... something else? (It's listed as required)
I prefer the editCell function to createCell because I'd like to be able to create and initialize a cell with one call. |
|||||