@sfxcode/nuxt-mongocamp-server 1.10.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -2
- package/dist/runtime/api/apis/AdminApi.d.ts +9 -9
- package/dist/runtime/api/apis/AdminApi.js +6 -6
- package/dist/runtime/api/apis/ApplicationApi.d.ts +6 -6
- package/dist/runtime/api/apis/ApplicationApi.js +4 -4
- package/dist/runtime/api/apis/AuthApi.d.ts +7 -7
- package/dist/runtime/api/apis/AuthApi.js +6 -6
- package/dist/runtime/api/apis/BucketApi.d.ts +7 -7
- package/dist/runtime/api/apis/BucketApi.js +6 -6
- package/dist/runtime/api/apis/CollectionApi.d.ts +69 -28
- package/dist/runtime/api/apis/CollectionApi.js +46 -21
- package/dist/runtime/api/apis/DatabaseApi.d.ts +5 -5
- package/dist/runtime/api/apis/DatabaseApi.js +4 -4
- package/dist/runtime/api/apis/DocumentApi.d.ts +141 -24
- package/dist/runtime/api/apis/DocumentApi.js +85 -12
- package/dist/runtime/api/apis/FileApi.d.ts +38 -6
- package/dist/runtime/api/apis/FileApi.js +24 -4
- package/dist/runtime/api/apis/IndexApi.d.ts +6 -6
- package/dist/runtime/api/apis/IndexApi.js +4 -4
- package/dist/runtime/api/apis/JobsApi.d.ts +5 -5
- package/dist/runtime/api/apis/JobsApi.js +4 -4
- package/dist/runtime/api/apis/SystemApi.d.ts +1 -1
- package/dist/runtime/api/docs/AdminApi.md +7 -7
- package/dist/runtime/api/docs/ApplicationApi.md +4 -4
- package/dist/runtime/api/docs/AuthApi.md +3 -3
- package/dist/runtime/api/docs/BucketApi.md +3 -3
- package/dist/runtime/api/docs/CollectionApi.md +48 -36
- package/dist/runtime/api/docs/DatabaseApi.md +2 -2
- package/dist/runtime/api/docs/DocumentApi.md +64 -28
- package/dist/runtime/api/docs/FileApi.md +20 -8
- package/dist/runtime/api/docs/IndexApi.md +4 -4
- package/dist/runtime/api/docs/JobsApi.md +2 -2
- package/dist/runtime/api/models/BucketInformation.d.ts +1 -1
- package/dist/runtime/api/models/Capabilities.d.ts +1 -1
- package/dist/runtime/api/models/CapabilityLimits.d.ts +1 -1
- package/dist/runtime/api/models/ClusterInformation.d.ts +1 -1
- package/dist/runtime/api/models/ClusterMemberInformation.d.ts +7 -4
- package/dist/runtime/api/models/CollectionCollation.d.ts +1 -1
- package/dist/runtime/api/models/CollectionOptions.d.ts +1 -1
- package/dist/runtime/api/models/CollectionPermission.d.ts +1 -1
- package/dist/runtime/api/models/CollectionStatus.d.ts +1 -1
- package/dist/runtime/api/models/CollectionSummary.d.ts +1 -1
- package/dist/runtime/api/models/ConnectionStats.d.ts +1 -1
- package/dist/runtime/api/models/CopyRequest.d.ts +1 -1
- package/dist/runtime/api/models/CopyResponse.d.ts +1 -1
- package/dist/runtime/api/models/CountResponse.d.ts +1 -1
- package/dist/runtime/api/models/CreateCollectionResponse.d.ts +1 -1
- package/dist/runtime/api/models/DatabaseInfo.d.ts +1 -1
- package/dist/runtime/api/models/DeleteResponse.d.ts +1 -1
- package/dist/runtime/api/models/ErrorDescription.d.ts +1 -1
- package/dist/runtime/api/models/FieldInfo.d.ts +1 -1
- package/dist/runtime/api/models/FieldTypeCount.d.ts +1 -1
- package/dist/runtime/api/models/FileInformation.d.ts +1 -1
- package/dist/runtime/api/models/Grant.d.ts +1 -1
- package/dist/runtime/api/models/ImportResponse.d.ts +1 -1
- package/dist/runtime/api/models/IndexCreateRequest.d.ts +1 -1
- package/dist/runtime/api/models/IndexCreateResponse.d.ts +1 -1
- package/dist/runtime/api/models/IndexDropResponse.d.ts +1 -1
- package/dist/runtime/api/models/IndexInfo.d.ts +1 -1
- package/dist/runtime/api/models/IndexKey.d.ts +1 -1
- package/dist/runtime/api/models/IndexOptionsRequest.d.ts +3 -2
- package/dist/runtime/api/models/IndexUsage.d.ts +1 -1
- package/dist/runtime/api/models/InsertError.d.ts +1 -1
- package/dist/runtime/api/models/InsertResponse.d.ts +1 -1
- package/dist/runtime/api/models/JobConfig.d.ts +1 -1
- package/dist/runtime/api/models/JobInformation.d.ts +1 -1
- package/dist/runtime/api/models/JsonSchema.d.ts +1 -1
- package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +1 -1
- package/dist/runtime/api/models/JsonValueAny.d.ts +1 -1
- package/dist/runtime/api/models/JsonValueBoolean.d.ts +1 -1
- package/dist/runtime/api/models/JsonValueString.d.ts +1 -1
- package/dist/runtime/api/models/Login.d.ts +1 -1
- package/dist/runtime/api/models/LoginResult.d.ts +1 -1
- package/dist/runtime/api/models/MongoAggregateRequest.d.ts +1 -1
- package/dist/runtime/api/models/MongoCampConfiguration.d.ts +1 -1
- package/dist/runtime/api/models/MongoFindRequest.d.ts +1 -1
- package/dist/runtime/api/models/MongoIndex.d.ts +1 -1
- package/dist/runtime/api/models/OpCounters.d.ts +1 -1
- package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -1
- package/dist/runtime/api/models/PipelineStage.d.ts +1 -1
- package/dist/runtime/api/models/RenameRequest.d.ts +1 -1
- package/dist/runtime/api/models/RenameResponse.d.ts +1 -1
- package/dist/runtime/api/models/ReplicaSetState.d.ts +1 -1
- package/dist/runtime/api/models/Role.d.ts +1 -1
- package/dist/runtime/api/models/SchemaAnalysis.d.ts +1 -1
- package/dist/runtime/api/models/SchemaAnalysisField.d.ts +1 -1
- package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +1 -1
- package/dist/runtime/api/models/SearchRequest.d.ts +1 -1
- package/dist/runtime/api/models/SettingsResponse.d.ts +5 -3
- package/dist/runtime/api/models/SystemInfo.d.ts +1 -1
- package/dist/runtime/api/models/SystemStats.d.ts +1 -1
- package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +1 -1
- package/dist/runtime/api/models/UpdateRequest.d.ts +1 -1
- package/dist/runtime/api/models/UpdateResponse.d.ts +1 -1
- package/dist/runtime/api/models/UpdateRoleRequest.d.ts +1 -1
- package/dist/runtime/api/models/UserInformation.d.ts +1 -1
- package/dist/runtime/api/models/UserProfile.d.ts +1 -1
- package/dist/runtime/api/models/Version.d.ts +1 -1
- package/dist/runtime/api/runtime.d.ts +1 -1
- package/dist/runtime/composables/mongocampSearch.d.ts +3 -1
- package/dist/runtime/composables/mongocampSearch.js +3 -3
- package/dist/runtime/utils/extendedJson.d.ts +12 -0
- package/dist/runtime/utils/extendedJson.js +60 -0
- package/package.json +4 -2
|
@@ -27,7 +27,7 @@ All URIs are relative to *http://localhost*
|
|
|
27
27
|
|
|
28
28
|
Delete Document from Collection
|
|
29
29
|
|
|
30
|
-
Delete one Document from given Collection
|
|
30
|
+
Delete one Document from given Collection. 404 for a document that does not exist (2.0.0).
|
|
31
31
|
|
|
32
32
|
### Example
|
|
33
33
|
|
|
@@ -103,7 +103,7 @@ example().catch(console.error);
|
|
|
103
103
|
|
|
104
104
|
## countDocuments
|
|
105
105
|
|
|
106
|
-
> CountResponse countDocuments(collectionName, filter)
|
|
106
|
+
> CountResponse countDocuments(collectionName, filter, filterCaseInsensitive)
|
|
107
107
|
|
|
108
108
|
Count Documents in Collection
|
|
109
109
|
|
|
@@ -136,6 +136,8 @@ async function example() {
|
|
|
136
136
|
collectionName: collectionName_example,
|
|
137
137
|
// string | Filter Query like on the list of documents, by default all documents are counted (optional)
|
|
138
138
|
filter: filter_example,
|
|
139
|
+
// boolean | true: wildcards and prefixes of the Lucene filter ignore the case (the behaviour before 2.0.0). By default they are case-sensitive, so an index on the field serves a prefix like name:abc* (optional)
|
|
140
|
+
filterCaseInsensitive: false,
|
|
139
141
|
} satisfies CountDocumentsRequest;
|
|
140
142
|
|
|
141
143
|
try {
|
|
@@ -157,6 +159,7 @@ example().catch(console.error);
|
|
|
157
159
|
|------------- | ------------- | ------------- | -------------|
|
|
158
160
|
| **collectionName** | `string` | The name of your MongoDb Collection | [Defaults to `undefined`] |
|
|
159
161
|
| **filter** | `string` | Filter Query like on the list of documents, by default all documents are counted | [Optional] [Defaults to `undefined`] |
|
|
162
|
+
| **filterCaseInsensitive** | `boolean` | true: wildcards and prefixes of the Lucene filter ignore the case (the behaviour before 2.0.0). By default they are case-sensitive, so an index on the field serves a prefix like name:abc* | [Optional] [Defaults to `false`] |
|
|
160
163
|
|
|
161
164
|
### Return type
|
|
162
165
|
|
|
@@ -183,11 +186,11 @@ example().catch(console.error);
|
|
|
183
186
|
|
|
184
187
|
## deleteMany
|
|
185
188
|
|
|
186
|
-
> DeleteResponse deleteMany(collectionName, requestBody, matchAll, filter)
|
|
189
|
+
> DeleteResponse deleteMany(collectionName, requestBody, matchAll, filter, filterCaseInsensitive)
|
|
187
190
|
|
|
188
191
|
Delete Many in Collection
|
|
189
192
|
|
|
190
|
-
Delete many
|
|
193
|
+
Delete many Documents in given Collection
|
|
191
194
|
|
|
192
195
|
### Example
|
|
193
196
|
|
|
@@ -220,6 +223,8 @@ async function example() {
|
|
|
220
223
|
matchAll: true,
|
|
221
224
|
// string | Filter Query like on the list of documents, as an alternative to the filter of the request body. Use only one of both. (optional)
|
|
222
225
|
filter: filter_example,
|
|
226
|
+
// boolean | true: wildcards and prefixes of the Lucene filter ignore the case (the behaviour before 2.0.0). By default they are case-sensitive, so an index on the field serves a prefix like name:abc* (optional)
|
|
227
|
+
filterCaseInsensitive: false,
|
|
223
228
|
} satisfies DeleteManyRequest;
|
|
224
229
|
|
|
225
230
|
try {
|
|
@@ -243,6 +248,7 @@ example().catch(console.error);
|
|
|
243
248
|
| **requestBody** | `{ [key: string]: any | null; }` | | |
|
|
244
249
|
| **matchAll** | `boolean` | Allow an empty filter, that matches all documents of the collection | [Optional] [Defaults to `false`] |
|
|
245
250
|
| **filter** | `string` | Filter Query like on the list of documents, as an alternative to the filter of the request body. Use only one of both. | [Optional] [Defaults to `undefined`] |
|
|
251
|
+
| **filterCaseInsensitive** | `boolean` | true: wildcards and prefixes of the Lucene filter ignore the case (the behaviour before 2.0.0). By default they are case-sensitive, so an index on the field serves a prefix like name:abc* | [Optional] [Defaults to `false`] |
|
|
246
252
|
|
|
247
253
|
### Return type
|
|
248
254
|
|
|
@@ -270,7 +276,7 @@ example().catch(console.error);
|
|
|
270
276
|
|
|
271
277
|
## exportDocuments
|
|
272
278
|
|
|
273
|
-
> string exportDocuments(collectionName, format, filter, sort, projection, limit, extendedJson)
|
|
279
|
+
> string exportDocuments(collectionName, format, filter, sort, projection, limit, extendedJson, filterCaseInsensitive)
|
|
274
280
|
|
|
275
281
|
Export Documents of a Collection
|
|
276
282
|
|
|
@@ -311,8 +317,10 @@ async function example() {
|
|
|
311
317
|
projection: ...,
|
|
312
318
|
// number | The greatest number of documents, by default all (optional)
|
|
313
319
|
limit: 56,
|
|
314
|
-
//
|
|
320
|
+
// 'relaxed' | 'canonical' | 'plain' | relaxed (default since 2.0.0) or canonical: the documents as MongoDB Extended JSON with the types of their values ({\"$oid\": ...}, {\"$date\": ...}, {\"$numberDecimal\": ...}; canonical also {\"$numberInt\": ...}, {\"$numberLong\": ...} and {\"$numberDouble\": ...}); a text that looks like a date is {\"$string\": ...}. plain: the format of 1.x (ids and dates as strings, every number as JSON number, no types). The default of a csv export is plain. (optional)
|
|
315
321
|
extendedJson: extendedJson_example,
|
|
322
|
+
// boolean | true: wildcards and prefixes of the Lucene filter ignore the case (the behaviour before 2.0.0). By default they are case-sensitive, so an index on the field serves a prefix like name:abc* (optional)
|
|
323
|
+
filterCaseInsensitive: false,
|
|
316
324
|
} satisfies ExportDocumentsRequest;
|
|
317
325
|
|
|
318
326
|
try {
|
|
@@ -338,7 +346,8 @@ example().catch(console.error);
|
|
|
338
346
|
| **sort** | `Array<string>` | Sorting like on the list of documents, a leading - sorts descending | [Optional] |
|
|
339
347
|
| **projection** | `Array<string>` | The fields to export, for csv they are the columns in this order | [Optional] |
|
|
340
348
|
| **limit** | `number` | The greatest number of documents, by default all | [Optional] [Defaults to `undefined`] |
|
|
341
|
-
| **extendedJson** | `
|
|
349
|
+
| **extendedJson** | `relaxed`, `canonical`, `plain` | relaxed (default since 2.0.0) or canonical: the documents as MongoDB Extended JSON with the types of their values ({\"$oid\": ...}, {\"$date\": ...}, {\"$numberDecimal\": ...}; canonical also {\"$numberInt\": ...}, {\"$numberLong\": ...} and {\"$numberDouble\": ...}); a text that looks like a date is {\"$string\": ...}. plain: the format of 1.x (ids and dates as strings, every number as JSON number, no types). The default of a csv export is plain. | [Optional] [Defaults to `'relaxed'`] [Enum: relaxed, canonical, plain] |
|
|
350
|
+
| **filterCaseInsensitive** | `boolean` | true: wildcards and prefixes of the Lucene filter ignore the case (the behaviour before 2.0.0). By default they are case-sensitive, so an index on the field serves a prefix like name:abc* | [Optional] [Defaults to `false`] |
|
|
342
351
|
|
|
343
352
|
### Return type
|
|
344
353
|
|
|
@@ -366,7 +375,7 @@ example().catch(console.error);
|
|
|
366
375
|
|
|
367
376
|
## find
|
|
368
377
|
|
|
369
|
-
> Array<{ [key: string]: any | null; }> find(collectionName, mongoFindRequest, rowsPerPage, page, extendedJson)
|
|
378
|
+
> Array<{ [key: string]: any | null; }> find(collectionName, mongoFindRequest, rowsPerPage, page, count, after, extendedJson)
|
|
370
379
|
|
|
371
380
|
Documents in Collection
|
|
372
381
|
|
|
@@ -403,7 +412,11 @@ async function example() {
|
|
|
403
412
|
rowsPerPage: 100,
|
|
404
413
|
// number | Requested page of the ResultSets (optional)
|
|
405
414
|
page: 1,
|
|
406
|
-
//
|
|
415
|
+
// 'exact' | 'none' | How the result is counted: exact (default) or none (no count headers, no count query) (optional)
|
|
416
|
+
count: exact,
|
|
417
|
+
// string | Cursor paging: the x-pagination-next value of the previous page, empty for the first page. The sort always ends with _id; cannot be combined with page (optional)
|
|
418
|
+
after: ,
|
|
419
|
+
// 'relaxed' | 'canonical' | 'plain' | relaxed (default since 2.0.0) or canonical: the documents as MongoDB Extended JSON with the types of their values ({\"$oid\": ...}, {\"$date\": ...}, {\"$numberDecimal\": ...}; canonical also {\"$numberInt\": ...}, {\"$numberLong\": ...} and {\"$numberDouble\": ...}); a text that looks like a date is {\"$string\": ...}. plain: the format of 1.x (ids and dates as strings, every number as JSON number, no types). (optional)
|
|
407
420
|
extendedJson: extendedJson_example,
|
|
408
421
|
} satisfies FindRequest;
|
|
409
422
|
|
|
@@ -428,7 +441,9 @@ example().catch(console.error);
|
|
|
428
441
|
| **mongoFindRequest** | [MongoFindRequest](MongoFindRequest.md) | | |
|
|
429
442
|
| **rowsPerPage** | `number` | Count elements per page | [Optional] [Defaults to `undefined`] |
|
|
430
443
|
| **page** | `number` | Requested page of the ResultSets | [Optional] [Defaults to `undefined`] |
|
|
431
|
-
| **
|
|
444
|
+
| **count** | `exact`, `none` | How the result is counted: exact (default) or none (no count headers, no count query) | [Optional] [Defaults to `'exact'`] [Enum: exact, none] |
|
|
445
|
+
| **after** | `string` | Cursor paging: the x-pagination-next value of the previous page, empty for the first page. The sort always ends with _id; cannot be combined with page | [Optional] [Defaults to `undefined`] |
|
|
446
|
+
| **extendedJson** | `relaxed`, `canonical`, `plain` | relaxed (default since 2.0.0) or canonical: the documents as MongoDB Extended JSON with the types of their values ({\"$oid\": ...}, {\"$date\": ...}, {\"$numberDecimal\": ...}; canonical also {\"$numberInt\": ...}, {\"$numberLong\": ...} and {\"$numberDouble\": ...}); a text that looks like a date is {\"$string\": ...}. plain: the format of 1.x (ids and dates as strings, every number as JSON number, no types). | [Optional] [Defaults to `'relaxed'`] [Enum: relaxed, canonical, plain] |
|
|
432
447
|
|
|
433
448
|
### Return type
|
|
434
449
|
|
|
@@ -447,7 +462,7 @@ example().catch(console.error);
|
|
|
447
462
|
### HTTP response details
|
|
448
463
|
| Status code | Description | Response headers |
|
|
449
464
|
|-------------|-------------|------------------|
|
|
450
|
-
| **200** | | * x-pagination-count-rows - count all elements <br> * x-pagination-rows-per-page - Count elements per page <br> * x-pagination-current-page - Current page <br> * x-pagination-count-pages - Count pages <br> |
|
|
465
|
+
| **200** | | * x-pagination-count-rows - count all elements <br> * x-pagination-rows-per-page - Count elements per page <br> * x-pagination-current-page - Current page <br> * x-pagination-count-pages - Count pages <br> * x-pagination-next - Cursor of the next page (only with the parameter after, missing on the last page) <br> |
|
|
451
466
|
| **400** | Invalid value for: body, Invalid value for: query parameter rowsPerPage, Invalid value for: query parameter page | - |
|
|
452
467
|
| **0** | | * x-error-code - Error Code <br> * x-error-message - Message of the MongoCampException <br> * x-error-additional-info - Additional information for the MongoCampException <br> |
|
|
453
468
|
|
|
@@ -489,7 +504,7 @@ async function example() {
|
|
|
489
504
|
collectionName: collectionName_example,
|
|
490
505
|
// string | DocumentId to read
|
|
491
506
|
documentId: documentId_example,
|
|
492
|
-
//
|
|
507
|
+
// 'relaxed' | 'canonical' | 'plain' | relaxed (default since 2.0.0) or canonical: the documents as MongoDB Extended JSON with the types of their values ({\"$oid\": ...}, {\"$date\": ...}, {\"$numberDecimal\": ...}; canonical also {\"$numberInt\": ...}, {\"$numberLong\": ...} and {\"$numberDouble\": ...}); a text that looks like a date is {\"$string\": ...}. plain: the format of 1.x (ids and dates as strings, every number as JSON number, no types). (optional)
|
|
493
508
|
extendedJson: extendedJson_example,
|
|
494
509
|
} satisfies GetDocumentRequest;
|
|
495
510
|
|
|
@@ -512,7 +527,7 @@ example().catch(console.error);
|
|
|
512
527
|
|------------- | ------------- | ------------- | -------------|
|
|
513
528
|
| **collectionName** | `string` | The name of your MongoDb Collection | [Defaults to `undefined`] |
|
|
514
529
|
| **documentId** | `string` | DocumentId to read | [Defaults to `undefined`] |
|
|
515
|
-
| **extendedJson** | `
|
|
530
|
+
| **extendedJson** | `relaxed`, `canonical`, `plain` | relaxed (default since 2.0.0) or canonical: the documents as MongoDB Extended JSON with the types of their values ({\"$oid\": ...}, {\"$date\": ...}, {\"$numberDecimal\": ...}; canonical also {\"$numberInt\": ...}, {\"$numberLong\": ...} and {\"$numberDouble\": ...}); a text that looks like a date is {\"$string\": ...}. plain: the format of 1.x (ids and dates as strings, every number as JSON number, no types). | [Optional] [Defaults to `'relaxed'`] [Enum: relaxed, canonical, plain] |
|
|
516
531
|
|
|
517
532
|
### Return type
|
|
518
533
|
|
|
@@ -543,7 +558,7 @@ example().catch(console.error);
|
|
|
543
558
|
|
|
544
559
|
Import Documents into a Collection
|
|
545
560
|
|
|
546
|
-
Store the documents of the request body: one JSON document per line (NDJSON, as written by the export). A line is read like a document in the body of an insert (Extended JSON wrappers, dates). The body is read as a stream and the documents are stored in batches without ordering, a line that cannot be stored does not stop the others: the answer counts what was read, stored and failed and names the first failed lines (`errors`, `index` is the number of the line). The size of the body is limited by IMPORT_MAX_BYTES (413 above), there is no time limit.
|
|
561
|
+
Store the documents of the request body: one JSON document per line (NDJSON, as written by the export). A line is read like a document in the body of an insert (Extended JSON wrappers, dates). The body is read as a stream and the documents are stored in batches without ordering, a line that cannot be stored does not stop the others: the answer counts what was read, stored and failed and names the first failed lines (`errors`, `index` is the number of the line). The size of the body is limited by IMPORT_MAX_BYTES (413 above), there is no time limit. Since 2.0.0 an import that is aborted (413, a line that is too long, a database or connection error) stores nothing: the documents stored before the abort are deleted again, x-error-additional-info says so.
|
|
547
562
|
|
|
548
563
|
### Example
|
|
549
564
|
|
|
@@ -785,7 +800,7 @@ example().catch(console.error);
|
|
|
785
800
|
|
|
786
801
|
## listDocuments
|
|
787
802
|
|
|
788
|
-
> Array<{ [key: string]: any | null; }> listDocuments(collectionName, filter, sort, projection, rowsPerPage, page, extendedJson)
|
|
803
|
+
> Array<{ [key: string]: any | null; }> listDocuments(collectionName, filter, sort, projection, rowsPerPage, page, count, after, extendedJson, filterCaseInsensitive)
|
|
789
804
|
|
|
790
805
|
Documents in Collection
|
|
791
806
|
|
|
@@ -816,7 +831,7 @@ async function example() {
|
|
|
816
831
|
const body = {
|
|
817
832
|
// string | The name of your MongoDb Collection
|
|
818
833
|
collectionName: collectionName_example,
|
|
819
|
-
// string | MongoDB
|
|
834
|
+
// string | MongoDB filter query, all documents by default (optional)
|
|
820
835
|
filter: filter_example,
|
|
821
836
|
// Array<string> | MongoDB sorting (optional)
|
|
822
837
|
sort: [],
|
|
@@ -826,8 +841,14 @@ async function example() {
|
|
|
826
841
|
rowsPerPage: 100,
|
|
827
842
|
// number | Requested page of the ResultSets (optional)
|
|
828
843
|
page: 1,
|
|
829
|
-
//
|
|
844
|
+
// 'exact' | 'none' | How the result is counted: exact (default) or none (no count headers, no count query) (optional)
|
|
845
|
+
count: exact,
|
|
846
|
+
// string | Cursor paging: the x-pagination-next value of the previous page, empty for the first page. The sort always ends with _id; cannot be combined with page (optional)
|
|
847
|
+
after: ,
|
|
848
|
+
// 'relaxed' | 'canonical' | 'plain' | relaxed (default since 2.0.0) or canonical: the documents as MongoDB Extended JSON with the types of their values ({\"$oid\": ...}, {\"$date\": ...}, {\"$numberDecimal\": ...}; canonical also {\"$numberInt\": ...}, {\"$numberLong\": ...} and {\"$numberDouble\": ...}); a text that looks like a date is {\"$string\": ...}. plain: the format of 1.x (ids and dates as strings, every number as JSON number, no types). (optional)
|
|
830
849
|
extendedJson: extendedJson_example,
|
|
850
|
+
// boolean | true: wildcards and prefixes of the Lucene filter ignore the case (the behaviour before 2.0.0). By default they are case-sensitive, so an index on the field serves a prefix like name:abc* (optional)
|
|
851
|
+
filterCaseInsensitive: false,
|
|
831
852
|
} satisfies ListDocumentsRequest;
|
|
832
853
|
|
|
833
854
|
try {
|
|
@@ -848,12 +869,15 @@ example().catch(console.error);
|
|
|
848
869
|
| Name | Type | Description | Notes |
|
|
849
870
|
|------------- | ------------- | ------------- | -------------|
|
|
850
871
|
| **collectionName** | `string` | The name of your MongoDb Collection | [Defaults to `undefined`] |
|
|
851
|
-
| **filter** | `string` | MongoDB
|
|
872
|
+
| **filter** | `string` | MongoDB filter query, all documents by default | [Optional] [Defaults to `undefined`] |
|
|
852
873
|
| **sort** | `Array<string>` | MongoDB sorting | [Optional] |
|
|
853
874
|
| **projection** | `Array<string>` | MongoDB projection | [Optional] |
|
|
854
875
|
| **rowsPerPage** | `number` | Count elements per page | [Optional] [Defaults to `undefined`] |
|
|
855
876
|
| **page** | `number` | Requested page of the ResultSets | [Optional] [Defaults to `undefined`] |
|
|
856
|
-
| **
|
|
877
|
+
| **count** | `exact`, `none` | How the result is counted: exact (default) or none (no count headers, no count query) | [Optional] [Defaults to `'exact'`] [Enum: exact, none] |
|
|
878
|
+
| **after** | `string` | Cursor paging: the x-pagination-next value of the previous page, empty for the first page. The sort always ends with _id; cannot be combined with page | [Optional] [Defaults to `undefined`] |
|
|
879
|
+
| **extendedJson** | `relaxed`, `canonical`, `plain` | relaxed (default since 2.0.0) or canonical: the documents as MongoDB Extended JSON with the types of their values ({\"$oid\": ...}, {\"$date\": ...}, {\"$numberDecimal\": ...}; canonical also {\"$numberInt\": ...}, {\"$numberLong\": ...} and {\"$numberDouble\": ...}); a text that looks like a date is {\"$string\": ...}. plain: the format of 1.x (ids and dates as strings, every number as JSON number, no types). | [Optional] [Defaults to `'relaxed'`] [Enum: relaxed, canonical, plain] |
|
|
880
|
+
| **filterCaseInsensitive** | `boolean` | true: wildcards and prefixes of the Lucene filter ignore the case (the behaviour before 2.0.0). By default they are case-sensitive, so an index on the field serves a prefix like name:abc* | [Optional] [Defaults to `false`] |
|
|
857
881
|
|
|
858
882
|
### Return type
|
|
859
883
|
|
|
@@ -872,7 +896,7 @@ example().catch(console.error);
|
|
|
872
896
|
### HTTP response details
|
|
873
897
|
| Status code | Description | Response headers |
|
|
874
898
|
|-------------|-------------|------------------|
|
|
875
|
-
| **200** | | * x-pagination-count-rows - count all elements <br> * x-pagination-rows-per-page - Count elements per page <br> * x-pagination-current-page - Current page <br> * x-pagination-count-pages - Count pages <br> |
|
|
899
|
+
| **200** | | * x-pagination-count-rows - count all elements <br> * x-pagination-rows-per-page - Count elements per page <br> * x-pagination-current-page - Current page <br> * x-pagination-count-pages - Count pages <br> * x-pagination-next - Cursor of the next page (only with the parameter after, missing on the last page) <br> |
|
|
876
900
|
| **400** | Invalid value for: query parameter rowsPerPage, Invalid value for: query parameter page | - |
|
|
877
901
|
| **0** | | * x-error-code - Error Code <br> * x-error-message - Message of the MongoCampException <br> * x-error-additional-info - Additional information for the MongoCampException <br> |
|
|
878
902
|
|
|
@@ -881,7 +905,7 @@ example().catch(console.error);
|
|
|
881
905
|
|
|
882
906
|
## searchDocuments
|
|
883
907
|
|
|
884
|
-
> Array<{ [key: string]: any | null; }> searchDocuments(collectionName, searchRequest, rowsPerPage, page, extendedJson)
|
|
908
|
+
> Array<{ [key: string]: any | null; }> searchDocuments(collectionName, searchRequest, rowsPerPage, page, count, after, extendedJson, filterCaseInsensitive)
|
|
885
909
|
|
|
886
910
|
Search Documents in Collection
|
|
887
911
|
|
|
@@ -918,8 +942,14 @@ async function example() {
|
|
|
918
942
|
rowsPerPage: 100,
|
|
919
943
|
// number | Requested page of the ResultSets (optional)
|
|
920
944
|
page: 1,
|
|
921
|
-
//
|
|
945
|
+
// 'exact' | 'none' | How the result is counted: exact (default) or none (no count headers, no count query) (optional)
|
|
946
|
+
count: exact,
|
|
947
|
+
// string | Cursor paging: the x-pagination-next value of the previous page, empty for the first page. The sort always ends with _id; cannot be combined with page (optional)
|
|
948
|
+
after: ,
|
|
949
|
+
// 'relaxed' | 'canonical' | 'plain' | relaxed (default since 2.0.0) or canonical: the documents as MongoDB Extended JSON with the types of their values ({\"$oid\": ...}, {\"$date\": ...}, {\"$numberDecimal\": ...}; canonical also {\"$numberInt\": ...}, {\"$numberLong\": ...} and {\"$numberDouble\": ...}); a text that looks like a date is {\"$string\": ...}. plain: the format of 1.x (ids and dates as strings, every number as JSON number, no types). (optional)
|
|
922
950
|
extendedJson: extendedJson_example,
|
|
951
|
+
// boolean | true: wildcards and prefixes of the Lucene filter ignore the case (the behaviour before 2.0.0). By default they are case-sensitive, so an index on the field serves a prefix like name:abc* (optional)
|
|
952
|
+
filterCaseInsensitive: false,
|
|
923
953
|
} satisfies SearchDocumentsRequest;
|
|
924
954
|
|
|
925
955
|
try {
|
|
@@ -943,7 +973,10 @@ example().catch(console.error);
|
|
|
943
973
|
| **searchRequest** | [SearchRequest](SearchRequest.md) | | |
|
|
944
974
|
| **rowsPerPage** | `number` | Count elements per page | [Optional] [Defaults to `undefined`] |
|
|
945
975
|
| **page** | `number` | Requested page of the ResultSets | [Optional] [Defaults to `undefined`] |
|
|
946
|
-
| **
|
|
976
|
+
| **count** | `exact`, `none` | How the result is counted: exact (default) or none (no count headers, no count query) | [Optional] [Defaults to `'exact'`] [Enum: exact, none] |
|
|
977
|
+
| **after** | `string` | Cursor paging: the x-pagination-next value of the previous page, empty for the first page. The sort always ends with _id; cannot be combined with page | [Optional] [Defaults to `undefined`] |
|
|
978
|
+
| **extendedJson** | `relaxed`, `canonical`, `plain` | relaxed (default since 2.0.0) or canonical: the documents as MongoDB Extended JSON with the types of their values ({\"$oid\": ...}, {\"$date\": ...}, {\"$numberDecimal\": ...}; canonical also {\"$numberInt\": ...}, {\"$numberLong\": ...} and {\"$numberDouble\": ...}); a text that looks like a date is {\"$string\": ...}. plain: the format of 1.x (ids and dates as strings, every number as JSON number, no types). | [Optional] [Defaults to `'relaxed'`] [Enum: relaxed, canonical, plain] |
|
|
979
|
+
| **filterCaseInsensitive** | `boolean` | true: wildcards and prefixes of the Lucene filter ignore the case (the behaviour before 2.0.0). By default they are case-sensitive, so an index on the field serves a prefix like name:abc* | [Optional] [Defaults to `false`] |
|
|
947
980
|
|
|
948
981
|
### Return type
|
|
949
982
|
|
|
@@ -962,7 +995,7 @@ example().catch(console.error);
|
|
|
962
995
|
### HTTP response details
|
|
963
996
|
| Status code | Description | Response headers |
|
|
964
997
|
|-------------|-------------|------------------|
|
|
965
|
-
| **200** | | * x-pagination-count-rows - count all elements <br> * x-pagination-rows-per-page - Count elements per page <br> * x-pagination-current-page - Current page <br> * x-pagination-count-pages - Count pages <br> |
|
|
998
|
+
| **200** | | * x-pagination-count-rows - count all elements <br> * x-pagination-rows-per-page - Count elements per page <br> * x-pagination-current-page - Current page <br> * x-pagination-count-pages - Count pages <br> * x-pagination-next - Cursor of the next page (only with the parameter after, missing on the last page) <br> |
|
|
966
999
|
| **400** | Invalid value for: body, Invalid value for: query parameter rowsPerPage, Invalid value for: query parameter page | - |
|
|
967
1000
|
| **0** | | * x-error-code - Error Code <br> * x-error-message - Message of the MongoCampException <br> * x-error-additional-info - Additional information for the MongoCampException <br> |
|
|
968
1001
|
|
|
@@ -975,7 +1008,7 @@ example().catch(console.error);
|
|
|
975
1008
|
|
|
976
1009
|
Update Document in Collection
|
|
977
1010
|
|
|
978
|
-
\'Replace\' one Document with the new document from Request in Collection
|
|
1011
|
+
\'Replace\' one Document with the new document from Request in Collection. 404 for a document that does not exist (2.0.0).
|
|
979
1012
|
|
|
980
1013
|
### Example
|
|
981
1014
|
|
|
@@ -1059,7 +1092,7 @@ example().catch(console.error);
|
|
|
1059
1092
|
|
|
1060
1093
|
Update Document Parts in Collection
|
|
1061
1094
|
|
|
1062
|
-
Update the document Parts with the values from the Request
|
|
1095
|
+
Update the document Parts with the values from the Request. 404 for a document that does not exist (2.0.0).
|
|
1063
1096
|
|
|
1064
1097
|
### Example
|
|
1065
1098
|
|
|
@@ -1139,11 +1172,11 @@ example().catch(console.error);
|
|
|
1139
1172
|
|
|
1140
1173
|
## updateMany
|
|
1141
1174
|
|
|
1142
|
-
> UpdateResponse updateMany(collectionName, updateRequest, matchAll, filter)
|
|
1175
|
+
> UpdateResponse updateMany(collectionName, updateRequest, matchAll, filter, filterCaseInsensitive)
|
|
1143
1176
|
|
|
1144
1177
|
Update many in Collection
|
|
1145
1178
|
|
|
1146
|
-
Update many
|
|
1179
|
+
Update many Documents in given Collection
|
|
1147
1180
|
|
|
1148
1181
|
### Example
|
|
1149
1182
|
|
|
@@ -1176,6 +1209,8 @@ async function example() {
|
|
|
1176
1209
|
matchAll: true,
|
|
1177
1210
|
// string | Filter Query like on the list of documents, as an alternative to the filter of the request body. Use only one of both. (optional)
|
|
1178
1211
|
filter: filter_example,
|
|
1212
|
+
// boolean | true: wildcards and prefixes of the Lucene filter ignore the case (the behaviour before 2.0.0). By default they are case-sensitive, so an index on the field serves a prefix like name:abc* (optional)
|
|
1213
|
+
filterCaseInsensitive: false,
|
|
1179
1214
|
} satisfies UpdateManyRequest;
|
|
1180
1215
|
|
|
1181
1216
|
try {
|
|
@@ -1199,6 +1234,7 @@ example().catch(console.error);
|
|
|
1199
1234
|
| **updateRequest** | [UpdateRequest](UpdateRequest.md) | | |
|
|
1200
1235
|
| **matchAll** | `boolean` | Allow an empty filter, that matches all documents of the collection | [Optional] [Defaults to `false`] |
|
|
1201
1236
|
| **filter** | `string` | Filter Query like on the list of documents, as an alternative to the filter of the request body. Use only one of both. | [Optional] [Defaults to `undefined`] |
|
|
1237
|
+
| **filterCaseInsensitive** | `boolean` | true: wildcards and prefixes of the Lucene filter ignore the case (the behaviour before 2.0.0). By default they are case-sensitive, so an index on the field serves a prefix like name:abc* | [Optional] [Defaults to `false`] |
|
|
1202
1238
|
|
|
1203
1239
|
### Return type
|
|
1204
1240
|
|
|
@@ -20,7 +20,7 @@ All URIs are relative to *http://localhost*
|
|
|
20
20
|
|
|
21
21
|
Delete File from Bucket
|
|
22
22
|
|
|
23
|
-
Delete one File from given Bucket
|
|
23
|
+
Delete one File from given Bucket. 404 for a file that does not exist (2.0.0).
|
|
24
24
|
|
|
25
25
|
### Example
|
|
26
26
|
|
|
@@ -96,7 +96,7 @@ example().catch(console.error);
|
|
|
96
96
|
|
|
97
97
|
## findFiles
|
|
98
98
|
|
|
99
|
-
> Array<FileInformation> findFiles(bucketName, mongoFindRequest, rowsPerPage, page)
|
|
99
|
+
> Array<FileInformation> findFiles(bucketName, mongoFindRequest, rowsPerPage, page, count, after)
|
|
100
100
|
|
|
101
101
|
Files in Bucket
|
|
102
102
|
|
|
@@ -133,6 +133,10 @@ async function example() {
|
|
|
133
133
|
rowsPerPage: 100,
|
|
134
134
|
// number | Requested page of the ResultSets (optional)
|
|
135
135
|
page: 1,
|
|
136
|
+
// 'exact' | 'none' | How the result is counted: exact (default) or none (no count headers, no count query) (optional)
|
|
137
|
+
count: exact,
|
|
138
|
+
// string | Cursor paging: the x-pagination-next value of the previous page, empty for the first page. The sort always ends with _id; cannot be combined with page (optional)
|
|
139
|
+
after: ,
|
|
136
140
|
} satisfies FindFilesRequest;
|
|
137
141
|
|
|
138
142
|
try {
|
|
@@ -156,6 +160,8 @@ example().catch(console.error);
|
|
|
156
160
|
| **mongoFindRequest** | [MongoFindRequest](MongoFindRequest.md) | | |
|
|
157
161
|
| **rowsPerPage** | `number` | Count elements per page | [Optional] [Defaults to `undefined`] |
|
|
158
162
|
| **page** | `number` | Requested page of the ResultSets | [Optional] [Defaults to `undefined`] |
|
|
163
|
+
| **count** | `exact`, `none` | How the result is counted: exact (default) or none (no count headers, no count query) | [Optional] [Defaults to `'exact'`] [Enum: exact, none] |
|
|
164
|
+
| **after** | `string` | Cursor paging: the x-pagination-next value of the previous page, empty for the first page. The sort always ends with _id; cannot be combined with page | [Optional] [Defaults to `undefined`] |
|
|
159
165
|
|
|
160
166
|
### Return type
|
|
161
167
|
|
|
@@ -174,7 +180,7 @@ example().catch(console.error);
|
|
|
174
180
|
### HTTP response details
|
|
175
181
|
| Status code | Description | Response headers |
|
|
176
182
|
|-------------|-------------|------------------|
|
|
177
|
-
| **200** | | * x-pagination-count-rows - count all elements <br> * x-pagination-rows-per-page - Count elements per page <br> * x-pagination-current-page - Current page <br> * x-pagination-count-pages - Count pages <br> |
|
|
183
|
+
| **200** | | * x-pagination-count-rows - count all elements <br> * x-pagination-rows-per-page - Count elements per page <br> * x-pagination-current-page - Current page <br> * x-pagination-count-pages - Count pages <br> * x-pagination-next - Cursor of the next page (only with the parameter after, missing on the last page) <br> |
|
|
178
184
|
| **400** | Invalid value for: body, Invalid value for: query parameter rowsPerPage, Invalid value for: query parameter page | - |
|
|
179
185
|
| **0** | | * x-error-code - Error Code <br> * x-error-message - Message of the MongoCampException <br> * x-error-additional-info - Additional information for the MongoCampException <br> |
|
|
180
186
|
|
|
@@ -430,7 +436,7 @@ example().catch(console.error);
|
|
|
430
436
|
|
|
431
437
|
## listFiles
|
|
432
438
|
|
|
433
|
-
> Array<FileInformation> listFiles(bucketName, filter, sort, projection, rowsPerPage, page)
|
|
439
|
+
> Array<FileInformation> listFiles(bucketName, filter, sort, projection, rowsPerPage, page, count, after)
|
|
434
440
|
|
|
435
441
|
Files in Bucket
|
|
436
442
|
|
|
@@ -461,7 +467,7 @@ async function example() {
|
|
|
461
467
|
const body = {
|
|
462
468
|
// string | The name of your MongoDb Collection
|
|
463
469
|
bucketName: bucketName_example,
|
|
464
|
-
// string | MongoDB
|
|
470
|
+
// string | MongoDB filter query, all documents by default (optional)
|
|
465
471
|
filter: {},
|
|
466
472
|
// string | MongoDB sorting (optional)
|
|
467
473
|
sort: {},
|
|
@@ -471,6 +477,10 @@ async function example() {
|
|
|
471
477
|
rowsPerPage: 100,
|
|
472
478
|
// number | Requested page of the ResultSets (optional)
|
|
473
479
|
page: 1,
|
|
480
|
+
// 'exact' | 'none' | How the result is counted: exact (default) or none (no count headers, no count query) (optional)
|
|
481
|
+
count: exact,
|
|
482
|
+
// string | Cursor paging: the x-pagination-next value of the previous page, empty for the first page. The sort always ends with _id; cannot be combined with page (optional)
|
|
483
|
+
after: ,
|
|
474
484
|
} satisfies ListFilesRequest;
|
|
475
485
|
|
|
476
486
|
try {
|
|
@@ -491,11 +501,13 @@ example().catch(console.error);
|
|
|
491
501
|
| Name | Type | Description | Notes |
|
|
492
502
|
|------------- | ------------- | ------------- | -------------|
|
|
493
503
|
| **bucketName** | `string` | The name of your MongoDb Collection | [Defaults to `undefined`] |
|
|
494
|
-
| **filter** | `string` | MongoDB
|
|
504
|
+
| **filter** | `string` | MongoDB filter query, all documents by default | [Optional] [Defaults to `undefined`] |
|
|
495
505
|
| **sort** | `string` | MongoDB sorting | [Optional] [Defaults to `undefined`] |
|
|
496
506
|
| **projection** | `string` | MongoDB projection | [Optional] [Defaults to `undefined`] |
|
|
497
507
|
| **rowsPerPage** | `number` | Count elements per page | [Optional] [Defaults to `undefined`] |
|
|
498
508
|
| **page** | `number` | Requested page of the ResultSets | [Optional] [Defaults to `undefined`] |
|
|
509
|
+
| **count** | `exact`, `none` | How the result is counted: exact (default) or none (no count headers, no count query) | [Optional] [Defaults to `'exact'`] [Enum: exact, none] |
|
|
510
|
+
| **after** | `string` | Cursor paging: the x-pagination-next value of the previous page, empty for the first page. The sort always ends with _id; cannot be combined with page | [Optional] [Defaults to `undefined`] |
|
|
499
511
|
|
|
500
512
|
### Return type
|
|
501
513
|
|
|
@@ -514,7 +526,7 @@ example().catch(console.error);
|
|
|
514
526
|
### HTTP response details
|
|
515
527
|
| Status code | Description | Response headers |
|
|
516
528
|
|-------------|-------------|------------------|
|
|
517
|
-
| **200** | | * x-pagination-count-rows - count all elements <br> * x-pagination-rows-per-page - Count elements per page <br> * x-pagination-current-page - Current page <br> * x-pagination-count-pages - Count pages <br> |
|
|
529
|
+
| **200** | | * x-pagination-count-rows - count all elements <br> * x-pagination-rows-per-page - Count elements per page <br> * x-pagination-current-page - Current page <br> * x-pagination-count-pages - Count pages <br> * x-pagination-next - Cursor of the next page (only with the parameter after, missing on the last page) <br> |
|
|
518
530
|
| **400** | Invalid value for: query parameter rowsPerPage, Invalid value for: query parameter page | - |
|
|
519
531
|
| **0** | | * x-error-code - Error Code <br> * x-error-message - Message of the MongoCampException <br> * x-error-additional-info - Additional information for the MongoCampException <br> |
|
|
520
532
|
|
|
@@ -527,7 +539,7 @@ example().catch(console.error);
|
|
|
527
539
|
|
|
528
540
|
Update FileInformation in Bucket
|
|
529
541
|
|
|
530
|
-
Replace
|
|
542
|
+
Replace the metadata and optionally the file name
|
|
531
543
|
|
|
532
544
|
### Example
|
|
533
545
|
|
|
@@ -52,7 +52,7 @@ async function example() {
|
|
|
52
52
|
collectionName: collectionName_example,
|
|
53
53
|
// string | The field Name for your index
|
|
54
54
|
fieldName: fieldName_example,
|
|
55
|
-
// string | Expiring
|
|
55
|
+
// string | Expiring duration: a number with a unit, e.g. 15d, 6h, 30m, 90s or 1.5 minutes
|
|
56
56
|
duration: duration_example,
|
|
57
57
|
// boolean | Sort your index ascending (optional)
|
|
58
58
|
sortAscending: true,
|
|
@@ -79,7 +79,7 @@ example().catch(console.error);
|
|
|
79
79
|
|------------- | ------------- | ------------- | -------------|
|
|
80
80
|
| **collectionName** | `string` | The name of your MongoDb Collection | [Defaults to `undefined`] |
|
|
81
81
|
| **fieldName** | `string` | The field Name for your index | [Defaults to `undefined`] |
|
|
82
|
-
| **duration** | `string` | Expiring
|
|
82
|
+
| **duration** | `string` | Expiring duration: a number with a unit, e.g. 15d, 6h, 30m, 90s or 1.5 minutes | [Defaults to `'15d'`] |
|
|
83
83
|
| **sortAscending** | `boolean` | Sort your index ascending | [Optional] [Defaults to `true`] |
|
|
84
84
|
| **name** | `string` | Name for your index | [Optional] [Defaults to `undefined`] |
|
|
85
85
|
|
|
@@ -532,7 +532,7 @@ example().catch(console.error);
|
|
|
532
532
|
|
|
533
533
|
Index for Collection
|
|
534
534
|
|
|
535
|
-
Index by Name for given Collection
|
|
535
|
+
Index by Name for given Collection. 404 for an index that does not exist (2.0.0).
|
|
536
536
|
|
|
537
537
|
### Example
|
|
538
538
|
|
|
@@ -689,7 +689,7 @@ example().catch(console.error);
|
|
|
689
689
|
|
|
690
690
|
Index usage for Collection
|
|
691
691
|
|
|
692
|
-
How often every Index of the given Collection was used since the counting started. Replaces the aggregation stage $indexStats, which is denied by default because its result contains the address of the database server.
|
|
692
|
+
How often every Index of the given Collection was used since the counting started. Replaces the aggregation stage $indexStats, which is denied by default because its result contains the address of the database server. 404 for a collection that does not exist (2.0.0).
|
|
693
693
|
|
|
694
694
|
### Example
|
|
695
695
|
|
|
@@ -19,7 +19,7 @@ All URIs are relative to *http://localhost*
|
|
|
19
19
|
|
|
20
20
|
Delete Job
|
|
21
21
|
|
|
22
|
-
Delete Job and reload all Job Information
|
|
22
|
+
Delete Job and reload all Job Information. 404 for a job that does not exist (2.0.0).
|
|
23
23
|
|
|
24
24
|
### Example
|
|
25
25
|
|
|
@@ -317,7 +317,7 @@ This endpoint does not need any parameter.
|
|
|
317
317
|
|
|
318
318
|
Register Job
|
|
319
319
|
|
|
320
|
-
Register
|
|
320
|
+
Register a Job and return the JobInformation with next schedule information
|
|
321
321
|
|
|
322
322
|
### Example
|
|
323
323
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,15 +20,18 @@ export interface ClusterMemberInformation {
|
|
|
20
20
|
*/
|
|
21
21
|
name: string;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Deprecated: JGroups cluster of the Scala server, always false
|
|
24
|
+
* @deprecated
|
|
24
25
|
*/
|
|
25
26
|
siteMaster: boolean;
|
|
26
27
|
/**
|
|
27
|
-
*
|
|
28
|
+
* Deprecated: JGroups cluster of the Scala server, always false
|
|
29
|
+
* @deprecated
|
|
28
30
|
*/
|
|
29
31
|
siteAddress: boolean;
|
|
30
32
|
/**
|
|
31
|
-
*
|
|
33
|
+
* Deprecated: JGroups cluster of the Scala server, always false
|
|
34
|
+
* @deprecated
|
|
32
35
|
*/
|
|
33
36
|
multicast: boolean;
|
|
34
37
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|