feat(directediting): Allow opening by file id#36727
Conversation
6ff560a to
6abf5d3
Compare
|
@juliushaertl any possibility to add a capability indicating whether this change is available? Otherwise I'll just check if server version >= 26 |
6abf5d3 to
7ff5b5a
Compare
|
Maybe add a test? |
Signed-off-by: Julius Härtl <jus@bitgrid.net>
7ff5b5a to
614981a
Compare
|
Pushed two further cases to cover the open method with and without a file id. |
|
Failure unrelated. |
|
@juliushaertl thanks |
|
@juliushaertl I have tested it, example: https://cloud.nextcloud.com/ocs/v2.php/apps/files/api/v1/directEditing/open?fileId=7155303&editorId=text |
You need to also provide |

Summary
Make sure that it is easy for the notes iOS/Android apps to open files by just knowing the file id. For cases where multiple files with the id are found we prefer the one with update permissions over others.
Checklist