From 5860116d84bf7d0367047a7e4290f39ce2f295ba Mon Sep 17 00:00:00 2001 From: Robin Appelman <robin@icewind.nl> Date: Thu, 16 Dec 2021 15:45:17 +0100 Subject: [PATCH] document receiving updated fileids Signed-off-by: Robin Appelman <robin@icewind.nl> --- DEVELOPING.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DEVELOPING.md b/DEVELOPING.md index 4250a19..ac3629b 100644 --- a/DEVELOPING.md +++ b/DEVELOPING.md @@ -36,6 +36,10 @@ Desktop and other clients that don't run in the Nextcloud web interface can use - "notify_activity" when a new activity item for a user is created (note, due to workings of the activity app, file related activity doesn't trigger this notification) - "notify_notification" when a notification is created, processed or dismissed for a user +- Starting with version 0.4 you can opt into receiving the changed file ids for file update notifications by sending `listen notify_file_id` over the websocket. + Once enabled, the server will send "notify_file_id" followed by a json encoded array of file ids if the push server knows + the ids of the changed files. + In cases where there push server doesn't know which files have changed, it will send the regular "notify_file" message. ### Example -- GitLab