|
46 | 46 | ``` |
47 | 47 |
|
48 | 48 | Changes |
| 49 | + 2.0.2 (07/24/2025) |
| 50 | + * Add peer ID property to return value of [/startMultipeerReplicator](#operation/startMultipeerReplicator) |
| 51 | +
|
49 | 52 | 2.0.1 (07/10/2025) |
50 | 53 | * Add Merge-Dict Conflict Resolver |
51 | 54 |
|
|
54 | 57 | * deprecate dataset_version |
55 | 58 | * In ResetConfiguration, change the value for the "dataset" key to a url. |
56 | 59 |
|
| 60 | + 1.2.2 (09/19/2025) |
| 61 | + * Add headers property to ReplicatorConfiguration |
| 62 | +
|
57 | 63 | 1.2.1 (06/04/2025) |
58 | 64 | * Add authenticator property to [/startMultipeerReplicator](#operation/startMultipeerReplicator) |
59 | 65 |
|
@@ -142,7 +148,7 @@ info: |
142 | 148 | * Changed DocumentReplication.flags type from int to array of enums. |
143 | 149 | * Added 'enableDocumentListener' to ReplicatorConfiguration. |
144 | 150 | * Added a note that any enum values are case insensitive. |
145 | | - version: 1.2.1 |
| 151 | + version: 2.0.2 |
146 | 152 | tags: |
147 | 153 | - name: API |
148 | 154 | description: The API endpoints of the test server |
@@ -882,7 +888,7 @@ paths: |
882 | 888 | content: |
883 | 889 | application/json: |
884 | 890 | schema: |
885 | | - $ref: '#/components/schemas/Replicator' |
| 891 | + $ref: '#/components/schemas/MultipeerReplicator' |
886 | 892 | '400': |
887 | 893 | $ref: '#/components/responses/Error' |
888 | 894 | '404': |
@@ -1177,6 +1183,12 @@ components: |
1177 | 1183 | description: The default is true. |
1178 | 1184 | type: boolean |
1179 | 1185 | example: false |
| 1186 | + headers: |
| 1187 | + description: HTTP headers to add to the request to the remote server. |
| 1188 | + type: object |
| 1189 | + additionalProperties: |
| 1190 | + type: string |
| 1191 | + example: {'header1': 'value1', 'header2': 'value2'} |
1180 | 1192 | pinnedServerCert: |
1181 | 1193 | description: The PEM representation of the TLS certificate that the remote is using |
1182 | 1194 | type: string |
@@ -1273,6 +1285,18 @@ components: |
1273 | 1285 | $ref: '#/components/schemas/DocumentReplication' |
1274 | 1286 | error: |
1275 | 1287 | $ref: '#/components/schemas/Error' |
| 1288 | + MultipeerReplicator: |
| 1289 | + type: object |
| 1290 | + required: ['id', "peerID"] |
| 1291 | + properties: |
| 1292 | + id: |
| 1293 | + type: string |
| 1294 | + format: uuid |
| 1295 | + example: '123e4567-e89b-12d3-a456-426614174000' |
| 1296 | + peerID: |
| 1297 | + type: string |
| 1298 | + format: base64 |
| 1299 | + example: 'scGCZGP6yPiMsbEn+kXk725S2RoSUeN662CJL+cQDpw=' |
1276 | 1300 | MultipeerReplicatorStatus: |
1277 | 1301 | type: object |
1278 | 1302 | required: ['replicators'] |
|
0 commit comments