[Pkg-owncloud-commits] [owncloud-doc] 72/95: Add new method to Read shared items of a path
David Prévot
taffit at moszumanska.debian.org
Fri Apr 18 21:41:44 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud-doc.
commit 5084e61b6c1bb33c32e478647e779bca17a84250
Author: ggdiez <ggonzalez at solidgear.es>
Date: Tue Mar 25 11:30:55 2014 +0100
Add new method to Read shared items of a path
---
developer_manual/ios_library/examples.rst | 25 +++++++++++++++++++++++--
1 file changed, 23 insertions(+), 2 deletions(-)
diff --git a/developer_manual/ios_library/examples.rst b/developer_manual/ios_library/examples.rst
index ac0ea24..2b8b7fb 100644
--- a/developer_manual/ios_library/examples.rst
+++ b/developer_manual/ios_library/examples.rst
@@ -415,8 +415,8 @@ Code Example
}];
-Read shared items by link
--------------------------
+Read shared all items by link
+-----------------------------
Get information about what files and folder are shared by link.
@@ -439,6 +439,27 @@ Code example
}];
+Read shared items by link of a path
+------------------------------------
+
+Get information about what files and folder are shared by link in a specific path.
+
+The info needed is the server URL that you want to check and the specific path tha you want to check.
+
+Code example
+~~~~~~~~~~~~
+
+.. code-block:: objective-c
+
+ [[AppDelegate sharedOCCommunication] readSharedByServer:serverPath andPath:path onCommunication:[AppDelegate sharedOCCommunication] successRequest:^(NSHTTPURLResponse *response, NSArray *items, NSString *redirectedServer) {
+ NSLog ( @"Item: %d" , items);
+
+
+ } failureRequest:^(NSHTTPURLResponse *response, NSError *error) {
+ NSLog ( @"error: %@" , error);
+ NSLog ( @"Operation error: %d" , response.statusCode);
+ }];
+
Share link of file or folder
----------------------------
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git
More information about the Pkg-owncloud-commits
mailing list