Skip to content

Commit acbaae2

Browse files
committed
Add peerID value to startMultipeerReplicator return
This makes it easier to figure out which test server is running which peer.
1 parent e1b78b9 commit acbaae2

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

spec/api/api.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ info:
4646
```
4747
4848
Changes
49+
2.0.2 (07/24/2025)
50+
* Add peer ID property to return value of [/startMultipeerReplicator](#operation/startMultipeerReplicator)
51+
4952
2.0.1 (07/10/2025)
5053
* Add Merge-Dict Conflict Resolver
5154
@@ -142,7 +145,7 @@ info:
142145
* Changed DocumentReplication.flags type from int to array of enums.
143146
* Added 'enableDocumentListener' to ReplicatorConfiguration.
144147
* Added a note that any enum values are case insensitive.
145-
version: 1.2.1
148+
version: 2.0.2
146149
tags:
147150
- name: API
148151
description: The API endpoints of the test server
@@ -882,7 +885,7 @@ paths:
882885
content:
883886
application/json:
884887
schema:
885-
$ref: '#/components/schemas/Replicator'
888+
$ref: '#/components/schemas/MultipeerReplicator'
886889
'400':
887890
$ref: '#/components/responses/Error'
888891
'404':
@@ -1274,6 +1277,18 @@ components:
12741277
$ref: '#/components/schemas/DocumentReplication'
12751278
error:
12761279
$ref: '#/components/schemas/Error'
1280+
MultipeerReplicator:
1281+
type: object
1282+
required: ['id', "peerID"]
1283+
properties:
1284+
id:
1285+
type: string
1286+
format: uuid
1287+
example: '123e4567-e89b-12d3-a456-426614174000'
1288+
peerID:
1289+
type: string
1290+
format: base64
1291+
example: 'scGCZGP6yPiMsbEn+kXk725S2RoSUeN662CJL+cQDpw='
12771292
MultipeerReplicatorStatus:
12781293
type: object
12791294
required: ['replicators']

0 commit comments

Comments
 (0)