mirror of
				https://github.com/ether/etherpad-lite.git
				synced 2025-10-31 16:21:11 +01:00 
			
		
		
		
	add some documentation for move/copy
This commit is contained in:
		
							parent
							
								
									571ef15f62
								
							
						
					
					
						commit
						5409cdaa3f
					
				| @ -425,6 +425,24 @@ returns the list of users that are currently editing this pad | ||||
| 
 | ||||
| deletes a pad | ||||
| 
 | ||||
| *Example returns:* | ||||
|   * `{code: 0, message:"ok", data: null}` | ||||
|   * `{code: 1, message:"padID does not exist", data: null}` | ||||
| 
 | ||||
| #### copyPad(sourceID, destinationID[, force=false]) | ||||
|  * API >= 1.2.8 | ||||
| 
 | ||||
| copies a pad with full history and chat. If force is true and the destination pad exists, it will be overwritten. | ||||
| 
 | ||||
| *Example returns:* | ||||
|   * `{code: 0, message:"ok", data: null}` | ||||
|   * `{code: 1, message:"padID does not exist", data: null}` | ||||
| 
 | ||||
| #### movePad(sourceID, destinationID[, force=false]) | ||||
|  * API >= 1.2.8 | ||||
| 
 | ||||
| moves a pad. If force is true and the destination pad exists, it will be overwritten. | ||||
| 
 | ||||
| *Example returns:* | ||||
|   * `{code: 0, message:"ok", data: null}` | ||||
|   * `{code: 1, message:"padID does not exist", data: null}` | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user