-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rest, events: Add "remoteState" to FolderCompletion, add ClusterConfi…
…gReceived (#736) * rest, events: Add "accepted" boolean to FolderCompletion. * Clarify that "accepted" is meaningless for disconnected remotes. * rest, events: Switch to remoteState attribute, add new event. Dump the "accepted" boolean in favor of the now implemented "remoteState" enumeration. Document the new ClusterConfigReceived event type. * Explicitly mention unknown and valid states.
- Loading branch information
Showing
3 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
ClusterConfigReceived | ||
--------------------- | ||
|
||
.. versionadded:: 1.20.0 | ||
|
||
The ``ClusterConfigReceived`` event is emitted after processing such a protocol | ||
message received from a remote device. It is mainly used for internal purposes. | ||
|
||
.. code-block:: json | ||
{ | ||
"id": 84, | ||
"globalID": 84, | ||
"type": "ClusterConfigReceived", | ||
"time": "2022-04-27T14:14:27.043576583+09:00", | ||
"data": { | ||
"device": "I6KAH76-66SLLLB-5PFXSOA-UFJCDZC-YAOMLEK-CP2GB32-BV5RQST-3PSROAU" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters