diff options
author | Ludovic Ferrandis <ludovic.ferrandis@intel.com> | 2013-03-20 16:38:53 +0100 |
---|---|---|
committer | Mark Ryan <mark.d.ryan@intel.com> | 2013-05-16 11:58:53 +0200 |
commit | d5ce99e734b9ad5ecf3f155be2bb72178870bd74 (patch) | |
tree | 516be6c8691e09b04aa06468caaa6965178b1e94 /doc | |
parent | 8adb58d6e787482fa57beb1b28f5542270d40781 (diff) | |
download | dleyna-server-d5ce99e734b9ad5ecf3f155be2bb72178870bd74.tar.gz |
[API] Add CreateReference method to org.gnome.MediaContainer2
Fix https://github.com/01org/dleyna-server/issues/7
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/server/dbus/API.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/server/dbus/API.txt b/doc/server/dbus/API.txt index 7a3b770..7dcafc8 100644 --- a/doc/server/dbus/API.txt +++ b/doc/server/dbus/API.txt @@ -587,7 +587,7 @@ in Resources/Additional properties. New Methods: ------------ -Seven new methods have been added. These methods are: +Eight new methods have been added. These methods are: ListChildrenEx(u Offset, u Max, as Filter, s SortBy) -> aa{sv} @@ -601,6 +601,8 @@ Upload(s DisplayName, s FilePath) -> (u UploadId, o ObjectPath) CreateContainer(s DisplayName, s Type, as ChildTypes) -> o ObjectPath +CreateReference(o ObjectPath) -> o ObjectPath + GetCompatibleResources(s protocol_info, as filter) -> a{sv} The first four methods are identical in function and behaviour to @@ -672,6 +674,10 @@ A special value of ['*'] indicates that no restriction is placed on the types of objects that can be stored in the container. The path of the newly created object is returned. +The CreateReference method creates a reference in the container to the object +identified by the ObjectPath parameter. This method returns the d-Bus path of +the newly created reference. + The GetCompatibleResources method: see description in MediaItem2. Recommended Usage: |