2 "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
3 "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
6 Copyright (C) 2015 Red Hat, Inc.
8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Lesser General Public
10 License as published by the Free Software Foundation; either
11 version 2 of the License, or (at your option) any later version.
13 This library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Lesser General Public License for more details.
18 You should have received a copy of the GNU Lesser General Public License
19 along with this library; if not, see <http://www.gnu.org/licenses/>.
21 Author: Alexander Larsson <alexl@redhat.com>
24 <node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
25 <interface name='org.freedesktop.portal.Documents'>
26 <method name="GetMountPoint">
27 <arg type='ay' name='path' direction='out'/>
30 <arg type='h' name='o_path_fd' direction='in'/>
31 <arg type='b' name='reuse_existing' direction='in'/>
32 <arg type='b' name='persistent' direction='in'/>
33 <arg type='s' name='doc_id' direction='out'/>
35 <method name="AddNamed">
36 <arg type='h' name='o_path_parent_fd' direction='in'/>
37 <arg type='ay' name='filename' direction='in'/>
38 <arg type='b' name='reuse_existing' direction='in'/>
39 <arg type='b' name='persistent' direction='in'/>
40 <arg type='s' name='doc_id' direction='out'/>
42 <method name="GrantPermissions">
43 <arg type='s' name='doc_id' direction='in'/>
44 <arg type='s' name='app_id' direction='in'/>
45 <arg type='as' name='permissions' direction='in'/>
47 <method name="RevokePermissions">
48 <arg type='s' name='doc_id' direction='in'/>
49 <arg type='s' name='app_id' direction='in'/>
50 <arg type='as' name='permissions' direction='in'/>
52 <method name="Delete">
53 <arg type='s' name='doc_id' direction='in'/>
55 <method name="Lookup">
56 <arg type='ay' name='filename' direction='in'/>
57 <arg type='s' name='doc_id' direction='out'/>
60 <arg type='s' name='doc_id' direction='in'/>
61 <arg type='ay' name='path' direction='out'/>
62 <arg type='a{sas}' name='apps' direction='out'/>
65 <arg type='s' name='app_id' direction='in'/>
66 <arg type='a{say}' name='docs' direction='out'/>