mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Fix external API sample
This commit is contained in:
parent
061d504dcb
commit
91f51eef5e
3
.gitignore
vendored
3
.gitignore
vendored
@ -8,3 +8,6 @@
|
||||
*~
|
||||
*.sav
|
||||
*.backup
|
||||
|
||||
# Exclude NetBeans project
|
||||
/nbproject/*
|
||||
@ -25,9 +25,9 @@ Methods are registered inside the :file:`appinfo/routes.php` using :php:class:`O
|
||||
'/apps/yourapp/url',
|
||||
function($urlParameters) {
|
||||
return new \OC_OCS_Result($data);
|
||||
}
|
||||
},
|
||||
'yourapp',
|
||||
OC_API::ADMIN_AUTH
|
||||
\OC_API::ADMIN_AUTH
|
||||
);
|
||||
|
||||
Returning Data
|
||||
|
||||
Loading…
Reference in New Issue
Block a user