@sfxcode/nuxt-mongocamp-server 1.9.2 → 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 +97 -7
- package/dist/module.d.mts +31 -1
- package/dist/module.json +2 -2
- package/dist/module.mjs +42 -4
- 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/mongocampApi.js +7 -0
- package/dist/runtime/composables/mongocampSearch.d.ts +3 -1
- package/dist/runtime/composables/mongocampSearch.js +3 -3
- package/dist/runtime/server/composables/mongocampApi.d.ts +2 -1
- package/dist/runtime/server/composables/mongocampApi.js +11 -5
- package/dist/runtime/server/composables/mongocampServerApi.d.ts +2 -1
- package/dist/runtime/server/composables/mongocampServerApi.js +3 -7
- package/dist/runtime/server/mongocamp/core.d.ts +22 -0
- package/dist/runtime/server/mongocamp/core.js +32 -0
- package/dist/runtime/server/mongocamp/handler.d.ts +3 -0
- package/dist/runtime/server/mongocamp/handler.js +8 -0
- package/dist/runtime/server/mongocamp/plugin.d.ts +3 -0
- package/dist/runtime/server/mongocamp/plugin.js +7 -0
- package/dist/runtime/utils/extendedJson.d.ts +12 -0
- package/dist/runtime/utils/extendedJson.js +60 -0
- package/dist/types.d.mts +1 -1
- package/package.json +40 -27
|
@@ -60,7 +60,7 @@ export class FileApi extends runtime.BaseAPI {
|
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
* Delete one File from given Bucket
|
|
63
|
+
* Delete one File from given Bucket. 404 for a file that does not exist (2.0.0).
|
|
64
64
|
* Delete File from Bucket
|
|
65
65
|
*/
|
|
66
66
|
async deleteFileRaw(requestParameters, initOverrides) {
|
|
@@ -69,7 +69,7 @@ export class FileApi extends runtime.BaseAPI {
|
|
|
69
69
|
return new runtime.JSONApiResponse(response, (jsonValue) => DeleteResponseFromJSON(jsonValue));
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
|
-
* Delete one File from given Bucket
|
|
72
|
+
* Delete one File from given Bucket. 404 for a file that does not exist (2.0.0).
|
|
73
73
|
* Delete File from Bucket
|
|
74
74
|
*/
|
|
75
75
|
async deleteFile(requestParameters, initOverrides) {
|
|
@@ -99,6 +99,12 @@ export class FileApi extends runtime.BaseAPI {
|
|
|
99
99
|
if (requestParameters["page"] != null) {
|
|
100
100
|
queryParameters["page"] = requestParameters["page"];
|
|
101
101
|
}
|
|
102
|
+
if (requestParameters["count"] != null) {
|
|
103
|
+
queryParameters["count"] = requestParameters["count"];
|
|
104
|
+
}
|
|
105
|
+
if (requestParameters["after"] != null) {
|
|
106
|
+
queryParameters["after"] = requestParameters["after"];
|
|
107
|
+
}
|
|
102
108
|
const headerParameters = {};
|
|
103
109
|
headerParameters["Content-Type"] = "application/json";
|
|
104
110
|
if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
|
|
@@ -368,6 +374,12 @@ export class FileApi extends runtime.BaseAPI {
|
|
|
368
374
|
if (requestParameters["page"] != null) {
|
|
369
375
|
queryParameters["page"] = requestParameters["page"];
|
|
370
376
|
}
|
|
377
|
+
if (requestParameters["count"] != null) {
|
|
378
|
+
queryParameters["count"] = requestParameters["count"];
|
|
379
|
+
}
|
|
380
|
+
if (requestParameters["after"] != null) {
|
|
381
|
+
queryParameters["after"] = requestParameters["after"];
|
|
382
|
+
}
|
|
371
383
|
const headerParameters = {};
|
|
372
384
|
if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
|
|
373
385
|
headerParameters["Authorization"] = "Basic " + btoa((this.configuration.username || "") + ":" + (this.configuration.password || ""));
|
|
@@ -458,7 +470,7 @@ export class FileApi extends runtime.BaseAPI {
|
|
|
458
470
|
};
|
|
459
471
|
}
|
|
460
472
|
/**
|
|
461
|
-
* Replace
|
|
473
|
+
* Replace the metadata and optionally the file name
|
|
462
474
|
* Update FileInformation in Bucket
|
|
463
475
|
*/
|
|
464
476
|
async updateFileInformationRaw(requestParameters, initOverrides) {
|
|
@@ -467,7 +479,7 @@ export class FileApi extends runtime.BaseAPI {
|
|
|
467
479
|
return new runtime.JSONApiResponse(response, (jsonValue) => UpdateResponseFromJSON(jsonValue));
|
|
468
480
|
}
|
|
469
481
|
/**
|
|
470
|
-
* Replace
|
|
482
|
+
* Replace the metadata and optionally the file name
|
|
471
483
|
* Update FileInformation in Bucket
|
|
472
484
|
*/
|
|
473
485
|
async updateFileInformation(requestParameters, initOverrides) {
|
|
@@ -475,3 +487,11 @@ export class FileApi extends runtime.BaseAPI {
|
|
|
475
487
|
return await response.value();
|
|
476
488
|
}
|
|
477
489
|
}
|
|
490
|
+
export const FindFilesCountEnum = {
|
|
491
|
+
Exact: "exact",
|
|
492
|
+
None: "none"
|
|
493
|
+
};
|
|
494
|
+
export const ListFilesCountEnum = {
|
|
495
|
+
Exact: "exact",
|
|
496
|
+
None: "none"
|
|
497
|
+
};
|
|
@@ -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).
|
|
@@ -27,7 +27,7 @@ export interface CreateExpiringIndexRequest {
|
|
|
27
27
|
*/
|
|
28
28
|
fieldName: string;
|
|
29
29
|
/**
|
|
30
|
-
* Expiring
|
|
30
|
+
* Expiring duration: a number with a unit, e.g. 15d, 6h, 30m, 90s or 1.5 minutes
|
|
31
31
|
*/
|
|
32
32
|
duration: string;
|
|
33
33
|
/**
|
|
@@ -230,12 +230,12 @@ export declare class IndexApi extends runtime.BaseAPI {
|
|
|
230
230
|
*/
|
|
231
231
|
indexRequestOpts(requestParameters: IndexRequest): Promise<runtime.RequestOpts>;
|
|
232
232
|
/**
|
|
233
|
-
* Index by Name for given Collection
|
|
233
|
+
* Index by Name for given Collection. 404 for an index that does not exist (2.0.0).
|
|
234
234
|
* Index for Collection
|
|
235
235
|
*/
|
|
236
236
|
indexRaw(requestParameters: IndexRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MongoIndex>>;
|
|
237
237
|
/**
|
|
238
|
-
* Index by Name for given Collection
|
|
238
|
+
* Index by Name for given Collection. 404 for an index that does not exist (2.0.0).
|
|
239
239
|
* Index for Collection
|
|
240
240
|
*/
|
|
241
241
|
index(requestParameters: IndexRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MongoIndex>;
|
|
@@ -258,12 +258,12 @@ export declare class IndexApi extends runtime.BaseAPI {
|
|
|
258
258
|
*/
|
|
259
259
|
indexStatsRequestOpts(requestParameters: IndexStatsRequest): Promise<runtime.RequestOpts>;
|
|
260
260
|
/**
|
|
261
|
-
* 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.
|
|
261
|
+
* 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).
|
|
262
262
|
* Index usage for Collection
|
|
263
263
|
*/
|
|
264
264
|
indexStatsRaw(requestParameters: IndexStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<IndexUsage>>>;
|
|
265
265
|
/**
|
|
266
|
-
* 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.
|
|
266
|
+
* 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).
|
|
267
267
|
* Index usage for Collection
|
|
268
268
|
*/
|
|
269
269
|
indexStats(requestParameters: IndexStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<IndexUsage>>;
|
|
@@ -438,7 +438,7 @@ export class IndexApi extends runtime.BaseAPI {
|
|
|
438
438
|
};
|
|
439
439
|
}
|
|
440
440
|
/**
|
|
441
|
-
* Index by Name for given Collection
|
|
441
|
+
* Index by Name for given Collection. 404 for an index that does not exist (2.0.0).
|
|
442
442
|
* Index for Collection
|
|
443
443
|
*/
|
|
444
444
|
async indexRaw(requestParameters, initOverrides) {
|
|
@@ -447,7 +447,7 @@ export class IndexApi extends runtime.BaseAPI {
|
|
|
447
447
|
return new runtime.JSONApiResponse(response, (jsonValue) => MongoIndexFromJSON(jsonValue));
|
|
448
448
|
}
|
|
449
449
|
/**
|
|
450
|
-
* Index by Name for given Collection
|
|
450
|
+
* Index by Name for given Collection. 404 for an index that does not exist (2.0.0).
|
|
451
451
|
* Index for Collection
|
|
452
452
|
*/
|
|
453
453
|
async index(requestParameters, initOverrides) {
|
|
@@ -540,7 +540,7 @@ export class IndexApi extends runtime.BaseAPI {
|
|
|
540
540
|
};
|
|
541
541
|
}
|
|
542
542
|
/**
|
|
543
|
-
* 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.
|
|
543
|
+
* 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).
|
|
544
544
|
* Index usage for Collection
|
|
545
545
|
*/
|
|
546
546
|
async indexStatsRaw(requestParameters, initOverrides) {
|
|
@@ -549,7 +549,7 @@ export class IndexApi extends runtime.BaseAPI {
|
|
|
549
549
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(IndexUsageFromJSON));
|
|
550
550
|
}
|
|
551
551
|
/**
|
|
552
|
-
* 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.
|
|
552
|
+
* 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).
|
|
553
553
|
* Index usage for Collection
|
|
554
554
|
*/
|
|
555
555
|
async indexStats(requestParameters, initOverrides) {
|
|
@@ -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).
|
|
@@ -62,12 +62,12 @@ export declare class JobsApi extends runtime.BaseAPI {
|
|
|
62
62
|
*/
|
|
63
63
|
deleteJobRequestOpts(requestParameters: DeleteJobRequest): Promise<runtime.RequestOpts>;
|
|
64
64
|
/**
|
|
65
|
-
* Delete Job and reload all Job Information
|
|
65
|
+
* Delete Job and reload all Job Information. 404 for a job that does not exist (2.0.0).
|
|
66
66
|
* Delete Job
|
|
67
67
|
*/
|
|
68
68
|
deleteJobRaw(requestParameters: DeleteJobRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JsonValueBoolean>>;
|
|
69
69
|
/**
|
|
70
|
-
* Delete Job and reload all Job Information
|
|
70
|
+
* Delete Job and reload all Job Information. 404 for a job that does not exist (2.0.0).
|
|
71
71
|
* Delete Job
|
|
72
72
|
*/
|
|
73
73
|
deleteJob(requestParameters: DeleteJobRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JsonValueBoolean>;
|
|
@@ -118,12 +118,12 @@ export declare class JobsApi extends runtime.BaseAPI {
|
|
|
118
118
|
*/
|
|
119
119
|
registerJobRequestOpts(requestParameters: RegisterJobRequest): Promise<runtime.RequestOpts>;
|
|
120
120
|
/**
|
|
121
|
-
* Register
|
|
121
|
+
* Register a Job and return the JobInformation with next schedule information
|
|
122
122
|
* Register Job
|
|
123
123
|
*/
|
|
124
124
|
registerJobRaw(requestParameters: RegisterJobRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JobInformation>>;
|
|
125
125
|
/**
|
|
126
|
-
* Register
|
|
126
|
+
* Register a Job and return the JobInformation with next schedule information
|
|
127
127
|
* Register Job
|
|
128
128
|
*/
|
|
129
129
|
registerJob(requestParameters: RegisterJobRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JobInformation>;
|
|
@@ -51,7 +51,7 @@ export class JobsApi extends runtime.BaseAPI {
|
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
* Delete Job and reload all Job Information
|
|
54
|
+
* Delete Job and reload all Job Information. 404 for a job that does not exist (2.0.0).
|
|
55
55
|
* Delete Job
|
|
56
56
|
*/
|
|
57
57
|
async deleteJobRaw(requestParameters, initOverrides) {
|
|
@@ -60,7 +60,7 @@ export class JobsApi extends runtime.BaseAPI {
|
|
|
60
60
|
return new runtime.JSONApiResponse(response, (jsonValue) => JsonValueBooleanFromJSON(jsonValue));
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
* Delete Job and reload all Job Information
|
|
63
|
+
* Delete Job and reload all Job Information. 404 for a job that does not exist (2.0.0).
|
|
64
64
|
* Delete Job
|
|
65
65
|
*/
|
|
66
66
|
async deleteJob(requestParameters, initOverrides) {
|
|
@@ -249,7 +249,7 @@ export class JobsApi extends runtime.BaseAPI {
|
|
|
249
249
|
};
|
|
250
250
|
}
|
|
251
251
|
/**
|
|
252
|
-
* Register
|
|
252
|
+
* Register a Job and return the JobInformation with next schedule information
|
|
253
253
|
* Register Job
|
|
254
254
|
*/
|
|
255
255
|
async registerJobRaw(requestParameters, initOverrides) {
|
|
@@ -258,7 +258,7 @@ export class JobsApi extends runtime.BaseAPI {
|
|
|
258
258
|
return new runtime.JSONApiResponse(response, (jsonValue) => JobInformationFromJSON(jsonValue));
|
|
259
259
|
}
|
|
260
260
|
/**
|
|
261
|
-
* Register
|
|
261
|
+
* Register a Job and return the JobInformation with next schedule information
|
|
262
262
|
* Register Job
|
|
263
263
|
*/
|
|
264
264
|
async registerJob(requestParameters, initOverrides) {
|
|
@@ -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).
|
|
@@ -181,7 +181,7 @@ example().catch(console.error);
|
|
|
181
181
|
|
|
182
182
|
Delete Role
|
|
183
183
|
|
|
184
|
-
Delete Role
|
|
184
|
+
Delete Role. 404 for a role that does not exist (2.0.0).
|
|
185
185
|
|
|
186
186
|
### Example
|
|
187
187
|
|
|
@@ -258,7 +258,7 @@ example().catch(console.error);
|
|
|
258
258
|
|
|
259
259
|
Delete User
|
|
260
260
|
|
|
261
|
-
Delete User. All tokens of the user are revoked.
|
|
261
|
+
Delete User. All tokens of the user are revoked. 404 for a user that does not exist (2.0.0).
|
|
262
262
|
|
|
263
263
|
### Example
|
|
264
264
|
|
|
@@ -489,7 +489,7 @@ example().catch(console.error);
|
|
|
489
489
|
|
|
490
490
|
Update ApiKey
|
|
491
491
|
|
|
492
|
-
Generate
|
|
492
|
+
Generate a new API key for the user
|
|
493
493
|
|
|
494
494
|
### Example
|
|
495
495
|
|
|
@@ -591,7 +591,7 @@ async function example() {
|
|
|
591
591
|
const api = new AdminApi(config);
|
|
592
592
|
|
|
593
593
|
const body = {
|
|
594
|
-
// string |
|
|
594
|
+
// string | Filter by a part of the userId (optional)
|
|
595
595
|
filter: filter_example,
|
|
596
596
|
// number | Count elements per page (optional)
|
|
597
597
|
rowsPerPage: 100,
|
|
@@ -616,7 +616,7 @@ example().catch(console.error);
|
|
|
616
616
|
|
|
617
617
|
| Name | Type | Description | Notes |
|
|
618
618
|
|------------- | ------------- | ------------- | -------------|
|
|
619
|
-
| **filter** | `string` |
|
|
619
|
+
| **filter** | `string` | Filter by a part of the userId | [Optional] [Defaults to `undefined`] |
|
|
620
620
|
| **rowsPerPage** | `number` | Count elements per page | [Optional] [Defaults to `undefined`] |
|
|
621
621
|
| **page** | `number` | Requested page of the ResultSets | [Optional] [Defaults to `undefined`] |
|
|
622
622
|
|
|
@@ -675,7 +675,7 @@ async function example() {
|
|
|
675
675
|
const api = new AdminApi(config);
|
|
676
676
|
|
|
677
677
|
const body = {
|
|
678
|
-
// string |
|
|
678
|
+
// string | Filter by a part of the userId (optional)
|
|
679
679
|
filter: filter_example,
|
|
680
680
|
// number | Count elements per page (optional)
|
|
681
681
|
rowsPerPage: 100,
|
|
@@ -700,7 +700,7 @@ example().catch(console.error);
|
|
|
700
700
|
|
|
701
701
|
| Name | Type | Description | Notes |
|
|
702
702
|
|------------- | ------------- | ------------- | -------------|
|
|
703
|
-
| **filter** | `string` |
|
|
703
|
+
| **filter** | `string` | Filter by a part of the userId | [Optional] [Defaults to `undefined`] |
|
|
704
704
|
| **rowsPerPage** | `number` | Count elements per page | [Optional] [Defaults to `undefined`] |
|
|
705
705
|
| **page** | `number` | Requested page of the ResultSets | [Optional] [Defaults to `undefined`] |
|
|
706
706
|
|
|
@@ -18,7 +18,7 @@ All URIs are relative to *http://localhost*
|
|
|
18
18
|
|
|
19
19
|
Configuration for configurationKey
|
|
20
20
|
|
|
21
|
-
Get Configuration for key
|
|
21
|
+
Get Configuration for key. 404 for a configuration key that does not exist (2.0.0).
|
|
22
22
|
|
|
23
23
|
### Example
|
|
24
24
|
|
|
@@ -258,7 +258,7 @@ async function example() {
|
|
|
258
258
|
const api = new ApplicationApi(config);
|
|
259
259
|
|
|
260
260
|
const body = {
|
|
261
|
-
// boolean | Shutdown Server and don
|
|
261
|
+
// boolean | Shutdown Server and don\'t send reboot event. (optional)
|
|
262
262
|
force: true,
|
|
263
263
|
} satisfies ShutdownRequest;
|
|
264
264
|
|
|
@@ -279,7 +279,7 @@ example().catch(console.error);
|
|
|
279
279
|
|
|
280
280
|
| Name | Type | Description | Notes |
|
|
281
281
|
|------------- | ------------- | ------------- | -------------|
|
|
282
|
-
| **force** | `boolean` | Shutdown Server and don
|
|
282
|
+
| **force** | `boolean` | Shutdown Server and don\'t send reboot event. | [Optional] [Defaults to `false`] |
|
|
283
283
|
|
|
284
284
|
### Return type
|
|
285
285
|
|
|
@@ -311,7 +311,7 @@ example().catch(console.error);
|
|
|
311
311
|
|
|
312
312
|
Update Configuration
|
|
313
313
|
|
|
314
|
-
Update Configuration with the value
|
|
314
|
+
Update Configuration with the value. 404 for an unknown key, 400 for a key that is read at the start only or set by the environment (2.0.0).
|
|
315
315
|
|
|
316
316
|
### Example
|
|
317
317
|
|
|
@@ -91,7 +91,7 @@ This endpoint does not need any parameter.
|
|
|
91
91
|
|
|
92
92
|
Check Authentication
|
|
93
93
|
|
|
94
|
-
Check
|
|
94
|
+
Check whether the request is authenticated
|
|
95
95
|
|
|
96
96
|
### Example
|
|
97
97
|
|
|
@@ -514,7 +514,7 @@ example().catch(console.error);
|
|
|
514
514
|
|
|
515
515
|
Collection permissions
|
|
516
516
|
|
|
517
|
-
Return the resolved rights (read, write, administrate) of the
|
|
517
|
+
Return the resolved rights (read, write, administrate) of the logged in user for the collections of the default database
|
|
518
518
|
|
|
519
519
|
### Example
|
|
520
520
|
|
|
@@ -591,7 +591,7 @@ example().catch(console.error);
|
|
|
591
591
|
|
|
592
592
|
User Profile
|
|
593
593
|
|
|
594
|
-
Return the User Profile of
|
|
594
|
+
Return the User Profile of the logged in user
|
|
595
595
|
|
|
596
596
|
### Example
|
|
597
597
|
|
|
@@ -17,7 +17,7 @@ All URIs are relative to *http://localhost*
|
|
|
17
17
|
|
|
18
18
|
Clear Bucket
|
|
19
19
|
|
|
20
|
-
Delete all Files in Bucket
|
|
20
|
+
Delete all Files in Bucket. 404 for a bucket that does not exist (2.0.0).
|
|
21
21
|
|
|
22
22
|
### Example
|
|
23
23
|
|
|
@@ -94,7 +94,7 @@ example().catch(console.error);
|
|
|
94
94
|
|
|
95
95
|
Delete Bucket
|
|
96
96
|
|
|
97
|
-
Delete a given Bucket
|
|
97
|
+
Delete a given Bucket. 404 for a bucket that does not exist (2.0.0).
|
|
98
98
|
|
|
99
99
|
### Example
|
|
100
100
|
|
|
@@ -171,7 +171,7 @@ example().catch(console.error);
|
|
|
171
171
|
|
|
172
172
|
Bucket Information
|
|
173
173
|
|
|
174
|
-
All Information about a single Bucket
|
|
174
|
+
All Information about a single Bucket. 404 for a bucket that does not exist (2.0.0).
|
|
175
175
|
|
|
176
176
|
### Example
|
|
177
177
|
|