| 
									
										
										
										
											2013-08-07 21:14:36 +03:00
										 |  |  | <?php | 
					
						
							| 
									
										
										
										
											2013-08-08 00:22:21 +03:00
										 |  |  | /** | 
					
						
							| 
									
										
										
										
											2015-12-16 17:57:44 +03:00
										 |  |  |  * ownCloud - Richdocuments App | 
					
						
							| 
									
										
										
										
											2013-08-08 00:22:21 +03:00
										 |  |  |  * | 
					
						
							|  |  |  |  * @author Victor Dubiniuk | 
					
						
							| 
									
										
										
										
											2014-10-23 23:08:55 +03:00
										 |  |  |  * @copyright 2013-2014 Victor Dubiniuk victor.dubiniuk@gmail.com | 
					
						
							| 
									
										
										
										
											2013-08-08 00:22:21 +03:00
										 |  |  |  * | 
					
						
							|  |  |  |  * This file is licensed under the Affero General Public License version 3 or | 
					
						
							|  |  |  |  * later. | 
					
						
							|  |  |  |  */ | 
					
						
							| 
									
										
										
										
											2013-08-07 21:14:36 +03:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-12-06 21:09:40 +01:00
										 |  |  | namespace OCA\Richdocuments\AppInfo; | 
					
						
							| 
									
										
										
										
											2014-10-23 23:08:55 +03:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-12-06 21:09:40 +01:00
										 |  |  | return [ | 
					
						
							| 
									
										
										
										
											2015-08-26 19:09:34 +03:00
										 |  |  | 	'routes' => [ | 
					
						
							| 
									
										
										
										
											2014-10-23 23:08:55 +03:00
										 |  |  | 		//documents
 | 
					
						
							| 
									
										
										
										
											2015-08-26 19:09:34 +03:00
										 |  |  | 		['name' => 'document#index', 'url' => 'index', 'verb' => 'GET'], | 
					
						
							| 
									
										
										
										
											2016-12-07 00:57:01 +01:00
										 |  |  | 		['name' => 'document#publicPage', 'url' => '/public', 'verb' => 'GET'], | 
					
						
							| 
									
										
										
										
											2015-08-26 19:09:34 +03:00
										 |  |  | 		['name' => 'document#create', 'url' => 'ajax/documents/create', 'verb' => 'POST'], | 
					
						
							| 
									
										
										
										
											2016-12-06 21:09:40 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		// WOPI access
 | 
					
						
							|  |  |  | 		['name' => 'wopi#checkFileInfo', 'url' => 'wopi/files/{fileId}', 'verb' => 'GET'], | 
					
						
							|  |  |  | 		['name' => 'wopi#getFile', 'url' => 'wopi/files/{fileId}/contents', 'verb' => 'GET'], | 
					
						
							|  |  |  | 		['name' => 'wopi#putFile', 'url' => 'wopi/files/{fileId}/contents', 'verb' => 'POST'], | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-10-26 15:47:56 +03:00
										 |  |  | 		//settings
 | 
					
						
							| 
									
										
										
										
											2016-03-14 23:34:29 +01:00
										 |  |  | 		['name' => 'settings#setSettings', 'url' => 'ajax/admin.php', 'verb' => 'POST'], | 
					
						
							| 
									
										
										
										
											2015-08-26 19:09:34 +03:00
										 |  |  | 	] | 
					
						
							| 
									
										
										
										
											2016-12-06 21:09:40 +01:00
										 |  |  | ]; |