diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-06-16 15:00:25 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-06-16 15:04:28 -0400 |
commit | 8bada3a8197c3377072a19040c7fdfed711f9c32 (patch) | |
tree | d449c9609785927f60e1d52a8d55c20f51080593 /data/org.freedesktop.portal.Documents.xml | |
parent | 04d444782c3cb5c2ae2a62f7e90c792dbbc7cd89 (diff) | |
download | flatpak-8bada3a8197c3377072a19040c7fdfed711f9c32.tar.gz |
document portal: Add a more api
We want to let the flatpak command show more information.
These functions will not be allowed from inside the sandbox
to prevent leaking information to sandboxed applications.
Lookup: go from a file (handed in via an fd) to a document id
Info: return origin and permissions for an id
List: return information about all exported documents
Diffstat (limited to 'data/org.freedesktop.portal.Documents.xml')
-rw-r--r-- | data/org.freedesktop.portal.Documents.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/data/org.freedesktop.portal.Documents.xml b/data/org.freedesktop.portal.Documents.xml index 2b65b4e2..c466c527 100644 --- a/data/org.freedesktop.portal.Documents.xml +++ b/data/org.freedesktop.portal.Documents.xml @@ -54,5 +54,18 @@ <method name="Delete"> <arg type='s' name='doc_id' direction='in'/> </method> + <method name="Lookup"> + <arg type='ay' name='filename' direction='in'/> + <arg type='s' name='doc_id' direction='out'/> + </method> + <method name="Info"> + <arg type='s' name='doc_id' direction='in'/> + <arg type='ay' name='path' direction='out'/> + <arg type='a{sas}' name='apps' direction='out'/> + </method> + <method name="List"> + <arg type='s' name='app_id' direction='in'/> + <arg type='a{say}' name='docs' direction='out'/> + </method> </interface> </node> |