Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API for file details #4193

Closed
tobiasKaminsky opened this issue Apr 3, 2017 · 4 comments
Closed

API for file details #4193

tobiasKaminsky opened this issue Apr 3, 2017 · 4 comments

Comments

@tobiasKaminsky
Copy link
Member

For nextcloud/android#795 we need to have an API which accepts a fileID and returns informations of this file, specifically the remote path for the specific user.

Background: Android client currently does not store a file list so we do not know where a shared file is for a specific user.

@MorrisJobke
Copy link
Member

@rullzer
Copy link
Member

rullzer commented Apr 5, 2017

@icewind1991 can we somehow reuse the webdav search API for this?

@nickvergessen
Copy link
Member

Currently the file id can only be selected: {http://owncloud.org/ns}id

new SearchPropertyDefinition(FilesPlugin::FILEID_PROPERTYNAME, false, true, false, SearchPropertyDefinition::DATATYPE_NONNEGATIVE_INTEGER),

But the searchable flag is false.

@icewind1991
Copy link
Member

#4222 adds searching by fileid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants