@meshery/schemas 0.8.112 → 0.8.113

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.
Files changed (39) hide show
  1. package/dist/cloudApi.d.mts +3307 -762
  2. package/dist/cloudApi.d.ts +3307 -762
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1beta1/component/Component.d.mts +8 -6
  6. package/dist/constructs/v1beta1/component/Component.d.ts +8 -6
  7. package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +18 -7
  8. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +18 -7
  9. package/dist/constructs/v1beta1/component/ComponentSchema.js +1 -1
  10. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +1 -1
  11. package/dist/constructs/v1beta1/connection/Connection.d.mts +1088 -14
  12. package/dist/constructs/v1beta1/connection/Connection.d.ts +1088 -14
  13. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +3308 -21
  14. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +3308 -21
  15. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
  16. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
  17. package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +20 -12
  18. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +20 -12
  19. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +68 -20
  20. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +68 -20
  21. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +8 -8
  22. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +8 -8
  23. package/dist/constructs/v1beta1/model/Model.d.mts +8 -6
  24. package/dist/constructs/v1beta1/model/Model.d.ts +8 -6
  25. package/dist/constructs/v1beta1/model/ModelSchema.d.mts +18 -7
  26. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +18 -7
  27. package/dist/constructs/v1beta1/model/ModelSchema.js +1 -1
  28. package/dist/constructs/v1beta1/model/ModelSchema.mjs +1 -1
  29. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +20 -12
  30. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +20 -12
  31. package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +68 -20
  32. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +68 -20
  33. package/dist/constructs/v1beta1/pattern/PatternSchema.js +8 -8
  34. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +8 -8
  35. package/dist/index.js +10 -10
  36. package/dist/index.mjs +10 -10
  37. package/dist/mesheryApi.d.mts +378 -398
  38. package/dist/mesheryApi.d.ts +378 -398
  39. package/package.json +1 -1
@@ -5,14 +5,2880 @@
5
5
  declare const ConnectionSchema: {
6
6
  readonly openapi: "3.0.0";
7
7
  readonly info: {
8
- readonly title: "connection";
9
- readonly version: "1.0.0";
8
+ readonly title: "Connection API";
9
+ readonly version: "v1beta1";
10
+ readonly description: "API for managing Meshery connections - managed and unmanaged resources tracked by Meshery";
11
+ };
12
+ readonly paths: {
13
+ readonly "/api/integrations/connections": {
14
+ readonly get: {
15
+ readonly "x-internal": readonly ["cloud"];
16
+ readonly tags: readonly ["Connections"];
17
+ readonly operationId: "GetConnections";
18
+ readonly summary: "Get all connections";
19
+ readonly description: "Returns a paginated list of connections for the authenticated user";
20
+ readonly parameters: readonly [{
21
+ readonly name: "page";
22
+ readonly in: "query";
23
+ readonly description: "Page number";
24
+ readonly required: false;
25
+ readonly schema: {
26
+ readonly type: "integer";
27
+ readonly default: 0;
28
+ };
29
+ }, {
30
+ readonly name: "pagesize";
31
+ readonly in: "query";
32
+ readonly description: "Number of items per page";
33
+ readonly required: false;
34
+ readonly schema: {
35
+ readonly type: "integer";
36
+ readonly default: 10;
37
+ };
38
+ }, {
39
+ readonly name: "search";
40
+ readonly in: "query";
41
+ readonly description: "Search term";
42
+ readonly required: false;
43
+ readonly schema: {
44
+ readonly type: "string";
45
+ };
46
+ }, {
47
+ readonly name: "order";
48
+ readonly in: "query";
49
+ readonly description: "Sort order";
50
+ readonly required: false;
51
+ readonly schema: {
52
+ readonly type: "string";
53
+ };
54
+ }, {
55
+ readonly name: "filter";
56
+ readonly in: "query";
57
+ readonly description: "Filter connections";
58
+ readonly required: false;
59
+ readonly schema: {
60
+ readonly type: "string";
61
+ };
62
+ }, {
63
+ readonly name: "kind";
64
+ readonly in: "query";
65
+ readonly description: "Filter by connection kind";
66
+ readonly required: false;
67
+ readonly schema: {
68
+ readonly type: "array";
69
+ readonly items: {
70
+ readonly type: "string";
71
+ };
72
+ };
73
+ }, {
74
+ readonly name: "status";
75
+ readonly in: "query";
76
+ readonly description: "Filter by connection status";
77
+ readonly required: false;
78
+ readonly schema: {
79
+ readonly type: "array";
80
+ readonly items: {
81
+ readonly type: "string";
82
+ readonly description: "Connection Status Value";
83
+ readonly "x-go-name": "ConnectionStatusValue";
84
+ readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
85
+ };
86
+ };
87
+ }];
88
+ readonly responses: {
89
+ readonly "200": {
90
+ readonly description: "List of connections";
91
+ readonly content: {
92
+ readonly "application/json": {
93
+ readonly schema: {
94
+ readonly $id: "https://schemas.meshery.io/connection_page.yaml";
95
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
96
+ readonly description: "Represents a page of connections with meta information about connections count";
97
+ readonly additionalProperties: false;
98
+ readonly type: "object";
99
+ readonly required: readonly ["connections", "total_count", "page", "page_size"];
100
+ readonly properties: {
101
+ readonly connections: {
102
+ readonly type: "array";
103
+ readonly description: "List of connections on this page";
104
+ readonly items: {
105
+ readonly "x-go-type": "*Connection";
106
+ readonly $id: "https://schemas.meshery.io/connection.yaml";
107
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
108
+ readonly description: "Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections";
109
+ readonly additionalProperties: false;
110
+ readonly type: "object";
111
+ readonly required: readonly ["id", "schemaVersion", "name", "type", "sub_type", "kind", "status"];
112
+ readonly properties: {
113
+ readonly id: {
114
+ readonly description: "Connection ID";
115
+ readonly "x-order": 1;
116
+ readonly "x-go-name": "ID";
117
+ readonly "x-oapi-codegen-extra-tags": {
118
+ readonly db: "id";
119
+ readonly yaml: "id";
120
+ };
121
+ readonly type: "string";
122
+ readonly format: "uuid";
123
+ readonly "x-go-type": "uuid.UUID";
124
+ readonly "x-go-type-import": {
125
+ readonly path: "github.com/gofrs/uuid";
126
+ };
127
+ };
128
+ readonly name: {
129
+ readonly "x-oapi-codegen-extra-tags": {
130
+ readonly db: "name";
131
+ readonly yaml: "name";
132
+ };
133
+ readonly "x-order": 2;
134
+ readonly type: "string";
135
+ readonly description: "Connection Name";
136
+ };
137
+ readonly credential_id: {
138
+ readonly "x-go-name": "CredentialID";
139
+ readonly "x-oapi-codegen-extra-tags": {
140
+ readonly db: "credential_id";
141
+ readonly yaml: "credential_id";
142
+ };
143
+ readonly "x-order": 3;
144
+ readonly description: "Associated Credential ID";
145
+ readonly type: "string";
146
+ readonly format: "uuid";
147
+ readonly "x-go-type": "uuid.UUID";
148
+ readonly "x-go-type-import": {
149
+ readonly path: "github.com/gofrs/uuid";
150
+ };
151
+ };
152
+ readonly type: {
153
+ readonly "x-oapi-codegen-extra-tags": {
154
+ readonly db: "type";
155
+ readonly yaml: "type";
156
+ };
157
+ readonly "x-order": 4;
158
+ readonly type: "string";
159
+ readonly description: "Connection Type (platform, telemetry, collaboration)";
160
+ };
161
+ readonly sub_type: {
162
+ readonly "x-oapi-codegen-extra-tags": {
163
+ readonly db: "sub_type";
164
+ readonly yaml: "sub_type";
165
+ };
166
+ readonly "x-order": 5;
167
+ readonly type: "string";
168
+ readonly description: "Connection Subtype (cloud, identity, metrics, chat, git, orchestration)";
169
+ };
170
+ readonly kind: {
171
+ readonly "x-oapi-codegen-extra-tags": {
172
+ readonly db: "kind";
173
+ readonly yaml: "kind";
174
+ };
175
+ readonly "x-order": 6;
176
+ readonly type: "string";
177
+ readonly description: "Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)";
178
+ };
179
+ readonly metadata: {
180
+ readonly "x-oapi-codegen-extra-tags": {
181
+ readonly db: "metadata";
182
+ readonly yaml: "metadata";
183
+ };
184
+ readonly "x-order": 7;
185
+ readonly "x-go-type": "core.Map";
186
+ readonly "x-go-type-import": {
187
+ readonly path: "github.com/meshery/schemas/models/core";
188
+ };
189
+ readonly "x-go-type-skip-optional-pointer": true;
190
+ readonly type: "object";
191
+ readonly description: "Additional connection metadata";
192
+ };
193
+ readonly status: {
194
+ readonly "x-oapi-codegen-extra-tags": {
195
+ readonly db: "status";
196
+ readonly yaml: "status";
197
+ };
198
+ readonly "x-order": 8;
199
+ readonly description: "Connection Status";
200
+ readonly type: "string";
201
+ readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
202
+ };
203
+ readonly user_id: {
204
+ readonly "x-go-name": "UserID";
205
+ readonly "x-oapi-codegen-extra-tags": {
206
+ readonly db: "user_id";
207
+ readonly yaml: "user_id";
208
+ };
209
+ readonly "x-order": 9;
210
+ readonly description: "User ID who owns this connection";
211
+ readonly type: "string";
212
+ readonly format: "uuid";
213
+ readonly "x-go-type": "uuid.UUID";
214
+ readonly "x-go-type-import": {
215
+ readonly path: "github.com/gofrs/uuid";
216
+ };
217
+ };
218
+ readonly created_at: {
219
+ readonly "x-oapi-codegen-extra-tags": {
220
+ readonly db: "created_at";
221
+ readonly yaml: "created_at";
222
+ };
223
+ readonly "x-order": 10;
224
+ readonly type: "string";
225
+ readonly format: "date-time";
226
+ readonly "x-go-type-skip-optional-pointer": true;
227
+ };
228
+ readonly updated_at: {
229
+ readonly "x-oapi-codegen-extra-tags": {
230
+ readonly db: "updated_at";
231
+ readonly yaml: "updated_at";
232
+ };
233
+ readonly "x-order": 11;
234
+ readonly type: "string";
235
+ readonly format: "date-time";
236
+ readonly "x-go-type-skip-optional-pointer": true;
237
+ };
238
+ readonly deleted_at: {
239
+ readonly "x-oapi-codegen-extra-tags": {
240
+ readonly db: "deleted_at";
241
+ readonly yaml: "deleted_at";
242
+ };
243
+ readonly "x-go-type": "core.NullTime";
244
+ readonly "x-go-type-import": {
245
+ readonly path: "github.com/meshery/schemas/models/core";
246
+ };
247
+ readonly "x-order": 12;
248
+ readonly type: "string";
249
+ readonly format: "date-time";
250
+ readonly "x-go-type-skip-optional-pointer": true;
251
+ };
252
+ readonly environments: {
253
+ readonly type: "array";
254
+ readonly description: "Associated environments for this connection";
255
+ readonly items: {
256
+ readonly "x-go-type": "*environment.Environment";
257
+ readonly "x-go-type-import": {
258
+ readonly path: "github.com/meshery/schemas/models/v1beta1/environment";
259
+ };
260
+ readonly $id: "https://schemas.meshery.io/environment.yaml";
261
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
262
+ readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
263
+ readonly additionalProperties: false;
264
+ readonly type: "object";
265
+ readonly required: readonly ["id", "name", "description", "organization_id"];
266
+ readonly properties: {
267
+ readonly id: {
268
+ readonly description: "ID";
269
+ readonly "x-order": 1;
270
+ readonly "x-go-name": "ID";
271
+ readonly "x-oapi-codegen-extra-tags": {
272
+ readonly db: "id";
273
+ readonly yaml: "id";
274
+ };
275
+ readonly type: "string";
276
+ readonly format: "uuid";
277
+ readonly "x-go-type": "uuid.UUID";
278
+ readonly "x-go-type-import": {
279
+ readonly path: "github.com/gofrs/uuid";
280
+ };
281
+ };
282
+ readonly name: {
283
+ readonly "x-oapi-codegen-extra-tags": {
284
+ readonly db: "name";
285
+ readonly yaml: "name";
286
+ };
287
+ readonly "x-order": 2;
288
+ readonly type: "string";
289
+ readonly description: "Environment name";
290
+ };
291
+ readonly description: {
292
+ readonly "x-oapi-codegen-extra-tags": {
293
+ readonly db: "description";
294
+ readonly yaml: "description";
295
+ };
296
+ readonly "x-order": 3;
297
+ readonly type: "string";
298
+ readonly description: "Environment description";
299
+ };
300
+ readonly organization_id: {
301
+ readonly "x-go-name": "OrganizationID";
302
+ readonly "x-oapi-codegen-extra-tags": {
303
+ readonly db: "organization_id";
304
+ readonly yaml: "organization_id";
305
+ };
306
+ readonly "x-order": 4;
307
+ readonly description: "Environment organization ID";
308
+ readonly type: "string";
309
+ readonly format: "uuid";
310
+ readonly "x-go-type": "uuid.UUID";
311
+ readonly "x-go-type-import": {
312
+ readonly path: "github.com/gofrs/uuid";
313
+ };
314
+ };
315
+ readonly owner: {
316
+ readonly "x-oapi-codegen-extra-tags": {
317
+ readonly db: "owner";
318
+ readonly yaml: "owner";
319
+ };
320
+ readonly "x-order": 5;
321
+ readonly description: "Environment owner";
322
+ readonly type: "string";
323
+ readonly format: "uuid";
324
+ readonly "x-go-type": "uuid.UUID";
325
+ readonly "x-go-type-import": {
326
+ readonly path: "github.com/gofrs/uuid";
327
+ };
328
+ };
329
+ readonly created_at: {
330
+ readonly "x-oapi-codegen-extra-tags": {
331
+ readonly db: "created_at";
332
+ readonly yaml: "created_at";
333
+ };
334
+ readonly "x-order": 6;
335
+ readonly type: "string";
336
+ readonly format: "date-time";
337
+ readonly "x-go-type-skip-optional-pointer": true;
338
+ };
339
+ readonly metadata: {
340
+ readonly "x-oapi-codegen-extra-tags": {
341
+ readonly db: "metadata";
342
+ readonly yaml: "metadata";
343
+ };
344
+ readonly "x-order": 7;
345
+ readonly "x-go-type": "core.Map";
346
+ readonly "x-go-type-skip-optional-pointer": true;
347
+ readonly type: "object";
348
+ };
349
+ readonly updated_at: {
350
+ readonly "x-oapi-codegen-extra-tags": {
351
+ readonly db: "updated_at";
352
+ readonly yaml: "updated_at";
353
+ };
354
+ readonly "x-order": 8;
355
+ readonly type: "string";
356
+ readonly format: "date-time";
357
+ readonly "x-go-type-skip-optional-pointer": true;
358
+ };
359
+ readonly deleted_at: {
360
+ readonly "x-oapi-codegen-extra-tags": {
361
+ readonly db: "deleted_at";
362
+ readonly yaml: "deleted_at";
363
+ };
364
+ readonly "x-go-type": "core.NullTime";
365
+ readonly "x-go-import": "database/sql";
366
+ readonly "x-order": 9;
367
+ readonly type: "string";
368
+ readonly format: "date-time";
369
+ readonly "x-go-type-skip-optional-pointer": true;
370
+ };
371
+ };
372
+ };
373
+ readonly "x-oapi-codegen-extra-tags": {
374
+ readonly db: "-";
375
+ readonly yaml: "environments";
376
+ readonly gorm: "-";
377
+ };
378
+ readonly "x-go-type-skip-optional-pointer": true;
379
+ readonly "x-order": 13;
380
+ };
381
+ readonly schemaVersion: {
382
+ readonly description: "Specifies the version of the schema used for the definition.";
383
+ readonly "x-order": 14;
384
+ readonly "x-oapi-codegen-extra-tags": {
385
+ readonly yaml: "schemaVersion";
386
+ readonly db: "-";
387
+ readonly gorm: "-";
388
+ };
389
+ readonly default: "connections.meshery.io/v1beta1";
390
+ readonly type: "string";
391
+ readonly minLength: 2;
392
+ readonly maxLength: 100;
393
+ readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
394
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
395
+ };
396
+ };
397
+ };
398
+ readonly "x-order": 1;
399
+ };
400
+ readonly total_count: {
401
+ readonly type: "integer";
402
+ readonly description: "Total number of connections on all pages";
403
+ readonly "x-oapi-codegen-extra-tags": {
404
+ readonly json: "total_count";
405
+ readonly yaml: "total_count";
406
+ };
407
+ readonly "x-order": 2;
408
+ };
409
+ readonly page: {
410
+ readonly type: "integer";
411
+ readonly description: "Current page number";
412
+ readonly "x-oapi-codegen-extra-tags": {
413
+ readonly json: "page";
414
+ readonly yaml: "page";
415
+ };
416
+ readonly "x-order": 3;
417
+ };
418
+ readonly page_size: {
419
+ readonly type: "integer";
420
+ readonly description: "Number of elements per page";
421
+ readonly "x-oapi-codegen-extra-tags": {
422
+ readonly json: "page_size";
423
+ readonly yaml: "page_size";
424
+ };
425
+ readonly "x-order": 4;
426
+ };
427
+ };
428
+ };
429
+ };
430
+ };
431
+ };
432
+ readonly "500": {
433
+ readonly description: "Server error";
434
+ };
435
+ };
436
+ };
437
+ readonly post: {
438
+ readonly "x-internal": readonly ["cloud"];
439
+ readonly tags: readonly ["Connections"];
440
+ readonly operationId: "RegisterConnection";
441
+ readonly summary: "Register a new connection";
442
+ readonly description: "Register a new connection with credentials";
443
+ readonly requestBody: {
444
+ readonly required: true;
445
+ readonly content: {
446
+ readonly "application/json": {
447
+ readonly schema: {
448
+ readonly type: "object";
449
+ readonly description: "Payload for creating or updating a connection";
450
+ readonly properties: {
451
+ readonly id: {
452
+ readonly type: "string";
453
+ readonly format: "uuid";
454
+ readonly description: "Connection ID";
455
+ readonly "x-go-name": "ConnectionID";
456
+ readonly "x-oapi-codegen-extra-tags": {
457
+ readonly json: "id,omitempty";
458
+ };
459
+ };
460
+ readonly name: {
461
+ readonly type: "string";
462
+ readonly description: "Connection name";
463
+ readonly "x-oapi-codegen-extra-tags": {
464
+ readonly json: "name";
465
+ };
466
+ };
467
+ readonly kind: {
468
+ readonly type: "string";
469
+ readonly description: "Connection kind";
470
+ readonly "x-oapi-codegen-extra-tags": {
471
+ readonly json: "kind";
472
+ };
473
+ };
474
+ readonly type: {
475
+ readonly type: "string";
476
+ readonly description: "Connection type";
477
+ readonly "x-oapi-codegen-extra-tags": {
478
+ readonly json: "type";
479
+ };
480
+ };
481
+ readonly sub_type: {
482
+ readonly type: "string";
483
+ readonly description: "Connection sub-type";
484
+ readonly "x-oapi-codegen-extra-tags": {
485
+ readonly json: "sub_type";
486
+ };
487
+ };
488
+ readonly credential_secret: {
489
+ readonly type: "object";
490
+ readonly description: "Credential secret data";
491
+ readonly "x-go-type": "core.Map";
492
+ readonly "x-go-type-import": {
493
+ readonly path: "github.com/meshery/schemas/models/core";
494
+ };
495
+ readonly "x-go-type-skip-optional-pointer": true;
496
+ readonly "x-oapi-codegen-extra-tags": {
497
+ readonly json: "credential_secret";
498
+ };
499
+ };
500
+ readonly metadata: {
501
+ readonly type: "object";
502
+ readonly description: "Connection metadata";
503
+ readonly "x-go-type": "core.Map";
504
+ readonly "x-go-type-import": {
505
+ readonly path: "github.com/meshery/schemas/models/core";
506
+ };
507
+ readonly "x-go-type-skip-optional-pointer": true;
508
+ readonly "x-oapi-codegen-extra-tags": {
509
+ readonly json: "metadata";
510
+ };
511
+ };
512
+ readonly status: {
513
+ readonly type: "string";
514
+ readonly description: "Connection status";
515
+ readonly "x-oapi-codegen-extra-tags": {
516
+ readonly json: "status";
517
+ };
518
+ };
519
+ readonly credential_id: {
520
+ readonly type: "string";
521
+ readonly format: "uuid";
522
+ readonly description: "Associated credential ID";
523
+ readonly "x-go-name": "CredentialID";
524
+ readonly "x-oapi-codegen-extra-tags": {
525
+ readonly json: "credential_id,omitempty";
526
+ };
527
+ };
528
+ };
529
+ readonly required: readonly ["name", "kind", "type", "sub_type", "status"];
530
+ };
531
+ };
532
+ };
533
+ };
534
+ readonly responses: {
535
+ readonly "201": {
536
+ readonly description: "Connection registered successfully";
537
+ readonly content: {
538
+ readonly "application/json": {
539
+ readonly schema: {
540
+ readonly $id: "https://schemas.meshery.io/connection.yaml";
541
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
542
+ readonly description: "Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections";
543
+ readonly additionalProperties: false;
544
+ readonly type: "object";
545
+ readonly required: readonly ["id", "schemaVersion", "name", "type", "sub_type", "kind", "status"];
546
+ readonly properties: {
547
+ readonly id: {
548
+ readonly description: "Connection ID";
549
+ readonly "x-order": 1;
550
+ readonly "x-go-name": "ID";
551
+ readonly "x-oapi-codegen-extra-tags": {
552
+ readonly db: "id";
553
+ readonly yaml: "id";
554
+ };
555
+ readonly type: "string";
556
+ readonly format: "uuid";
557
+ readonly "x-go-type": "uuid.UUID";
558
+ readonly "x-go-type-import": {
559
+ readonly path: "github.com/gofrs/uuid";
560
+ };
561
+ };
562
+ readonly name: {
563
+ readonly "x-oapi-codegen-extra-tags": {
564
+ readonly db: "name";
565
+ readonly yaml: "name";
566
+ };
567
+ readonly "x-order": 2;
568
+ readonly type: "string";
569
+ readonly description: "Connection Name";
570
+ };
571
+ readonly credential_id: {
572
+ readonly "x-go-name": "CredentialID";
573
+ readonly "x-oapi-codegen-extra-tags": {
574
+ readonly db: "credential_id";
575
+ readonly yaml: "credential_id";
576
+ };
577
+ readonly "x-order": 3;
578
+ readonly description: "Associated Credential ID";
579
+ readonly type: "string";
580
+ readonly format: "uuid";
581
+ readonly "x-go-type": "uuid.UUID";
582
+ readonly "x-go-type-import": {
583
+ readonly path: "github.com/gofrs/uuid";
584
+ };
585
+ };
586
+ readonly type: {
587
+ readonly "x-oapi-codegen-extra-tags": {
588
+ readonly db: "type";
589
+ readonly yaml: "type";
590
+ };
591
+ readonly "x-order": 4;
592
+ readonly type: "string";
593
+ readonly description: "Connection Type (platform, telemetry, collaboration)";
594
+ };
595
+ readonly sub_type: {
596
+ readonly "x-oapi-codegen-extra-tags": {
597
+ readonly db: "sub_type";
598
+ readonly yaml: "sub_type";
599
+ };
600
+ readonly "x-order": 5;
601
+ readonly type: "string";
602
+ readonly description: "Connection Subtype (cloud, identity, metrics, chat, git, orchestration)";
603
+ };
604
+ readonly kind: {
605
+ readonly "x-oapi-codegen-extra-tags": {
606
+ readonly db: "kind";
607
+ readonly yaml: "kind";
608
+ };
609
+ readonly "x-order": 6;
610
+ readonly type: "string";
611
+ readonly description: "Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)";
612
+ };
613
+ readonly metadata: {
614
+ readonly "x-oapi-codegen-extra-tags": {
615
+ readonly db: "metadata";
616
+ readonly yaml: "metadata";
617
+ };
618
+ readonly "x-order": 7;
619
+ readonly "x-go-type": "core.Map";
620
+ readonly "x-go-type-import": {
621
+ readonly path: "github.com/meshery/schemas/models/core";
622
+ };
623
+ readonly "x-go-type-skip-optional-pointer": true;
624
+ readonly type: "object";
625
+ readonly description: "Additional connection metadata";
626
+ };
627
+ readonly status: {
628
+ readonly "x-oapi-codegen-extra-tags": {
629
+ readonly db: "status";
630
+ readonly yaml: "status";
631
+ };
632
+ readonly "x-order": 8;
633
+ readonly description: "Connection Status";
634
+ readonly type: "string";
635
+ readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
636
+ };
637
+ readonly user_id: {
638
+ readonly "x-go-name": "UserID";
639
+ readonly "x-oapi-codegen-extra-tags": {
640
+ readonly db: "user_id";
641
+ readonly yaml: "user_id";
642
+ };
643
+ readonly "x-order": 9;
644
+ readonly description: "User ID who owns this connection";
645
+ readonly type: "string";
646
+ readonly format: "uuid";
647
+ readonly "x-go-type": "uuid.UUID";
648
+ readonly "x-go-type-import": {
649
+ readonly path: "github.com/gofrs/uuid";
650
+ };
651
+ };
652
+ readonly created_at: {
653
+ readonly "x-oapi-codegen-extra-tags": {
654
+ readonly db: "created_at";
655
+ readonly yaml: "created_at";
656
+ };
657
+ readonly "x-order": 10;
658
+ readonly type: "string";
659
+ readonly format: "date-time";
660
+ readonly "x-go-type-skip-optional-pointer": true;
661
+ };
662
+ readonly updated_at: {
663
+ readonly "x-oapi-codegen-extra-tags": {
664
+ readonly db: "updated_at";
665
+ readonly yaml: "updated_at";
666
+ };
667
+ readonly "x-order": 11;
668
+ readonly type: "string";
669
+ readonly format: "date-time";
670
+ readonly "x-go-type-skip-optional-pointer": true;
671
+ };
672
+ readonly deleted_at: {
673
+ readonly "x-oapi-codegen-extra-tags": {
674
+ readonly db: "deleted_at";
675
+ readonly yaml: "deleted_at";
676
+ };
677
+ readonly "x-go-type": "core.NullTime";
678
+ readonly "x-go-type-import": {
679
+ readonly path: "github.com/meshery/schemas/models/core";
680
+ };
681
+ readonly "x-order": 12;
682
+ readonly type: "string";
683
+ readonly format: "date-time";
684
+ readonly "x-go-type-skip-optional-pointer": true;
685
+ };
686
+ readonly environments: {
687
+ readonly type: "array";
688
+ readonly description: "Associated environments for this connection";
689
+ readonly items: {
690
+ readonly "x-go-type": "*environment.Environment";
691
+ readonly "x-go-type-import": {
692
+ readonly path: "github.com/meshery/schemas/models/v1beta1/environment";
693
+ };
694
+ readonly $id: "https://schemas.meshery.io/environment.yaml";
695
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
696
+ readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
697
+ readonly additionalProperties: false;
698
+ readonly type: "object";
699
+ readonly required: readonly ["id", "name", "description", "organization_id"];
700
+ readonly properties: {
701
+ readonly id: {
702
+ readonly description: "ID";
703
+ readonly "x-order": 1;
704
+ readonly "x-go-name": "ID";
705
+ readonly "x-oapi-codegen-extra-tags": {
706
+ readonly db: "id";
707
+ readonly yaml: "id";
708
+ };
709
+ readonly type: "string";
710
+ readonly format: "uuid";
711
+ readonly "x-go-type": "uuid.UUID";
712
+ readonly "x-go-type-import": {
713
+ readonly path: "github.com/gofrs/uuid";
714
+ };
715
+ };
716
+ readonly name: {
717
+ readonly "x-oapi-codegen-extra-tags": {
718
+ readonly db: "name";
719
+ readonly yaml: "name";
720
+ };
721
+ readonly "x-order": 2;
722
+ readonly type: "string";
723
+ readonly description: "Environment name";
724
+ };
725
+ readonly description: {
726
+ readonly "x-oapi-codegen-extra-tags": {
727
+ readonly db: "description";
728
+ readonly yaml: "description";
729
+ };
730
+ readonly "x-order": 3;
731
+ readonly type: "string";
732
+ readonly description: "Environment description";
733
+ };
734
+ readonly organization_id: {
735
+ readonly "x-go-name": "OrganizationID";
736
+ readonly "x-oapi-codegen-extra-tags": {
737
+ readonly db: "organization_id";
738
+ readonly yaml: "organization_id";
739
+ };
740
+ readonly "x-order": 4;
741
+ readonly description: "Environment organization ID";
742
+ readonly type: "string";
743
+ readonly format: "uuid";
744
+ readonly "x-go-type": "uuid.UUID";
745
+ readonly "x-go-type-import": {
746
+ readonly path: "github.com/gofrs/uuid";
747
+ };
748
+ };
749
+ readonly owner: {
750
+ readonly "x-oapi-codegen-extra-tags": {
751
+ readonly db: "owner";
752
+ readonly yaml: "owner";
753
+ };
754
+ readonly "x-order": 5;
755
+ readonly description: "Environment owner";
756
+ readonly type: "string";
757
+ readonly format: "uuid";
758
+ readonly "x-go-type": "uuid.UUID";
759
+ readonly "x-go-type-import": {
760
+ readonly path: "github.com/gofrs/uuid";
761
+ };
762
+ };
763
+ readonly created_at: {
764
+ readonly "x-oapi-codegen-extra-tags": {
765
+ readonly db: "created_at";
766
+ readonly yaml: "created_at";
767
+ };
768
+ readonly "x-order": 6;
769
+ readonly type: "string";
770
+ readonly format: "date-time";
771
+ readonly "x-go-type-skip-optional-pointer": true;
772
+ };
773
+ readonly metadata: {
774
+ readonly "x-oapi-codegen-extra-tags": {
775
+ readonly db: "metadata";
776
+ readonly yaml: "metadata";
777
+ };
778
+ readonly "x-order": 7;
779
+ readonly "x-go-type": "core.Map";
780
+ readonly "x-go-type-skip-optional-pointer": true;
781
+ readonly type: "object";
782
+ };
783
+ readonly updated_at: {
784
+ readonly "x-oapi-codegen-extra-tags": {
785
+ readonly db: "updated_at";
786
+ readonly yaml: "updated_at";
787
+ };
788
+ readonly "x-order": 8;
789
+ readonly type: "string";
790
+ readonly format: "date-time";
791
+ readonly "x-go-type-skip-optional-pointer": true;
792
+ };
793
+ readonly deleted_at: {
794
+ readonly "x-oapi-codegen-extra-tags": {
795
+ readonly db: "deleted_at";
796
+ readonly yaml: "deleted_at";
797
+ };
798
+ readonly "x-go-type": "core.NullTime";
799
+ readonly "x-go-import": "database/sql";
800
+ readonly "x-order": 9;
801
+ readonly type: "string";
802
+ readonly format: "date-time";
803
+ readonly "x-go-type-skip-optional-pointer": true;
804
+ };
805
+ };
806
+ };
807
+ readonly "x-oapi-codegen-extra-tags": {
808
+ readonly db: "-";
809
+ readonly yaml: "environments";
810
+ readonly gorm: "-";
811
+ };
812
+ readonly "x-go-type-skip-optional-pointer": true;
813
+ readonly "x-order": 13;
814
+ };
815
+ readonly schemaVersion: {
816
+ readonly description: "Specifies the version of the schema used for the definition.";
817
+ readonly "x-order": 14;
818
+ readonly "x-oapi-codegen-extra-tags": {
819
+ readonly yaml: "schemaVersion";
820
+ readonly db: "-";
821
+ readonly gorm: "-";
822
+ };
823
+ readonly default: "connections.meshery.io/v1beta1";
824
+ readonly type: "string";
825
+ readonly minLength: 2;
826
+ readonly maxLength: 100;
827
+ readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
828
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
829
+ };
830
+ };
831
+ };
832
+ };
833
+ };
834
+ };
835
+ readonly "400": {
836
+ readonly description: "Invalid request parameters";
837
+ };
838
+ readonly "500": {
839
+ readonly description: "Server error";
840
+ };
841
+ };
842
+ };
843
+ };
844
+ readonly "/api/integrations/connections/{connectionKind}": {
845
+ readonly get: {
846
+ readonly "x-internal": readonly ["cloud"];
847
+ readonly tags: readonly ["Connections"];
848
+ readonly operationId: "GetConnectionsByKind";
849
+ readonly summary: "Get connections by kind";
850
+ readonly description: "Returns connections filtered by kind (meshery, kubernetes, etc.)";
851
+ readonly parameters: readonly [{
852
+ readonly name: "connectionKind";
853
+ readonly in: "path";
854
+ readonly required: true;
855
+ readonly description: "Connection kind (meshery, kubernetes, prometheus, grafana, etc.)";
856
+ readonly schema: {
857
+ readonly type: "string";
858
+ };
859
+ }, {
860
+ readonly name: "page";
861
+ readonly in: "query";
862
+ readonly description: "Page number";
863
+ readonly required: false;
864
+ readonly schema: {
865
+ readonly type: "integer";
866
+ readonly default: 0;
867
+ };
868
+ }, {
869
+ readonly name: "pagesize";
870
+ readonly in: "query";
871
+ readonly description: "Number of items per page";
872
+ readonly required: false;
873
+ readonly schema: {
874
+ readonly type: "integer";
875
+ readonly default: 10;
876
+ };
877
+ }, {
878
+ readonly name: "search";
879
+ readonly in: "query";
880
+ readonly description: "Search term";
881
+ readonly required: false;
882
+ readonly schema: {
883
+ readonly type: "string";
884
+ };
885
+ }, {
886
+ readonly name: "order";
887
+ readonly in: "query";
888
+ readonly description: "Sort order";
889
+ readonly required: false;
890
+ readonly schema: {
891
+ readonly type: "string";
892
+ };
893
+ }, {
894
+ readonly name: "status";
895
+ readonly in: "query";
896
+ readonly description: "Filter by connection status";
897
+ readonly required: false;
898
+ readonly schema: {
899
+ readonly type: "string";
900
+ readonly description: "Connection Status Value";
901
+ readonly "x-go-name": "ConnectionStatusValue";
902
+ readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
903
+ };
904
+ }, {
905
+ readonly name: "meshery_instance_id";
906
+ readonly in: "query";
907
+ readonly description: "Filter by Meshery instance ID (for kubernetes connections)";
908
+ readonly required: false;
909
+ readonly schema: {
910
+ readonly type: "string";
911
+ };
912
+ }, {
913
+ readonly name: "with_credentials";
914
+ readonly in: "query";
915
+ readonly description: "Include credentials in response (for kubernetes connections)";
916
+ readonly required: false;
917
+ readonly schema: {
918
+ readonly type: "boolean";
919
+ };
920
+ }];
921
+ readonly responses: {
922
+ readonly "200": {
923
+ readonly description: "List of connections by kind";
924
+ readonly content: {
925
+ readonly "application/json": {
926
+ readonly schema: {
927
+ readonly oneOf: readonly [{
928
+ readonly $id: "https://schemas.meshery.io/connection_page.yaml";
929
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
930
+ readonly description: "Represents a page of connections with meta information about connections count";
931
+ readonly additionalProperties: false;
932
+ readonly type: "object";
933
+ readonly required: readonly ["connections", "total_count", "page", "page_size"];
934
+ readonly properties: {
935
+ readonly connections: {
936
+ readonly type: "array";
937
+ readonly description: "List of connections on this page";
938
+ readonly items: {
939
+ readonly "x-go-type": "*Connection";
940
+ readonly $id: "https://schemas.meshery.io/connection.yaml";
941
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
942
+ readonly description: "Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections";
943
+ readonly additionalProperties: false;
944
+ readonly type: "object";
945
+ readonly required: readonly ["id", "schemaVersion", "name", "type", "sub_type", "kind", "status"];
946
+ readonly properties: {
947
+ readonly id: {
948
+ readonly description: "Connection ID";
949
+ readonly "x-order": 1;
950
+ readonly "x-go-name": "ID";
951
+ readonly "x-oapi-codegen-extra-tags": {
952
+ readonly db: "id";
953
+ readonly yaml: "id";
954
+ };
955
+ readonly type: "string";
956
+ readonly format: "uuid";
957
+ readonly "x-go-type": "uuid.UUID";
958
+ readonly "x-go-type-import": {
959
+ readonly path: "github.com/gofrs/uuid";
960
+ };
961
+ };
962
+ readonly name: {
963
+ readonly "x-oapi-codegen-extra-tags": {
964
+ readonly db: "name";
965
+ readonly yaml: "name";
966
+ };
967
+ readonly "x-order": 2;
968
+ readonly type: "string";
969
+ readonly description: "Connection Name";
970
+ };
971
+ readonly credential_id: {
972
+ readonly "x-go-name": "CredentialID";
973
+ readonly "x-oapi-codegen-extra-tags": {
974
+ readonly db: "credential_id";
975
+ readonly yaml: "credential_id";
976
+ };
977
+ readonly "x-order": 3;
978
+ readonly description: "Associated Credential ID";
979
+ readonly type: "string";
980
+ readonly format: "uuid";
981
+ readonly "x-go-type": "uuid.UUID";
982
+ readonly "x-go-type-import": {
983
+ readonly path: "github.com/gofrs/uuid";
984
+ };
985
+ };
986
+ readonly type: {
987
+ readonly "x-oapi-codegen-extra-tags": {
988
+ readonly db: "type";
989
+ readonly yaml: "type";
990
+ };
991
+ readonly "x-order": 4;
992
+ readonly type: "string";
993
+ readonly description: "Connection Type (platform, telemetry, collaboration)";
994
+ };
995
+ readonly sub_type: {
996
+ readonly "x-oapi-codegen-extra-tags": {
997
+ readonly db: "sub_type";
998
+ readonly yaml: "sub_type";
999
+ };
1000
+ readonly "x-order": 5;
1001
+ readonly type: "string";
1002
+ readonly description: "Connection Subtype (cloud, identity, metrics, chat, git, orchestration)";
1003
+ };
1004
+ readonly kind: {
1005
+ readonly "x-oapi-codegen-extra-tags": {
1006
+ readonly db: "kind";
1007
+ readonly yaml: "kind";
1008
+ };
1009
+ readonly "x-order": 6;
1010
+ readonly type: "string";
1011
+ readonly description: "Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)";
1012
+ };
1013
+ readonly metadata: {
1014
+ readonly "x-oapi-codegen-extra-tags": {
1015
+ readonly db: "metadata";
1016
+ readonly yaml: "metadata";
1017
+ };
1018
+ readonly "x-order": 7;
1019
+ readonly "x-go-type": "core.Map";
1020
+ readonly "x-go-type-import": {
1021
+ readonly path: "github.com/meshery/schemas/models/core";
1022
+ };
1023
+ readonly "x-go-type-skip-optional-pointer": true;
1024
+ readonly type: "object";
1025
+ readonly description: "Additional connection metadata";
1026
+ };
1027
+ readonly status: {
1028
+ readonly "x-oapi-codegen-extra-tags": {
1029
+ readonly db: "status";
1030
+ readonly yaml: "status";
1031
+ };
1032
+ readonly "x-order": 8;
1033
+ readonly description: "Connection Status";
1034
+ readonly type: "string";
1035
+ readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
1036
+ };
1037
+ readonly user_id: {
1038
+ readonly "x-go-name": "UserID";
1039
+ readonly "x-oapi-codegen-extra-tags": {
1040
+ readonly db: "user_id";
1041
+ readonly yaml: "user_id";
1042
+ };
1043
+ readonly "x-order": 9;
1044
+ readonly description: "User ID who owns this connection";
1045
+ readonly type: "string";
1046
+ readonly format: "uuid";
1047
+ readonly "x-go-type": "uuid.UUID";
1048
+ readonly "x-go-type-import": {
1049
+ readonly path: "github.com/gofrs/uuid";
1050
+ };
1051
+ };
1052
+ readonly created_at: {
1053
+ readonly "x-oapi-codegen-extra-tags": {
1054
+ readonly db: "created_at";
1055
+ readonly yaml: "created_at";
1056
+ };
1057
+ readonly "x-order": 10;
1058
+ readonly type: "string";
1059
+ readonly format: "date-time";
1060
+ readonly "x-go-type-skip-optional-pointer": true;
1061
+ };
1062
+ readonly updated_at: {
1063
+ readonly "x-oapi-codegen-extra-tags": {
1064
+ readonly db: "updated_at";
1065
+ readonly yaml: "updated_at";
1066
+ };
1067
+ readonly "x-order": 11;
1068
+ readonly type: "string";
1069
+ readonly format: "date-time";
1070
+ readonly "x-go-type-skip-optional-pointer": true;
1071
+ };
1072
+ readonly deleted_at: {
1073
+ readonly "x-oapi-codegen-extra-tags": {
1074
+ readonly db: "deleted_at";
1075
+ readonly yaml: "deleted_at";
1076
+ };
1077
+ readonly "x-go-type": "core.NullTime";
1078
+ readonly "x-go-type-import": {
1079
+ readonly path: "github.com/meshery/schemas/models/core";
1080
+ };
1081
+ readonly "x-order": 12;
1082
+ readonly type: "string";
1083
+ readonly format: "date-time";
1084
+ readonly "x-go-type-skip-optional-pointer": true;
1085
+ };
1086
+ readonly environments: {
1087
+ readonly type: "array";
1088
+ readonly description: "Associated environments for this connection";
1089
+ readonly items: {
1090
+ readonly "x-go-type": "*environment.Environment";
1091
+ readonly "x-go-type-import": {
1092
+ readonly path: "github.com/meshery/schemas/models/v1beta1/environment";
1093
+ };
1094
+ readonly $id: "https://schemas.meshery.io/environment.yaml";
1095
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
1096
+ readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
1097
+ readonly additionalProperties: false;
1098
+ readonly type: "object";
1099
+ readonly required: readonly ["id", "name", "description", "organization_id"];
1100
+ readonly properties: {
1101
+ readonly id: {
1102
+ readonly description: "ID";
1103
+ readonly "x-order": 1;
1104
+ readonly "x-go-name": "ID";
1105
+ readonly "x-oapi-codegen-extra-tags": {
1106
+ readonly db: "id";
1107
+ readonly yaml: "id";
1108
+ };
1109
+ readonly type: "string";
1110
+ readonly format: "uuid";
1111
+ readonly "x-go-type": "uuid.UUID";
1112
+ readonly "x-go-type-import": {
1113
+ readonly path: "github.com/gofrs/uuid";
1114
+ };
1115
+ };
1116
+ readonly name: {
1117
+ readonly "x-oapi-codegen-extra-tags": {
1118
+ readonly db: "name";
1119
+ readonly yaml: "name";
1120
+ };
1121
+ readonly "x-order": 2;
1122
+ readonly type: "string";
1123
+ readonly description: "Environment name";
1124
+ };
1125
+ readonly description: {
1126
+ readonly "x-oapi-codegen-extra-tags": {
1127
+ readonly db: "description";
1128
+ readonly yaml: "description";
1129
+ };
1130
+ readonly "x-order": 3;
1131
+ readonly type: "string";
1132
+ readonly description: "Environment description";
1133
+ };
1134
+ readonly organization_id: {
1135
+ readonly "x-go-name": "OrganizationID";
1136
+ readonly "x-oapi-codegen-extra-tags": {
1137
+ readonly db: "organization_id";
1138
+ readonly yaml: "organization_id";
1139
+ };
1140
+ readonly "x-order": 4;
1141
+ readonly description: "Environment organization ID";
1142
+ readonly type: "string";
1143
+ readonly format: "uuid";
1144
+ readonly "x-go-type": "uuid.UUID";
1145
+ readonly "x-go-type-import": {
1146
+ readonly path: "github.com/gofrs/uuid";
1147
+ };
1148
+ };
1149
+ readonly owner: {
1150
+ readonly "x-oapi-codegen-extra-tags": {
1151
+ readonly db: "owner";
1152
+ readonly yaml: "owner";
1153
+ };
1154
+ readonly "x-order": 5;
1155
+ readonly description: "Environment owner";
1156
+ readonly type: "string";
1157
+ readonly format: "uuid";
1158
+ readonly "x-go-type": "uuid.UUID";
1159
+ readonly "x-go-type-import": {
1160
+ readonly path: "github.com/gofrs/uuid";
1161
+ };
1162
+ };
1163
+ readonly created_at: {
1164
+ readonly "x-oapi-codegen-extra-tags": {
1165
+ readonly db: "created_at";
1166
+ readonly yaml: "created_at";
1167
+ };
1168
+ readonly "x-order": 6;
1169
+ readonly type: "string";
1170
+ readonly format: "date-time";
1171
+ readonly "x-go-type-skip-optional-pointer": true;
1172
+ };
1173
+ readonly metadata: {
1174
+ readonly "x-oapi-codegen-extra-tags": {
1175
+ readonly db: "metadata";
1176
+ readonly yaml: "metadata";
1177
+ };
1178
+ readonly "x-order": 7;
1179
+ readonly "x-go-type": "core.Map";
1180
+ readonly "x-go-type-skip-optional-pointer": true;
1181
+ readonly type: "object";
1182
+ };
1183
+ readonly updated_at: {
1184
+ readonly "x-oapi-codegen-extra-tags": {
1185
+ readonly db: "updated_at";
1186
+ readonly yaml: "updated_at";
1187
+ };
1188
+ readonly "x-order": 8;
1189
+ readonly type: "string";
1190
+ readonly format: "date-time";
1191
+ readonly "x-go-type-skip-optional-pointer": true;
1192
+ };
1193
+ readonly deleted_at: {
1194
+ readonly "x-oapi-codegen-extra-tags": {
1195
+ readonly db: "deleted_at";
1196
+ readonly yaml: "deleted_at";
1197
+ };
1198
+ readonly "x-go-type": "core.NullTime";
1199
+ readonly "x-go-import": "database/sql";
1200
+ readonly "x-order": 9;
1201
+ readonly type: "string";
1202
+ readonly format: "date-time";
1203
+ readonly "x-go-type-skip-optional-pointer": true;
1204
+ };
1205
+ };
1206
+ };
1207
+ readonly "x-oapi-codegen-extra-tags": {
1208
+ readonly db: "-";
1209
+ readonly yaml: "environments";
1210
+ readonly gorm: "-";
1211
+ };
1212
+ readonly "x-go-type-skip-optional-pointer": true;
1213
+ readonly "x-order": 13;
1214
+ };
1215
+ readonly schemaVersion: {
1216
+ readonly description: "Specifies the version of the schema used for the definition.";
1217
+ readonly "x-order": 14;
1218
+ readonly "x-oapi-codegen-extra-tags": {
1219
+ readonly yaml: "schemaVersion";
1220
+ readonly db: "-";
1221
+ readonly gorm: "-";
1222
+ };
1223
+ readonly default: "connections.meshery.io/v1beta1";
1224
+ readonly type: "string";
1225
+ readonly minLength: 2;
1226
+ readonly maxLength: 100;
1227
+ readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
1228
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
1229
+ };
1230
+ };
1231
+ };
1232
+ readonly "x-order": 1;
1233
+ };
1234
+ readonly total_count: {
1235
+ readonly type: "integer";
1236
+ readonly description: "Total number of connections on all pages";
1237
+ readonly "x-oapi-codegen-extra-tags": {
1238
+ readonly json: "total_count";
1239
+ readonly yaml: "total_count";
1240
+ };
1241
+ readonly "x-order": 2;
1242
+ };
1243
+ readonly page: {
1244
+ readonly type: "integer";
1245
+ readonly description: "Current page number";
1246
+ readonly "x-oapi-codegen-extra-tags": {
1247
+ readonly json: "page";
1248
+ readonly yaml: "page";
1249
+ };
1250
+ readonly "x-order": 3;
1251
+ };
1252
+ readonly page_size: {
1253
+ readonly type: "integer";
1254
+ readonly description: "Number of elements per page";
1255
+ readonly "x-oapi-codegen-extra-tags": {
1256
+ readonly json: "page_size";
1257
+ readonly yaml: "page_size";
1258
+ };
1259
+ readonly "x-order": 4;
1260
+ };
1261
+ };
1262
+ }, {
1263
+ readonly type: "object";
1264
+ readonly description: "Paginated list of Meshery instances";
1265
+ readonly properties: {
1266
+ readonly meshery_instances: {
1267
+ readonly type: "array";
1268
+ readonly description: "List of Meshery instances";
1269
+ readonly items: {
1270
+ readonly type: "object";
1271
+ readonly description: "Meshery server instance information";
1272
+ readonly properties: {
1273
+ readonly id: {
1274
+ readonly type: "string";
1275
+ readonly description: "Instance ID";
1276
+ readonly "x-oapi-codegen-extra-tags": {
1277
+ readonly json: "id,omitempty";
1278
+ readonly db: "id";
1279
+ };
1280
+ };
1281
+ readonly name: {
1282
+ readonly type: "string";
1283
+ readonly description: "Instance name";
1284
+ readonly "x-oapi-codegen-extra-tags": {
1285
+ readonly json: "name,omitempty";
1286
+ readonly db: "name";
1287
+ };
1288
+ };
1289
+ readonly server_id: {
1290
+ readonly type: "string";
1291
+ readonly description: "Server ID";
1292
+ readonly "x-go-name": "ServerID";
1293
+ readonly "x-oapi-codegen-extra-tags": {
1294
+ readonly json: "server_id,omitempty";
1295
+ readonly db: "server_id";
1296
+ };
1297
+ };
1298
+ readonly server_version: {
1299
+ readonly type: "string";
1300
+ readonly description: "Meshery server version";
1301
+ readonly "x-oapi-codegen-extra-tags": {
1302
+ readonly json: "server_version,omitempty";
1303
+ readonly db: "server_version";
1304
+ };
1305
+ };
1306
+ readonly server_location: {
1307
+ readonly type: "string";
1308
+ readonly description: "Server location URL";
1309
+ readonly "x-oapi-codegen-extra-tags": {
1310
+ readonly json: "server_location,omitempty";
1311
+ readonly db: "server_location";
1312
+ };
1313
+ };
1314
+ readonly server_build_sha: {
1315
+ readonly type: "string";
1316
+ readonly description: "Server build SHA";
1317
+ readonly "x-go-name": "ServerBuildSHA";
1318
+ readonly "x-oapi-codegen-extra-tags": {
1319
+ readonly json: "server_build_sha,omitempty";
1320
+ readonly db: "server_build_sha";
1321
+ };
1322
+ };
1323
+ readonly created_at: {
1324
+ readonly type: "string";
1325
+ readonly description: "Creation timestamp";
1326
+ readonly "x-oapi-codegen-extra-tags": {
1327
+ readonly json: "created_at,omitempty";
1328
+ readonly db: "created_at";
1329
+ };
1330
+ };
1331
+ readonly updated_at: {
1332
+ readonly type: "string";
1333
+ readonly description: "Last update timestamp";
1334
+ readonly "x-oapi-codegen-extra-tags": {
1335
+ readonly json: "updated_at,omitempty";
1336
+ readonly db: "updated_at";
1337
+ };
1338
+ };
1339
+ readonly deleted_at: {
1340
+ readonly type: "string";
1341
+ readonly description: "Deletion timestamp";
1342
+ readonly "x-oapi-codegen-extra-tags": {
1343
+ readonly json: "deleted_at,omitempty";
1344
+ readonly db: "deleted_at";
1345
+ };
1346
+ };
1347
+ };
1348
+ };
1349
+ readonly "x-oapi-codegen-extra-tags": {
1350
+ readonly json: "meshery_instances";
1351
+ };
1352
+ };
1353
+ readonly page: {
1354
+ readonly type: "integer";
1355
+ readonly description: "Current page number";
1356
+ readonly "x-oapi-codegen-extra-tags": {
1357
+ readonly json: "page";
1358
+ };
1359
+ };
1360
+ readonly page_size: {
1361
+ readonly type: "integer";
1362
+ readonly description: "Number of items per page";
1363
+ readonly "x-oapi-codegen-extra-tags": {
1364
+ readonly json: "page_size";
1365
+ };
1366
+ };
1367
+ readonly total_count: {
1368
+ readonly type: "integer";
1369
+ readonly description: "Total number of instances";
1370
+ readonly "x-oapi-codegen-extra-tags": {
1371
+ readonly json: "total_count";
1372
+ };
1373
+ };
1374
+ };
1375
+ readonly required: readonly ["meshery_instances", "page", "page_size", "total_count"];
1376
+ }];
1377
+ };
1378
+ };
1379
+ };
1380
+ };
1381
+ readonly "500": {
1382
+ readonly description: "Server error";
1383
+ };
1384
+ };
1385
+ };
1386
+ };
1387
+ readonly "/api/integrations/connections/status": {
1388
+ readonly get: {
1389
+ readonly "x-internal": readonly ["cloud"];
1390
+ readonly tags: readonly ["Connections"];
1391
+ readonly operationId: "GetConnectionsStatus";
1392
+ readonly summary: "Get connections status summary";
1393
+ readonly description: "Returns aggregated status information for all connections";
1394
+ readonly parameters: readonly [{
1395
+ readonly name: "page";
1396
+ readonly in: "query";
1397
+ readonly description: "Page number";
1398
+ readonly required: false;
1399
+ readonly schema: {
1400
+ readonly type: "integer";
1401
+ readonly default: 0;
1402
+ };
1403
+ }, {
1404
+ readonly name: "pagesize";
1405
+ readonly in: "query";
1406
+ readonly description: "Number of items per page";
1407
+ readonly required: false;
1408
+ readonly schema: {
1409
+ readonly type: "integer";
1410
+ readonly default: 10;
1411
+ };
1412
+ }, {
1413
+ readonly name: "search";
1414
+ readonly in: "query";
1415
+ readonly description: "Search term";
1416
+ readonly required: false;
1417
+ readonly schema: {
1418
+ readonly type: "string";
1419
+ };
1420
+ }, {
1421
+ readonly name: "order";
1422
+ readonly in: "query";
1423
+ readonly description: "Sort order";
1424
+ readonly required: false;
1425
+ readonly schema: {
1426
+ readonly type: "string";
1427
+ };
1428
+ }];
1429
+ readonly responses: {
1430
+ readonly "200": {
1431
+ readonly description: "Connection status summary";
1432
+ readonly content: {
1433
+ readonly "application/json": {
1434
+ readonly schema: {
1435
+ readonly type: "object";
1436
+ readonly description: "Paginated list of connection status counts";
1437
+ readonly properties: {
1438
+ readonly total_count: {
1439
+ readonly type: "integer";
1440
+ readonly description: "Total number of status entries";
1441
+ readonly "x-oapi-codegen-extra-tags": {
1442
+ readonly json: "total_count";
1443
+ };
1444
+ };
1445
+ readonly page: {
1446
+ readonly type: "integer";
1447
+ readonly description: "Current page number";
1448
+ readonly "x-oapi-codegen-extra-tags": {
1449
+ readonly json: "page";
1450
+ };
1451
+ };
1452
+ readonly page_size: {
1453
+ readonly type: "integer";
1454
+ readonly description: "Number of items per page";
1455
+ readonly "x-oapi-codegen-extra-tags": {
1456
+ readonly json: "page_size";
1457
+ };
1458
+ };
1459
+ readonly connections_status: {
1460
+ readonly type: "array";
1461
+ readonly description: "List of status counts";
1462
+ readonly items: {
1463
+ readonly type: "object";
1464
+ readonly description: "Status count information for connections";
1465
+ readonly properties: {
1466
+ readonly status: {
1467
+ readonly type: "string";
1468
+ readonly description: "Status value";
1469
+ readonly "x-oapi-codegen-extra-tags": {
1470
+ readonly json: "status";
1471
+ readonly db: "status";
1472
+ };
1473
+ };
1474
+ readonly count: {
1475
+ readonly type: "integer";
1476
+ readonly description: "Number of connections with this status";
1477
+ readonly "x-oapi-codegen-extra-tags": {
1478
+ readonly json: "count";
1479
+ readonly db: "count";
1480
+ };
1481
+ };
1482
+ };
1483
+ readonly required: readonly ["status", "count"];
1484
+ };
1485
+ readonly "x-oapi-codegen-extra-tags": {
1486
+ readonly json: "connections_status";
1487
+ };
1488
+ };
1489
+ };
1490
+ readonly required: readonly ["total_count", "page", "page_size", "connections_status"];
1491
+ };
1492
+ };
1493
+ };
1494
+ };
1495
+ readonly "500": {
1496
+ readonly description: "Server error";
1497
+ };
1498
+ };
1499
+ };
1500
+ };
1501
+ readonly "/api/integrations/connections/status/{connectionId}": {
1502
+ readonly put: {
1503
+ readonly "x-internal": readonly ["cloud"];
1504
+ readonly tags: readonly ["Connections"];
1505
+ readonly operationId: "UpdateConnectionStatusByID";
1506
+ readonly summary: "Update connection status";
1507
+ readonly description: "Update the status of a specific connection";
1508
+ readonly parameters: readonly [{
1509
+ readonly name: "connectionId";
1510
+ readonly in: "path";
1511
+ readonly required: true;
1512
+ readonly description: "Connection ID";
1513
+ readonly schema: {
1514
+ readonly type: "string";
1515
+ readonly format: "uuid";
1516
+ };
1517
+ }];
1518
+ readonly requestBody: {
1519
+ readonly required: true;
1520
+ readonly content: {
1521
+ readonly "text/plain": {
1522
+ readonly schema: {
1523
+ readonly type: "string";
1524
+ readonly description: "Connection Status Value";
1525
+ readonly "x-go-name": "ConnectionStatusValue";
1526
+ readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
1527
+ };
1528
+ };
1529
+ };
1530
+ };
1531
+ readonly responses: {
1532
+ readonly "200": {
1533
+ readonly description: "Connection status updated successfully";
1534
+ readonly content: {
1535
+ readonly "application/json": {
1536
+ readonly schema: {
1537
+ readonly $id: "https://schemas.meshery.io/connection_page.yaml";
1538
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
1539
+ readonly description: "Represents a page of connections with meta information about connections count";
1540
+ readonly additionalProperties: false;
1541
+ readonly type: "object";
1542
+ readonly required: readonly ["connections", "total_count", "page", "page_size"];
1543
+ readonly properties: {
1544
+ readonly connections: {
1545
+ readonly type: "array";
1546
+ readonly description: "List of connections on this page";
1547
+ readonly items: {
1548
+ readonly "x-go-type": "*Connection";
1549
+ readonly $id: "https://schemas.meshery.io/connection.yaml";
1550
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
1551
+ readonly description: "Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections";
1552
+ readonly additionalProperties: false;
1553
+ readonly type: "object";
1554
+ readonly required: readonly ["id", "schemaVersion", "name", "type", "sub_type", "kind", "status"];
1555
+ readonly properties: {
1556
+ readonly id: {
1557
+ readonly description: "Connection ID";
1558
+ readonly "x-order": 1;
1559
+ readonly "x-go-name": "ID";
1560
+ readonly "x-oapi-codegen-extra-tags": {
1561
+ readonly db: "id";
1562
+ readonly yaml: "id";
1563
+ };
1564
+ readonly type: "string";
1565
+ readonly format: "uuid";
1566
+ readonly "x-go-type": "uuid.UUID";
1567
+ readonly "x-go-type-import": {
1568
+ readonly path: "github.com/gofrs/uuid";
1569
+ };
1570
+ };
1571
+ readonly name: {
1572
+ readonly "x-oapi-codegen-extra-tags": {
1573
+ readonly db: "name";
1574
+ readonly yaml: "name";
1575
+ };
1576
+ readonly "x-order": 2;
1577
+ readonly type: "string";
1578
+ readonly description: "Connection Name";
1579
+ };
1580
+ readonly credential_id: {
1581
+ readonly "x-go-name": "CredentialID";
1582
+ readonly "x-oapi-codegen-extra-tags": {
1583
+ readonly db: "credential_id";
1584
+ readonly yaml: "credential_id";
1585
+ };
1586
+ readonly "x-order": 3;
1587
+ readonly description: "Associated Credential ID";
1588
+ readonly type: "string";
1589
+ readonly format: "uuid";
1590
+ readonly "x-go-type": "uuid.UUID";
1591
+ readonly "x-go-type-import": {
1592
+ readonly path: "github.com/gofrs/uuid";
1593
+ };
1594
+ };
1595
+ readonly type: {
1596
+ readonly "x-oapi-codegen-extra-tags": {
1597
+ readonly db: "type";
1598
+ readonly yaml: "type";
1599
+ };
1600
+ readonly "x-order": 4;
1601
+ readonly type: "string";
1602
+ readonly description: "Connection Type (platform, telemetry, collaboration)";
1603
+ };
1604
+ readonly sub_type: {
1605
+ readonly "x-oapi-codegen-extra-tags": {
1606
+ readonly db: "sub_type";
1607
+ readonly yaml: "sub_type";
1608
+ };
1609
+ readonly "x-order": 5;
1610
+ readonly type: "string";
1611
+ readonly description: "Connection Subtype (cloud, identity, metrics, chat, git, orchestration)";
1612
+ };
1613
+ readonly kind: {
1614
+ readonly "x-oapi-codegen-extra-tags": {
1615
+ readonly db: "kind";
1616
+ readonly yaml: "kind";
1617
+ };
1618
+ readonly "x-order": 6;
1619
+ readonly type: "string";
1620
+ readonly description: "Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)";
1621
+ };
1622
+ readonly metadata: {
1623
+ readonly "x-oapi-codegen-extra-tags": {
1624
+ readonly db: "metadata";
1625
+ readonly yaml: "metadata";
1626
+ };
1627
+ readonly "x-order": 7;
1628
+ readonly "x-go-type": "core.Map";
1629
+ readonly "x-go-type-import": {
1630
+ readonly path: "github.com/meshery/schemas/models/core";
1631
+ };
1632
+ readonly "x-go-type-skip-optional-pointer": true;
1633
+ readonly type: "object";
1634
+ readonly description: "Additional connection metadata";
1635
+ };
1636
+ readonly status: {
1637
+ readonly "x-oapi-codegen-extra-tags": {
1638
+ readonly db: "status";
1639
+ readonly yaml: "status";
1640
+ };
1641
+ readonly "x-order": 8;
1642
+ readonly description: "Connection Status";
1643
+ readonly type: "string";
1644
+ readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
1645
+ };
1646
+ readonly user_id: {
1647
+ readonly "x-go-name": "UserID";
1648
+ readonly "x-oapi-codegen-extra-tags": {
1649
+ readonly db: "user_id";
1650
+ readonly yaml: "user_id";
1651
+ };
1652
+ readonly "x-order": 9;
1653
+ readonly description: "User ID who owns this connection";
1654
+ readonly type: "string";
1655
+ readonly format: "uuid";
1656
+ readonly "x-go-type": "uuid.UUID";
1657
+ readonly "x-go-type-import": {
1658
+ readonly path: "github.com/gofrs/uuid";
1659
+ };
1660
+ };
1661
+ readonly created_at: {
1662
+ readonly "x-oapi-codegen-extra-tags": {
1663
+ readonly db: "created_at";
1664
+ readonly yaml: "created_at";
1665
+ };
1666
+ readonly "x-order": 10;
1667
+ readonly type: "string";
1668
+ readonly format: "date-time";
1669
+ readonly "x-go-type-skip-optional-pointer": true;
1670
+ };
1671
+ readonly updated_at: {
1672
+ readonly "x-oapi-codegen-extra-tags": {
1673
+ readonly db: "updated_at";
1674
+ readonly yaml: "updated_at";
1675
+ };
1676
+ readonly "x-order": 11;
1677
+ readonly type: "string";
1678
+ readonly format: "date-time";
1679
+ readonly "x-go-type-skip-optional-pointer": true;
1680
+ };
1681
+ readonly deleted_at: {
1682
+ readonly "x-oapi-codegen-extra-tags": {
1683
+ readonly db: "deleted_at";
1684
+ readonly yaml: "deleted_at";
1685
+ };
1686
+ readonly "x-go-type": "core.NullTime";
1687
+ readonly "x-go-type-import": {
1688
+ readonly path: "github.com/meshery/schemas/models/core";
1689
+ };
1690
+ readonly "x-order": 12;
1691
+ readonly type: "string";
1692
+ readonly format: "date-time";
1693
+ readonly "x-go-type-skip-optional-pointer": true;
1694
+ };
1695
+ readonly environments: {
1696
+ readonly type: "array";
1697
+ readonly description: "Associated environments for this connection";
1698
+ readonly items: {
1699
+ readonly "x-go-type": "*environment.Environment";
1700
+ readonly "x-go-type-import": {
1701
+ readonly path: "github.com/meshery/schemas/models/v1beta1/environment";
1702
+ };
1703
+ readonly $id: "https://schemas.meshery.io/environment.yaml";
1704
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
1705
+ readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
1706
+ readonly additionalProperties: false;
1707
+ readonly type: "object";
1708
+ readonly required: readonly ["id", "name", "description", "organization_id"];
1709
+ readonly properties: {
1710
+ readonly id: {
1711
+ readonly description: "ID";
1712
+ readonly "x-order": 1;
1713
+ readonly "x-go-name": "ID";
1714
+ readonly "x-oapi-codegen-extra-tags": {
1715
+ readonly db: "id";
1716
+ readonly yaml: "id";
1717
+ };
1718
+ readonly type: "string";
1719
+ readonly format: "uuid";
1720
+ readonly "x-go-type": "uuid.UUID";
1721
+ readonly "x-go-type-import": {
1722
+ readonly path: "github.com/gofrs/uuid";
1723
+ };
1724
+ };
1725
+ readonly name: {
1726
+ readonly "x-oapi-codegen-extra-tags": {
1727
+ readonly db: "name";
1728
+ readonly yaml: "name";
1729
+ };
1730
+ readonly "x-order": 2;
1731
+ readonly type: "string";
1732
+ readonly description: "Environment name";
1733
+ };
1734
+ readonly description: {
1735
+ readonly "x-oapi-codegen-extra-tags": {
1736
+ readonly db: "description";
1737
+ readonly yaml: "description";
1738
+ };
1739
+ readonly "x-order": 3;
1740
+ readonly type: "string";
1741
+ readonly description: "Environment description";
1742
+ };
1743
+ readonly organization_id: {
1744
+ readonly "x-go-name": "OrganizationID";
1745
+ readonly "x-oapi-codegen-extra-tags": {
1746
+ readonly db: "organization_id";
1747
+ readonly yaml: "organization_id";
1748
+ };
1749
+ readonly "x-order": 4;
1750
+ readonly description: "Environment organization ID";
1751
+ readonly type: "string";
1752
+ readonly format: "uuid";
1753
+ readonly "x-go-type": "uuid.UUID";
1754
+ readonly "x-go-type-import": {
1755
+ readonly path: "github.com/gofrs/uuid";
1756
+ };
1757
+ };
1758
+ readonly owner: {
1759
+ readonly "x-oapi-codegen-extra-tags": {
1760
+ readonly db: "owner";
1761
+ readonly yaml: "owner";
1762
+ };
1763
+ readonly "x-order": 5;
1764
+ readonly description: "Environment owner";
1765
+ readonly type: "string";
1766
+ readonly format: "uuid";
1767
+ readonly "x-go-type": "uuid.UUID";
1768
+ readonly "x-go-type-import": {
1769
+ readonly path: "github.com/gofrs/uuid";
1770
+ };
1771
+ };
1772
+ readonly created_at: {
1773
+ readonly "x-oapi-codegen-extra-tags": {
1774
+ readonly db: "created_at";
1775
+ readonly yaml: "created_at";
1776
+ };
1777
+ readonly "x-order": 6;
1778
+ readonly type: "string";
1779
+ readonly format: "date-time";
1780
+ readonly "x-go-type-skip-optional-pointer": true;
1781
+ };
1782
+ readonly metadata: {
1783
+ readonly "x-oapi-codegen-extra-tags": {
1784
+ readonly db: "metadata";
1785
+ readonly yaml: "metadata";
1786
+ };
1787
+ readonly "x-order": 7;
1788
+ readonly "x-go-type": "core.Map";
1789
+ readonly "x-go-type-skip-optional-pointer": true;
1790
+ readonly type: "object";
1791
+ };
1792
+ readonly updated_at: {
1793
+ readonly "x-oapi-codegen-extra-tags": {
1794
+ readonly db: "updated_at";
1795
+ readonly yaml: "updated_at";
1796
+ };
1797
+ readonly "x-order": 8;
1798
+ readonly type: "string";
1799
+ readonly format: "date-time";
1800
+ readonly "x-go-type-skip-optional-pointer": true;
1801
+ };
1802
+ readonly deleted_at: {
1803
+ readonly "x-oapi-codegen-extra-tags": {
1804
+ readonly db: "deleted_at";
1805
+ readonly yaml: "deleted_at";
1806
+ };
1807
+ readonly "x-go-type": "core.NullTime";
1808
+ readonly "x-go-import": "database/sql";
1809
+ readonly "x-order": 9;
1810
+ readonly type: "string";
1811
+ readonly format: "date-time";
1812
+ readonly "x-go-type-skip-optional-pointer": true;
1813
+ };
1814
+ };
1815
+ };
1816
+ readonly "x-oapi-codegen-extra-tags": {
1817
+ readonly db: "-";
1818
+ readonly yaml: "environments";
1819
+ readonly gorm: "-";
1820
+ };
1821
+ readonly "x-go-type-skip-optional-pointer": true;
1822
+ readonly "x-order": 13;
1823
+ };
1824
+ readonly schemaVersion: {
1825
+ readonly description: "Specifies the version of the schema used for the definition.";
1826
+ readonly "x-order": 14;
1827
+ readonly "x-oapi-codegen-extra-tags": {
1828
+ readonly yaml: "schemaVersion";
1829
+ readonly db: "-";
1830
+ readonly gorm: "-";
1831
+ };
1832
+ readonly default: "connections.meshery.io/v1beta1";
1833
+ readonly type: "string";
1834
+ readonly minLength: 2;
1835
+ readonly maxLength: 100;
1836
+ readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
1837
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
1838
+ };
1839
+ };
1840
+ };
1841
+ readonly "x-order": 1;
1842
+ };
1843
+ readonly total_count: {
1844
+ readonly type: "integer";
1845
+ readonly description: "Total number of connections on all pages";
1846
+ readonly "x-oapi-codegen-extra-tags": {
1847
+ readonly json: "total_count";
1848
+ readonly yaml: "total_count";
1849
+ };
1850
+ readonly "x-order": 2;
1851
+ };
1852
+ readonly page: {
1853
+ readonly type: "integer";
1854
+ readonly description: "Current page number";
1855
+ readonly "x-oapi-codegen-extra-tags": {
1856
+ readonly json: "page";
1857
+ readonly yaml: "page";
1858
+ };
1859
+ readonly "x-order": 3;
1860
+ };
1861
+ readonly page_size: {
1862
+ readonly type: "integer";
1863
+ readonly description: "Number of elements per page";
1864
+ readonly "x-oapi-codegen-extra-tags": {
1865
+ readonly json: "page_size";
1866
+ readonly yaml: "page_size";
1867
+ };
1868
+ readonly "x-order": 4;
1869
+ };
1870
+ };
1871
+ };
1872
+ };
1873
+ };
1874
+ };
1875
+ readonly "404": {
1876
+ readonly description: "Connection not found";
1877
+ };
1878
+ readonly "500": {
1879
+ readonly description: "Server error";
1880
+ };
1881
+ };
1882
+ };
1883
+ };
1884
+ readonly "/api/integrations/connections/{connectionKind}/{connectionId}": {
1885
+ readonly get: {
1886
+ readonly "x-internal": readonly ["cloud"];
1887
+ readonly tags: readonly ["Connections"];
1888
+ readonly operationId: "GetConnectionByID";
1889
+ readonly summary: "Get connection by ID";
1890
+ readonly description: "Returns a specific connection by kind and ID";
1891
+ readonly parameters: readonly [{
1892
+ readonly name: "connectionKind";
1893
+ readonly in: "path";
1894
+ readonly required: true;
1895
+ readonly description: "Connection kind (meshery, kubernetes, prometheus, grafana, etc.)";
1896
+ readonly schema: {
1897
+ readonly type: "string";
1898
+ };
1899
+ }, {
1900
+ readonly name: "connectionId";
1901
+ readonly in: "path";
1902
+ readonly required: true;
1903
+ readonly description: "Connection ID";
1904
+ readonly schema: {
1905
+ readonly type: "string";
1906
+ readonly format: "uuid";
1907
+ };
1908
+ }];
1909
+ readonly responses: {
1910
+ readonly "200": {
1911
+ readonly description: "Connection details";
1912
+ readonly content: {
1913
+ readonly "application/json": {
1914
+ readonly schema: {
1915
+ readonly $id: "https://schemas.meshery.io/connection.yaml";
1916
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
1917
+ readonly description: "Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections";
1918
+ readonly additionalProperties: false;
1919
+ readonly type: "object";
1920
+ readonly required: readonly ["id", "schemaVersion", "name", "type", "sub_type", "kind", "status"];
1921
+ readonly properties: {
1922
+ readonly id: {
1923
+ readonly description: "Connection ID";
1924
+ readonly "x-order": 1;
1925
+ readonly "x-go-name": "ID";
1926
+ readonly "x-oapi-codegen-extra-tags": {
1927
+ readonly db: "id";
1928
+ readonly yaml: "id";
1929
+ };
1930
+ readonly type: "string";
1931
+ readonly format: "uuid";
1932
+ readonly "x-go-type": "uuid.UUID";
1933
+ readonly "x-go-type-import": {
1934
+ readonly path: "github.com/gofrs/uuid";
1935
+ };
1936
+ };
1937
+ readonly name: {
1938
+ readonly "x-oapi-codegen-extra-tags": {
1939
+ readonly db: "name";
1940
+ readonly yaml: "name";
1941
+ };
1942
+ readonly "x-order": 2;
1943
+ readonly type: "string";
1944
+ readonly description: "Connection Name";
1945
+ };
1946
+ readonly credential_id: {
1947
+ readonly "x-go-name": "CredentialID";
1948
+ readonly "x-oapi-codegen-extra-tags": {
1949
+ readonly db: "credential_id";
1950
+ readonly yaml: "credential_id";
1951
+ };
1952
+ readonly "x-order": 3;
1953
+ readonly description: "Associated Credential ID";
1954
+ readonly type: "string";
1955
+ readonly format: "uuid";
1956
+ readonly "x-go-type": "uuid.UUID";
1957
+ readonly "x-go-type-import": {
1958
+ readonly path: "github.com/gofrs/uuid";
1959
+ };
1960
+ };
1961
+ readonly type: {
1962
+ readonly "x-oapi-codegen-extra-tags": {
1963
+ readonly db: "type";
1964
+ readonly yaml: "type";
1965
+ };
1966
+ readonly "x-order": 4;
1967
+ readonly type: "string";
1968
+ readonly description: "Connection Type (platform, telemetry, collaboration)";
1969
+ };
1970
+ readonly sub_type: {
1971
+ readonly "x-oapi-codegen-extra-tags": {
1972
+ readonly db: "sub_type";
1973
+ readonly yaml: "sub_type";
1974
+ };
1975
+ readonly "x-order": 5;
1976
+ readonly type: "string";
1977
+ readonly description: "Connection Subtype (cloud, identity, metrics, chat, git, orchestration)";
1978
+ };
1979
+ readonly kind: {
1980
+ readonly "x-oapi-codegen-extra-tags": {
1981
+ readonly db: "kind";
1982
+ readonly yaml: "kind";
1983
+ };
1984
+ readonly "x-order": 6;
1985
+ readonly type: "string";
1986
+ readonly description: "Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)";
1987
+ };
1988
+ readonly metadata: {
1989
+ readonly "x-oapi-codegen-extra-tags": {
1990
+ readonly db: "metadata";
1991
+ readonly yaml: "metadata";
1992
+ };
1993
+ readonly "x-order": 7;
1994
+ readonly "x-go-type": "core.Map";
1995
+ readonly "x-go-type-import": {
1996
+ readonly path: "github.com/meshery/schemas/models/core";
1997
+ };
1998
+ readonly "x-go-type-skip-optional-pointer": true;
1999
+ readonly type: "object";
2000
+ readonly description: "Additional connection metadata";
2001
+ };
2002
+ readonly status: {
2003
+ readonly "x-oapi-codegen-extra-tags": {
2004
+ readonly db: "status";
2005
+ readonly yaml: "status";
2006
+ };
2007
+ readonly "x-order": 8;
2008
+ readonly description: "Connection Status";
2009
+ readonly type: "string";
2010
+ readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
2011
+ };
2012
+ readonly user_id: {
2013
+ readonly "x-go-name": "UserID";
2014
+ readonly "x-oapi-codegen-extra-tags": {
2015
+ readonly db: "user_id";
2016
+ readonly yaml: "user_id";
2017
+ };
2018
+ readonly "x-order": 9;
2019
+ readonly description: "User ID who owns this connection";
2020
+ readonly type: "string";
2021
+ readonly format: "uuid";
2022
+ readonly "x-go-type": "uuid.UUID";
2023
+ readonly "x-go-type-import": {
2024
+ readonly path: "github.com/gofrs/uuid";
2025
+ };
2026
+ };
2027
+ readonly created_at: {
2028
+ readonly "x-oapi-codegen-extra-tags": {
2029
+ readonly db: "created_at";
2030
+ readonly yaml: "created_at";
2031
+ };
2032
+ readonly "x-order": 10;
2033
+ readonly type: "string";
2034
+ readonly format: "date-time";
2035
+ readonly "x-go-type-skip-optional-pointer": true;
2036
+ };
2037
+ readonly updated_at: {
2038
+ readonly "x-oapi-codegen-extra-tags": {
2039
+ readonly db: "updated_at";
2040
+ readonly yaml: "updated_at";
2041
+ };
2042
+ readonly "x-order": 11;
2043
+ readonly type: "string";
2044
+ readonly format: "date-time";
2045
+ readonly "x-go-type-skip-optional-pointer": true;
2046
+ };
2047
+ readonly deleted_at: {
2048
+ readonly "x-oapi-codegen-extra-tags": {
2049
+ readonly db: "deleted_at";
2050
+ readonly yaml: "deleted_at";
2051
+ };
2052
+ readonly "x-go-type": "core.NullTime";
2053
+ readonly "x-go-type-import": {
2054
+ readonly path: "github.com/meshery/schemas/models/core";
2055
+ };
2056
+ readonly "x-order": 12;
2057
+ readonly type: "string";
2058
+ readonly format: "date-time";
2059
+ readonly "x-go-type-skip-optional-pointer": true;
2060
+ };
2061
+ readonly environments: {
2062
+ readonly type: "array";
2063
+ readonly description: "Associated environments for this connection";
2064
+ readonly items: {
2065
+ readonly "x-go-type": "*environment.Environment";
2066
+ readonly "x-go-type-import": {
2067
+ readonly path: "github.com/meshery/schemas/models/v1beta1/environment";
2068
+ };
2069
+ readonly $id: "https://schemas.meshery.io/environment.yaml";
2070
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
2071
+ readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
2072
+ readonly additionalProperties: false;
2073
+ readonly type: "object";
2074
+ readonly required: readonly ["id", "name", "description", "organization_id"];
2075
+ readonly properties: {
2076
+ readonly id: {
2077
+ readonly description: "ID";
2078
+ readonly "x-order": 1;
2079
+ readonly "x-go-name": "ID";
2080
+ readonly "x-oapi-codegen-extra-tags": {
2081
+ readonly db: "id";
2082
+ readonly yaml: "id";
2083
+ };
2084
+ readonly type: "string";
2085
+ readonly format: "uuid";
2086
+ readonly "x-go-type": "uuid.UUID";
2087
+ readonly "x-go-type-import": {
2088
+ readonly path: "github.com/gofrs/uuid";
2089
+ };
2090
+ };
2091
+ readonly name: {
2092
+ readonly "x-oapi-codegen-extra-tags": {
2093
+ readonly db: "name";
2094
+ readonly yaml: "name";
2095
+ };
2096
+ readonly "x-order": 2;
2097
+ readonly type: "string";
2098
+ readonly description: "Environment name";
2099
+ };
2100
+ readonly description: {
2101
+ readonly "x-oapi-codegen-extra-tags": {
2102
+ readonly db: "description";
2103
+ readonly yaml: "description";
2104
+ };
2105
+ readonly "x-order": 3;
2106
+ readonly type: "string";
2107
+ readonly description: "Environment description";
2108
+ };
2109
+ readonly organization_id: {
2110
+ readonly "x-go-name": "OrganizationID";
2111
+ readonly "x-oapi-codegen-extra-tags": {
2112
+ readonly db: "organization_id";
2113
+ readonly yaml: "organization_id";
2114
+ };
2115
+ readonly "x-order": 4;
2116
+ readonly description: "Environment organization ID";
2117
+ readonly type: "string";
2118
+ readonly format: "uuid";
2119
+ readonly "x-go-type": "uuid.UUID";
2120
+ readonly "x-go-type-import": {
2121
+ readonly path: "github.com/gofrs/uuid";
2122
+ };
2123
+ };
2124
+ readonly owner: {
2125
+ readonly "x-oapi-codegen-extra-tags": {
2126
+ readonly db: "owner";
2127
+ readonly yaml: "owner";
2128
+ };
2129
+ readonly "x-order": 5;
2130
+ readonly description: "Environment owner";
2131
+ readonly type: "string";
2132
+ readonly format: "uuid";
2133
+ readonly "x-go-type": "uuid.UUID";
2134
+ readonly "x-go-type-import": {
2135
+ readonly path: "github.com/gofrs/uuid";
2136
+ };
2137
+ };
2138
+ readonly created_at: {
2139
+ readonly "x-oapi-codegen-extra-tags": {
2140
+ readonly db: "created_at";
2141
+ readonly yaml: "created_at";
2142
+ };
2143
+ readonly "x-order": 6;
2144
+ readonly type: "string";
2145
+ readonly format: "date-time";
2146
+ readonly "x-go-type-skip-optional-pointer": true;
2147
+ };
2148
+ readonly metadata: {
2149
+ readonly "x-oapi-codegen-extra-tags": {
2150
+ readonly db: "metadata";
2151
+ readonly yaml: "metadata";
2152
+ };
2153
+ readonly "x-order": 7;
2154
+ readonly "x-go-type": "core.Map";
2155
+ readonly "x-go-type-skip-optional-pointer": true;
2156
+ readonly type: "object";
2157
+ };
2158
+ readonly updated_at: {
2159
+ readonly "x-oapi-codegen-extra-tags": {
2160
+ readonly db: "updated_at";
2161
+ readonly yaml: "updated_at";
2162
+ };
2163
+ readonly "x-order": 8;
2164
+ readonly type: "string";
2165
+ readonly format: "date-time";
2166
+ readonly "x-go-type-skip-optional-pointer": true;
2167
+ };
2168
+ readonly deleted_at: {
2169
+ readonly "x-oapi-codegen-extra-tags": {
2170
+ readonly db: "deleted_at";
2171
+ readonly yaml: "deleted_at";
2172
+ };
2173
+ readonly "x-go-type": "core.NullTime";
2174
+ readonly "x-go-import": "database/sql";
2175
+ readonly "x-order": 9;
2176
+ readonly type: "string";
2177
+ readonly format: "date-time";
2178
+ readonly "x-go-type-skip-optional-pointer": true;
2179
+ };
2180
+ };
2181
+ };
2182
+ readonly "x-oapi-codegen-extra-tags": {
2183
+ readonly db: "-";
2184
+ readonly yaml: "environments";
2185
+ readonly gorm: "-";
2186
+ };
2187
+ readonly "x-go-type-skip-optional-pointer": true;
2188
+ readonly "x-order": 13;
2189
+ };
2190
+ readonly schemaVersion: {
2191
+ readonly description: "Specifies the version of the schema used for the definition.";
2192
+ readonly "x-order": 14;
2193
+ readonly "x-oapi-codegen-extra-tags": {
2194
+ readonly yaml: "schemaVersion";
2195
+ readonly db: "-";
2196
+ readonly gorm: "-";
2197
+ };
2198
+ readonly default: "connections.meshery.io/v1beta1";
2199
+ readonly type: "string";
2200
+ readonly minLength: 2;
2201
+ readonly maxLength: 100;
2202
+ readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
2203
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
2204
+ };
2205
+ };
2206
+ };
2207
+ };
2208
+ };
2209
+ };
2210
+ readonly "404": {
2211
+ readonly description: "Connection not found";
2212
+ };
2213
+ readonly "500": {
2214
+ readonly description: "Server error";
2215
+ };
2216
+ };
2217
+ };
2218
+ };
2219
+ readonly "/api/integrations/connections/{connectionId}": {
2220
+ readonly put: {
2221
+ readonly "x-internal": readonly ["cloud"];
2222
+ readonly tags: readonly ["Connections"];
2223
+ readonly operationId: "UpdateConnection";
2224
+ readonly summary: "Update a connection";
2225
+ readonly description: "Update an existing connection";
2226
+ readonly parameters: readonly [{
2227
+ readonly name: "connectionId";
2228
+ readonly in: "path";
2229
+ readonly required: true;
2230
+ readonly description: "Connection ID";
2231
+ readonly schema: {
2232
+ readonly type: "string";
2233
+ readonly format: "uuid";
2234
+ };
2235
+ }];
2236
+ readonly requestBody: {
2237
+ readonly required: true;
2238
+ readonly content: {
2239
+ readonly "application/json": {
2240
+ readonly schema: {
2241
+ readonly type: "object";
2242
+ readonly description: "Payload for creating or updating a connection";
2243
+ readonly properties: {
2244
+ readonly id: {
2245
+ readonly type: "string";
2246
+ readonly format: "uuid";
2247
+ readonly description: "Connection ID";
2248
+ readonly "x-go-name": "ConnectionID";
2249
+ readonly "x-oapi-codegen-extra-tags": {
2250
+ readonly json: "id,omitempty";
2251
+ };
2252
+ };
2253
+ readonly name: {
2254
+ readonly type: "string";
2255
+ readonly description: "Connection name";
2256
+ readonly "x-oapi-codegen-extra-tags": {
2257
+ readonly json: "name";
2258
+ };
2259
+ };
2260
+ readonly kind: {
2261
+ readonly type: "string";
2262
+ readonly description: "Connection kind";
2263
+ readonly "x-oapi-codegen-extra-tags": {
2264
+ readonly json: "kind";
2265
+ };
2266
+ };
2267
+ readonly type: {
2268
+ readonly type: "string";
2269
+ readonly description: "Connection type";
2270
+ readonly "x-oapi-codegen-extra-tags": {
2271
+ readonly json: "type";
2272
+ };
2273
+ };
2274
+ readonly sub_type: {
2275
+ readonly type: "string";
2276
+ readonly description: "Connection sub-type";
2277
+ readonly "x-oapi-codegen-extra-tags": {
2278
+ readonly json: "sub_type";
2279
+ };
2280
+ };
2281
+ readonly credential_secret: {
2282
+ readonly type: "object";
2283
+ readonly description: "Credential secret data";
2284
+ readonly "x-go-type": "core.Map";
2285
+ readonly "x-go-type-import": {
2286
+ readonly path: "github.com/meshery/schemas/models/core";
2287
+ };
2288
+ readonly "x-go-type-skip-optional-pointer": true;
2289
+ readonly "x-oapi-codegen-extra-tags": {
2290
+ readonly json: "credential_secret";
2291
+ };
2292
+ };
2293
+ readonly metadata: {
2294
+ readonly type: "object";
2295
+ readonly description: "Connection metadata";
2296
+ readonly "x-go-type": "core.Map";
2297
+ readonly "x-go-type-import": {
2298
+ readonly path: "github.com/meshery/schemas/models/core";
2299
+ };
2300
+ readonly "x-go-type-skip-optional-pointer": true;
2301
+ readonly "x-oapi-codegen-extra-tags": {
2302
+ readonly json: "metadata";
2303
+ };
2304
+ };
2305
+ readonly status: {
2306
+ readonly type: "string";
2307
+ readonly description: "Connection status";
2308
+ readonly "x-oapi-codegen-extra-tags": {
2309
+ readonly json: "status";
2310
+ };
2311
+ };
2312
+ readonly credential_id: {
2313
+ readonly type: "string";
2314
+ readonly format: "uuid";
2315
+ readonly description: "Associated credential ID";
2316
+ readonly "x-go-name": "CredentialID";
2317
+ readonly "x-oapi-codegen-extra-tags": {
2318
+ readonly json: "credential_id,omitempty";
2319
+ };
2320
+ };
2321
+ };
2322
+ readonly required: readonly ["name", "kind", "type", "sub_type", "status"];
2323
+ };
2324
+ };
2325
+ };
2326
+ };
2327
+ readonly responses: {
2328
+ readonly "200": {
2329
+ readonly description: "Connection updated successfully";
2330
+ readonly content: {
2331
+ readonly "application/json": {
2332
+ readonly schema: {
2333
+ readonly $id: "https://schemas.meshery.io/connection.yaml";
2334
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
2335
+ readonly description: "Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections";
2336
+ readonly additionalProperties: false;
2337
+ readonly type: "object";
2338
+ readonly required: readonly ["id", "schemaVersion", "name", "type", "sub_type", "kind", "status"];
2339
+ readonly properties: {
2340
+ readonly id: {
2341
+ readonly description: "Connection ID";
2342
+ readonly "x-order": 1;
2343
+ readonly "x-go-name": "ID";
2344
+ readonly "x-oapi-codegen-extra-tags": {
2345
+ readonly db: "id";
2346
+ readonly yaml: "id";
2347
+ };
2348
+ readonly type: "string";
2349
+ readonly format: "uuid";
2350
+ readonly "x-go-type": "uuid.UUID";
2351
+ readonly "x-go-type-import": {
2352
+ readonly path: "github.com/gofrs/uuid";
2353
+ };
2354
+ };
2355
+ readonly name: {
2356
+ readonly "x-oapi-codegen-extra-tags": {
2357
+ readonly db: "name";
2358
+ readonly yaml: "name";
2359
+ };
2360
+ readonly "x-order": 2;
2361
+ readonly type: "string";
2362
+ readonly description: "Connection Name";
2363
+ };
2364
+ readonly credential_id: {
2365
+ readonly "x-go-name": "CredentialID";
2366
+ readonly "x-oapi-codegen-extra-tags": {
2367
+ readonly db: "credential_id";
2368
+ readonly yaml: "credential_id";
2369
+ };
2370
+ readonly "x-order": 3;
2371
+ readonly description: "Associated Credential ID";
2372
+ readonly type: "string";
2373
+ readonly format: "uuid";
2374
+ readonly "x-go-type": "uuid.UUID";
2375
+ readonly "x-go-type-import": {
2376
+ readonly path: "github.com/gofrs/uuid";
2377
+ };
2378
+ };
2379
+ readonly type: {
2380
+ readonly "x-oapi-codegen-extra-tags": {
2381
+ readonly db: "type";
2382
+ readonly yaml: "type";
2383
+ };
2384
+ readonly "x-order": 4;
2385
+ readonly type: "string";
2386
+ readonly description: "Connection Type (platform, telemetry, collaboration)";
2387
+ };
2388
+ readonly sub_type: {
2389
+ readonly "x-oapi-codegen-extra-tags": {
2390
+ readonly db: "sub_type";
2391
+ readonly yaml: "sub_type";
2392
+ };
2393
+ readonly "x-order": 5;
2394
+ readonly type: "string";
2395
+ readonly description: "Connection Subtype (cloud, identity, metrics, chat, git, orchestration)";
2396
+ };
2397
+ readonly kind: {
2398
+ readonly "x-oapi-codegen-extra-tags": {
2399
+ readonly db: "kind";
2400
+ readonly yaml: "kind";
2401
+ };
2402
+ readonly "x-order": 6;
2403
+ readonly type: "string";
2404
+ readonly description: "Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)";
2405
+ };
2406
+ readonly metadata: {
2407
+ readonly "x-oapi-codegen-extra-tags": {
2408
+ readonly db: "metadata";
2409
+ readonly yaml: "metadata";
2410
+ };
2411
+ readonly "x-order": 7;
2412
+ readonly "x-go-type": "core.Map";
2413
+ readonly "x-go-type-import": {
2414
+ readonly path: "github.com/meshery/schemas/models/core";
2415
+ };
2416
+ readonly "x-go-type-skip-optional-pointer": true;
2417
+ readonly type: "object";
2418
+ readonly description: "Additional connection metadata";
2419
+ };
2420
+ readonly status: {
2421
+ readonly "x-oapi-codegen-extra-tags": {
2422
+ readonly db: "status";
2423
+ readonly yaml: "status";
2424
+ };
2425
+ readonly "x-order": 8;
2426
+ readonly description: "Connection Status";
2427
+ readonly type: "string";
2428
+ readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
2429
+ };
2430
+ readonly user_id: {
2431
+ readonly "x-go-name": "UserID";
2432
+ readonly "x-oapi-codegen-extra-tags": {
2433
+ readonly db: "user_id";
2434
+ readonly yaml: "user_id";
2435
+ };
2436
+ readonly "x-order": 9;
2437
+ readonly description: "User ID who owns this connection";
2438
+ readonly type: "string";
2439
+ readonly format: "uuid";
2440
+ readonly "x-go-type": "uuid.UUID";
2441
+ readonly "x-go-type-import": {
2442
+ readonly path: "github.com/gofrs/uuid";
2443
+ };
2444
+ };
2445
+ readonly created_at: {
2446
+ readonly "x-oapi-codegen-extra-tags": {
2447
+ readonly db: "created_at";
2448
+ readonly yaml: "created_at";
2449
+ };
2450
+ readonly "x-order": 10;
2451
+ readonly type: "string";
2452
+ readonly format: "date-time";
2453
+ readonly "x-go-type-skip-optional-pointer": true;
2454
+ };
2455
+ readonly updated_at: {
2456
+ readonly "x-oapi-codegen-extra-tags": {
2457
+ readonly db: "updated_at";
2458
+ readonly yaml: "updated_at";
2459
+ };
2460
+ readonly "x-order": 11;
2461
+ readonly type: "string";
2462
+ readonly format: "date-time";
2463
+ readonly "x-go-type-skip-optional-pointer": true;
2464
+ };
2465
+ readonly deleted_at: {
2466
+ readonly "x-oapi-codegen-extra-tags": {
2467
+ readonly db: "deleted_at";
2468
+ readonly yaml: "deleted_at";
2469
+ };
2470
+ readonly "x-go-type": "core.NullTime";
2471
+ readonly "x-go-type-import": {
2472
+ readonly path: "github.com/meshery/schemas/models/core";
2473
+ };
2474
+ readonly "x-order": 12;
2475
+ readonly type: "string";
2476
+ readonly format: "date-time";
2477
+ readonly "x-go-type-skip-optional-pointer": true;
2478
+ };
2479
+ readonly environments: {
2480
+ readonly type: "array";
2481
+ readonly description: "Associated environments for this connection";
2482
+ readonly items: {
2483
+ readonly "x-go-type": "*environment.Environment";
2484
+ readonly "x-go-type-import": {
2485
+ readonly path: "github.com/meshery/schemas/models/v1beta1/environment";
2486
+ };
2487
+ readonly $id: "https://schemas.meshery.io/environment.yaml";
2488
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
2489
+ readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
2490
+ readonly additionalProperties: false;
2491
+ readonly type: "object";
2492
+ readonly required: readonly ["id", "name", "description", "organization_id"];
2493
+ readonly properties: {
2494
+ readonly id: {
2495
+ readonly description: "ID";
2496
+ readonly "x-order": 1;
2497
+ readonly "x-go-name": "ID";
2498
+ readonly "x-oapi-codegen-extra-tags": {
2499
+ readonly db: "id";
2500
+ readonly yaml: "id";
2501
+ };
2502
+ readonly type: "string";
2503
+ readonly format: "uuid";
2504
+ readonly "x-go-type": "uuid.UUID";
2505
+ readonly "x-go-type-import": {
2506
+ readonly path: "github.com/gofrs/uuid";
2507
+ };
2508
+ };
2509
+ readonly name: {
2510
+ readonly "x-oapi-codegen-extra-tags": {
2511
+ readonly db: "name";
2512
+ readonly yaml: "name";
2513
+ };
2514
+ readonly "x-order": 2;
2515
+ readonly type: "string";
2516
+ readonly description: "Environment name";
2517
+ };
2518
+ readonly description: {
2519
+ readonly "x-oapi-codegen-extra-tags": {
2520
+ readonly db: "description";
2521
+ readonly yaml: "description";
2522
+ };
2523
+ readonly "x-order": 3;
2524
+ readonly type: "string";
2525
+ readonly description: "Environment description";
2526
+ };
2527
+ readonly organization_id: {
2528
+ readonly "x-go-name": "OrganizationID";
2529
+ readonly "x-oapi-codegen-extra-tags": {
2530
+ readonly db: "organization_id";
2531
+ readonly yaml: "organization_id";
2532
+ };
2533
+ readonly "x-order": 4;
2534
+ readonly description: "Environment organization ID";
2535
+ readonly type: "string";
2536
+ readonly format: "uuid";
2537
+ readonly "x-go-type": "uuid.UUID";
2538
+ readonly "x-go-type-import": {
2539
+ readonly path: "github.com/gofrs/uuid";
2540
+ };
2541
+ };
2542
+ readonly owner: {
2543
+ readonly "x-oapi-codegen-extra-tags": {
2544
+ readonly db: "owner";
2545
+ readonly yaml: "owner";
2546
+ };
2547
+ readonly "x-order": 5;
2548
+ readonly description: "Environment owner";
2549
+ readonly type: "string";
2550
+ readonly format: "uuid";
2551
+ readonly "x-go-type": "uuid.UUID";
2552
+ readonly "x-go-type-import": {
2553
+ readonly path: "github.com/gofrs/uuid";
2554
+ };
2555
+ };
2556
+ readonly created_at: {
2557
+ readonly "x-oapi-codegen-extra-tags": {
2558
+ readonly db: "created_at";
2559
+ readonly yaml: "created_at";
2560
+ };
2561
+ readonly "x-order": 6;
2562
+ readonly type: "string";
2563
+ readonly format: "date-time";
2564
+ readonly "x-go-type-skip-optional-pointer": true;
2565
+ };
2566
+ readonly metadata: {
2567
+ readonly "x-oapi-codegen-extra-tags": {
2568
+ readonly db: "metadata";
2569
+ readonly yaml: "metadata";
2570
+ };
2571
+ readonly "x-order": 7;
2572
+ readonly "x-go-type": "core.Map";
2573
+ readonly "x-go-type-skip-optional-pointer": true;
2574
+ readonly type: "object";
2575
+ };
2576
+ readonly updated_at: {
2577
+ readonly "x-oapi-codegen-extra-tags": {
2578
+ readonly db: "updated_at";
2579
+ readonly yaml: "updated_at";
2580
+ };
2581
+ readonly "x-order": 8;
2582
+ readonly type: "string";
2583
+ readonly format: "date-time";
2584
+ readonly "x-go-type-skip-optional-pointer": true;
2585
+ };
2586
+ readonly deleted_at: {
2587
+ readonly "x-oapi-codegen-extra-tags": {
2588
+ readonly db: "deleted_at";
2589
+ readonly yaml: "deleted_at";
2590
+ };
2591
+ readonly "x-go-type": "core.NullTime";
2592
+ readonly "x-go-import": "database/sql";
2593
+ readonly "x-order": 9;
2594
+ readonly type: "string";
2595
+ readonly format: "date-time";
2596
+ readonly "x-go-type-skip-optional-pointer": true;
2597
+ };
2598
+ };
2599
+ };
2600
+ readonly "x-oapi-codegen-extra-tags": {
2601
+ readonly db: "-";
2602
+ readonly yaml: "environments";
2603
+ readonly gorm: "-";
2604
+ };
2605
+ readonly "x-go-type-skip-optional-pointer": true;
2606
+ readonly "x-order": 13;
2607
+ };
2608
+ readonly schemaVersion: {
2609
+ readonly description: "Specifies the version of the schema used for the definition.";
2610
+ readonly "x-order": 14;
2611
+ readonly "x-oapi-codegen-extra-tags": {
2612
+ readonly yaml: "schemaVersion";
2613
+ readonly db: "-";
2614
+ readonly gorm: "-";
2615
+ };
2616
+ readonly default: "connections.meshery.io/v1beta1";
2617
+ readonly type: "string";
2618
+ readonly minLength: 2;
2619
+ readonly maxLength: 100;
2620
+ readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
2621
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
2622
+ };
2623
+ };
2624
+ };
2625
+ };
2626
+ };
2627
+ };
2628
+ readonly "404": {
2629
+ readonly description: "Connection not found";
2630
+ };
2631
+ readonly "500": {
2632
+ readonly description: "Server error";
2633
+ };
2634
+ };
2635
+ };
2636
+ readonly delete: {
2637
+ readonly "x-internal": readonly ["cloud"];
2638
+ readonly tags: readonly ["Connections"];
2639
+ readonly operationId: "DeleteConnection";
2640
+ readonly summary: "Delete a connection";
2641
+ readonly description: "Delete a specific connection";
2642
+ readonly parameters: readonly [{
2643
+ readonly name: "connectionId";
2644
+ readonly in: "path";
2645
+ readonly required: true;
2646
+ readonly description: "Connection ID";
2647
+ readonly schema: {
2648
+ readonly type: "string";
2649
+ readonly format: "uuid";
2650
+ };
2651
+ }];
2652
+ readonly responses: {
2653
+ readonly "204": {
2654
+ readonly description: "Connection deleted successfully";
2655
+ };
2656
+ readonly "404": {
2657
+ readonly description: "Connection not found";
2658
+ };
2659
+ readonly "500": {
2660
+ readonly description: "Server error";
2661
+ };
2662
+ };
2663
+ };
2664
+ };
2665
+ readonly "/api/integrations/connections/meshery/{mesheryServerId}": {
2666
+ readonly delete: {
2667
+ readonly "x-internal": readonly ["cloud"];
2668
+ readonly tags: readonly ["Connections"];
2669
+ readonly operationId: "DeleteMesheryConnection";
2670
+ readonly summary: "Delete Meshery instance connection";
2671
+ readonly description: "Delete a Meshery server connection by server ID";
2672
+ readonly parameters: readonly [{
2673
+ readonly name: "mesheryServerId";
2674
+ readonly in: "path";
2675
+ readonly required: true;
2676
+ readonly description: "Meshery server ID";
2677
+ readonly schema: {
2678
+ readonly type: "string";
2679
+ readonly format: "uuid";
2680
+ };
2681
+ }];
2682
+ readonly responses: {
2683
+ readonly "204": {
2684
+ readonly description: "Meshery connection deleted successfully";
2685
+ };
2686
+ readonly "404": {
2687
+ readonly description: "Connection not found";
2688
+ };
2689
+ readonly "500": {
2690
+ readonly description: "Server error";
2691
+ };
2692
+ };
2693
+ };
2694
+ };
2695
+ readonly "/api/integrations/connections/kubernetes/{connectionId}/context": {
2696
+ readonly get: {
2697
+ readonly "x-internal": readonly ["cloud"];
2698
+ readonly tags: readonly ["Connections"];
2699
+ readonly operationId: "GetKubernetesContext";
2700
+ readonly summary: "Get Kubernetes context";
2701
+ readonly description: "Get Kubernetes context for a specific connection";
2702
+ readonly parameters: readonly [{
2703
+ readonly name: "connectionId";
2704
+ readonly in: "path";
2705
+ readonly required: true;
2706
+ readonly description: "Connection ID";
2707
+ readonly schema: {
2708
+ readonly type: "string";
2709
+ readonly format: "uuid";
2710
+ };
2711
+ }];
2712
+ readonly responses: {
2713
+ readonly "200": {
2714
+ readonly description: "Kubernetes context";
2715
+ readonly content: {
2716
+ readonly "application/json": {
2717
+ readonly schema: {
2718
+ readonly type: "object";
2719
+ };
2720
+ };
2721
+ };
2722
+ };
2723
+ readonly "404": {
2724
+ readonly description: "Connection not found";
2725
+ };
2726
+ readonly "500": {
2727
+ readonly description: "Server error";
2728
+ };
2729
+ };
2730
+ };
2731
+ };
2732
+ readonly "/api/environments/{environmentId}/connections/{connectionId}": {
2733
+ readonly post: {
2734
+ readonly "x-internal": readonly ["cloud"];
2735
+ readonly tags: readonly ["Connections"];
2736
+ readonly operationId: "AddConnectionToEnvironment";
2737
+ readonly summary: "Add connection to environment";
2738
+ readonly description: "Associate a connection with an environment";
2739
+ readonly parameters: readonly [{
2740
+ readonly name: "environmentId";
2741
+ readonly in: "path";
2742
+ readonly required: true;
2743
+ readonly description: "Environment ID";
2744
+ readonly schema: {
2745
+ readonly type: "string";
2746
+ readonly format: "uuid";
2747
+ };
2748
+ }, {
2749
+ readonly name: "connectionId";
2750
+ readonly in: "path";
2751
+ readonly required: true;
2752
+ readonly description: "Connection ID";
2753
+ readonly schema: {
2754
+ readonly type: "string";
2755
+ readonly format: "uuid";
2756
+ };
2757
+ }];
2758
+ readonly responses: {
2759
+ readonly "200": {
2760
+ readonly description: "Connection added to environment successfully";
2761
+ };
2762
+ readonly "404": {
2763
+ readonly description: "Connection or environment not found";
2764
+ };
2765
+ readonly "500": {
2766
+ readonly description: "Server error";
2767
+ };
2768
+ };
2769
+ };
2770
+ readonly delete: {
2771
+ readonly "x-internal": readonly ["cloud"];
2772
+ readonly tags: readonly ["Connections"];
2773
+ readonly operationId: "RemoveConnectionFromEnvironment";
2774
+ readonly summary: "Remove connection from environment";
2775
+ readonly description: "Disassociate a connection from an environment";
2776
+ readonly parameters: readonly [{
2777
+ readonly name: "environmentId";
2778
+ readonly in: "path";
2779
+ readonly required: true;
2780
+ readonly description: "Environment ID";
2781
+ readonly schema: {
2782
+ readonly type: "string";
2783
+ readonly format: "uuid";
2784
+ };
2785
+ }, {
2786
+ readonly name: "connectionId";
2787
+ readonly in: "path";
2788
+ readonly required: true;
2789
+ readonly description: "Connection ID";
2790
+ readonly schema: {
2791
+ readonly type: "string";
2792
+ readonly format: "uuid";
2793
+ };
2794
+ }];
2795
+ readonly responses: {
2796
+ readonly "204": {
2797
+ readonly description: "Connection removed from environment successfully";
2798
+ };
2799
+ readonly "404": {
2800
+ readonly description: "Connection or environment not found";
2801
+ };
2802
+ readonly "500": {
2803
+ readonly description: "Server error";
2804
+ };
2805
+ };
2806
+ };
2807
+ };
10
2808
  };
11
- readonly paths: {};
12
2809
  readonly components: {
2810
+ readonly parameters: {
2811
+ readonly connectionId: {
2812
+ readonly name: "connectionId";
2813
+ readonly in: "path";
2814
+ readonly required: true;
2815
+ readonly description: "Connection ID";
2816
+ readonly schema: {
2817
+ readonly type: "string";
2818
+ readonly format: "uuid";
2819
+ };
2820
+ };
2821
+ readonly connectionKind: {
2822
+ readonly name: "connectionKind";
2823
+ readonly in: "path";
2824
+ readonly required: true;
2825
+ readonly description: "Connection kind (meshery, kubernetes, prometheus, grafana, etc.)";
2826
+ readonly schema: {
2827
+ readonly type: "string";
2828
+ };
2829
+ };
2830
+ readonly environmentId: {
2831
+ readonly name: "environmentId";
2832
+ readonly in: "path";
2833
+ readonly required: true;
2834
+ readonly description: "Environment ID";
2835
+ readonly schema: {
2836
+ readonly type: "string";
2837
+ readonly format: "uuid";
2838
+ };
2839
+ };
2840
+ readonly page: {
2841
+ readonly name: "page";
2842
+ readonly in: "query";
2843
+ readonly description: "Page number";
2844
+ readonly required: false;
2845
+ readonly schema: {
2846
+ readonly type: "integer";
2847
+ readonly default: 0;
2848
+ };
2849
+ };
2850
+ readonly pagesize: {
2851
+ readonly name: "pagesize";
2852
+ readonly in: "query";
2853
+ readonly description: "Number of items per page";
2854
+ readonly required: false;
2855
+ readonly schema: {
2856
+ readonly type: "integer";
2857
+ readonly default: 10;
2858
+ };
2859
+ };
2860
+ readonly search: {
2861
+ readonly name: "search";
2862
+ readonly in: "query";
2863
+ readonly description: "Search term";
2864
+ readonly required: false;
2865
+ readonly schema: {
2866
+ readonly type: "string";
2867
+ };
2868
+ };
2869
+ readonly order: {
2870
+ readonly name: "order";
2871
+ readonly in: "query";
2872
+ readonly description: "Sort order";
2873
+ readonly required: false;
2874
+ readonly schema: {
2875
+ readonly type: "string";
2876
+ };
2877
+ };
2878
+ };
13
2879
  readonly schemas: {
14
2880
  readonly Connection: {
15
- readonly $id: "https://schemas.meshery.io/component.yaml";
2881
+ readonly $id: "https://schemas.meshery.io/connection.yaml";
16
2882
  readonly $schema: "http://json-schema.org/draft-07/schema#";
17
2883
  readonly description: "Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections";
18
2884
  readonly additionalProperties: false;
@@ -20,7 +2886,7 @@ declare const ConnectionSchema: {
20
2886
  readonly required: readonly ["id", "schemaVersion", "name", "type", "sub_type", "kind", "status"];
21
2887
  readonly properties: {
22
2888
  readonly id: {
23
- readonly description: "ID";
2889
+ readonly description: "Connection ID";
24
2890
  readonly "x-order": 1;
25
2891
  readonly "x-go-name": "ID";
26
2892
  readonly "x-oapi-codegen-extra-tags": {
@@ -50,7 +2916,7 @@ declare const ConnectionSchema: {
50
2916
  readonly yaml: "credential_id";
51
2917
  };
52
2918
  readonly "x-order": 3;
53
- readonly description: "Credential ID";
2919
+ readonly description: "Associated Credential ID";
54
2920
  readonly type: "string";
55
2921
  readonly format: "uuid";
56
2922
  readonly "x-go-type": "uuid.UUID";
@@ -65,7 +2931,7 @@ declare const ConnectionSchema: {
65
2931
  };
66
2932
  readonly "x-order": 4;
67
2933
  readonly type: "string";
68
- readonly description: "Connection Type";
2934
+ readonly description: "Connection Type (platform, telemetry, collaboration)";
69
2935
  };
70
2936
  readonly sub_type: {
71
2937
  readonly "x-oapi-codegen-extra-tags": {
@@ -74,7 +2940,7 @@ declare const ConnectionSchema: {
74
2940
  };
75
2941
  readonly "x-order": 5;
76
2942
  readonly type: "string";
77
- readonly description: "Connection Subtype";
2943
+ readonly description: "Connection Subtype (cloud, identity, metrics, chat, git, orchestration)";
78
2944
  };
79
2945
  readonly kind: {
80
2946
  readonly "x-oapi-codegen-extra-tags": {
@@ -83,7 +2949,7 @@ declare const ConnectionSchema: {
83
2949
  };
84
2950
  readonly "x-order": 6;
85
2951
  readonly type: "string";
86
- readonly description: "Connection Kind";
2952
+ readonly description: "Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)";
87
2953
  };
88
2954
  readonly metadata: {
89
2955
  readonly "x-oapi-codegen-extra-tags": {
@@ -92,8 +2958,12 @@ declare const ConnectionSchema: {
92
2958
  };
93
2959
  readonly "x-order": 7;
94
2960
  readonly "x-go-type": "core.Map";
2961
+ readonly "x-go-type-import": {
2962
+ readonly path: "github.com/meshery/schemas/models/core";
2963
+ };
95
2964
  readonly "x-go-type-skip-optional-pointer": true;
96
2965
  readonly type: "object";
2966
+ readonly description: "Additional connection metadata";
97
2967
  };
98
2968
  readonly status: {
99
2969
  readonly "x-oapi-codegen-extra-tags": {
@@ -112,9 +2982,9 @@ declare const ConnectionSchema: {
112
2982
  readonly yaml: "user_id";
113
2983
  };
114
2984
  readonly "x-order": 9;
2985
+ readonly description: "User ID who owns this connection";
115
2986
  readonly type: "string";
116
2987
  readonly format: "uuid";
117
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
118
2988
  readonly "x-go-type": "uuid.UUID";
119
2989
  readonly "x-go-type-import": {
120
2990
  readonly path: "github.com/gofrs/uuid";
@@ -146,6 +3016,9 @@ declare const ConnectionSchema: {
146
3016
  readonly yaml: "deleted_at";
147
3017
  };
148
3018
  readonly "x-go-type": "core.NullTime";
3019
+ readonly "x-go-type-import": {
3020
+ readonly path: "github.com/meshery/schemas/models/core";
3021
+ };
149
3022
  readonly "x-order": 12;
150
3023
  readonly type: "string";
151
3024
  readonly format: "date-time";
@@ -153,8 +3026,12 @@ declare const ConnectionSchema: {
153
3026
  };
154
3027
  readonly environments: {
155
3028
  readonly type: "array";
3029
+ readonly description: "Associated environments for this connection";
156
3030
  readonly items: {
157
3031
  readonly "x-go-type": "*environment.Environment";
3032
+ readonly "x-go-type-import": {
3033
+ readonly path: "github.com/meshery/schemas/models/v1beta1/environment";
3034
+ };
158
3035
  readonly $id: "https://schemas.meshery.io/environment.yaml";
159
3036
  readonly $schema: "http://json-schema.org/draft-07/schema#";
160
3037
  readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
@@ -294,17 +3171,19 @@ declare const ConnectionSchema: {
294
3171
  };
295
3172
  };
296
3173
  readonly ConnectionPage: {
297
- readonly $id: "https://schemas.meshery.io/component.yaml";
3174
+ readonly $id: "https://schemas.meshery.io/connection_page.yaml";
298
3175
  readonly $schema: "http://json-schema.org/draft-07/schema#";
299
- readonly description: "Represents a page of connections with a meta information about connections number";
3176
+ readonly description: "Represents a page of connections with meta information about connections count";
300
3177
  readonly additionalProperties: false;
301
3178
  readonly type: "object";
302
3179
  readonly required: readonly ["connections", "total_count", "page", "page_size"];
303
3180
  readonly properties: {
304
3181
  readonly connections: {
305
3182
  readonly type: "array";
3183
+ readonly description: "List of connections on this page";
306
3184
  readonly items: {
307
- readonly $id: "https://schemas.meshery.io/component.yaml";
3185
+ readonly "x-go-type": "*Connection";
3186
+ readonly $id: "https://schemas.meshery.io/connection.yaml";
308
3187
  readonly $schema: "http://json-schema.org/draft-07/schema#";
309
3188
  readonly description: "Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections";
310
3189
  readonly additionalProperties: false;
@@ -312,7 +3191,7 @@ declare const ConnectionSchema: {
312
3191
  readonly required: readonly ["id", "schemaVersion", "name", "type", "sub_type", "kind", "status"];
313
3192
  readonly properties: {
314
3193
  readonly id: {
315
- readonly description: "ID";
3194
+ readonly description: "Connection ID";
316
3195
  readonly "x-order": 1;
317
3196
  readonly "x-go-name": "ID";
318
3197
  readonly "x-oapi-codegen-extra-tags": {
@@ -342,7 +3221,7 @@ declare const ConnectionSchema: {
342
3221
  readonly yaml: "credential_id";
343
3222
  };
344
3223
  readonly "x-order": 3;
345
- readonly description: "Credential ID";
3224
+ readonly description: "Associated Credential ID";
346
3225
  readonly type: "string";
347
3226
  readonly format: "uuid";
348
3227
  readonly "x-go-type": "uuid.UUID";
@@ -357,7 +3236,7 @@ declare const ConnectionSchema: {
357
3236
  };
358
3237
  readonly "x-order": 4;
359
3238
  readonly type: "string";
360
- readonly description: "Connection Type";
3239
+ readonly description: "Connection Type (platform, telemetry, collaboration)";
361
3240
  };
362
3241
  readonly sub_type: {
363
3242
  readonly "x-oapi-codegen-extra-tags": {
@@ -366,7 +3245,7 @@ declare const ConnectionSchema: {
366
3245
  };
367
3246
  readonly "x-order": 5;
368
3247
  readonly type: "string";
369
- readonly description: "Connection Subtype";
3248
+ readonly description: "Connection Subtype (cloud, identity, metrics, chat, git, orchestration)";
370
3249
  };
371
3250
  readonly kind: {
372
3251
  readonly "x-oapi-codegen-extra-tags": {
@@ -375,7 +3254,7 @@ declare const ConnectionSchema: {
375
3254
  };
376
3255
  readonly "x-order": 6;
377
3256
  readonly type: "string";
378
- readonly description: "Connection Kind";
3257
+ readonly description: "Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)";
379
3258
  };
380
3259
  readonly metadata: {
381
3260
  readonly "x-oapi-codegen-extra-tags": {
@@ -384,8 +3263,12 @@ declare const ConnectionSchema: {
384
3263
  };
385
3264
  readonly "x-order": 7;
386
3265
  readonly "x-go-type": "core.Map";
3266
+ readonly "x-go-type-import": {
3267
+ readonly path: "github.com/meshery/schemas/models/core";
3268
+ };
387
3269
  readonly "x-go-type-skip-optional-pointer": true;
388
3270
  readonly type: "object";
3271
+ readonly description: "Additional connection metadata";
389
3272
  };
390
3273
  readonly status: {
391
3274
  readonly "x-oapi-codegen-extra-tags": {
@@ -404,9 +3287,9 @@ declare const ConnectionSchema: {
404
3287
  readonly yaml: "user_id";
405
3288
  };
406
3289
  readonly "x-order": 9;
3290
+ readonly description: "User ID who owns this connection";
407
3291
  readonly type: "string";
408
3292
  readonly format: "uuid";
409
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
410
3293
  readonly "x-go-type": "uuid.UUID";
411
3294
  readonly "x-go-type-import": {
412
3295
  readonly path: "github.com/gofrs/uuid";
@@ -438,6 +3321,9 @@ declare const ConnectionSchema: {
438
3321
  readonly yaml: "deleted_at";
439
3322
  };
440
3323
  readonly "x-go-type": "core.NullTime";
3324
+ readonly "x-go-type-import": {
3325
+ readonly path: "github.com/meshery/schemas/models/core";
3326
+ };
441
3327
  readonly "x-order": 12;
442
3328
  readonly type: "string";
443
3329
  readonly format: "date-time";
@@ -445,8 +3331,12 @@ declare const ConnectionSchema: {
445
3331
  };
446
3332
  readonly environments: {
447
3333
  readonly type: "array";
3334
+ readonly description: "Associated environments for this connection";
448
3335
  readonly items: {
449
3336
  readonly "x-go-type": "*environment.Environment";
3337
+ readonly "x-go-type-import": {
3338
+ readonly path: "github.com/meshery/schemas/models/v1beta1/environment";
3339
+ };
450
3340
  readonly $id: "https://schemas.meshery.io/environment.yaml";
451
3341
  readonly $schema: "http://json-schema.org/draft-07/schema#";
452
3342
  readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
@@ -584,27 +3474,424 @@ declare const ConnectionSchema: {
584
3474
  readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
585
3475
  };
586
3476
  };
587
- readonly "x-go-type": "*Connection";
588
3477
  };
589
3478
  readonly "x-order": 1;
590
3479
  };
591
3480
  readonly total_count: {
592
3481
  readonly type: "integer";
593
3482
  readonly description: "Total number of connections on all pages";
3483
+ readonly "x-oapi-codegen-extra-tags": {
3484
+ readonly json: "total_count";
3485
+ readonly yaml: "total_count";
3486
+ };
594
3487
  readonly "x-order": 2;
595
3488
  };
596
3489
  readonly page: {
597
3490
  readonly type: "integer";
598
- readonly description: "Page number";
3491
+ readonly description: "Current page number";
3492
+ readonly "x-oapi-codegen-extra-tags": {
3493
+ readonly json: "page";
3494
+ readonly yaml: "page";
3495
+ };
599
3496
  readonly "x-order": 3;
600
3497
  };
601
3498
  readonly page_size: {
602
3499
  readonly type: "integer";
603
3500
  readonly description: "Number of elements per page";
3501
+ readonly "x-oapi-codegen-extra-tags": {
3502
+ readonly json: "page_size";
3503
+ readonly yaml: "page_size";
3504
+ };
604
3505
  readonly "x-order": 4;
605
3506
  };
606
3507
  };
607
3508
  };
3509
+ readonly ConnectionStatusValue: {
3510
+ readonly type: "string";
3511
+ readonly description: "Connection Status Value";
3512
+ readonly "x-go-name": "ConnectionStatusValue";
3513
+ readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
3514
+ };
3515
+ readonly ConnectionPayload: {
3516
+ readonly type: "object";
3517
+ readonly description: "Payload for creating or updating a connection";
3518
+ readonly properties: {
3519
+ readonly id: {
3520
+ readonly type: "string";
3521
+ readonly format: "uuid";
3522
+ readonly description: "Connection ID";
3523
+ readonly "x-go-name": "ConnectionID";
3524
+ readonly "x-oapi-codegen-extra-tags": {
3525
+ readonly json: "id,omitempty";
3526
+ };
3527
+ };
3528
+ readonly name: {
3529
+ readonly type: "string";
3530
+ readonly description: "Connection name";
3531
+ readonly "x-oapi-codegen-extra-tags": {
3532
+ readonly json: "name";
3533
+ };
3534
+ };
3535
+ readonly kind: {
3536
+ readonly type: "string";
3537
+ readonly description: "Connection kind";
3538
+ readonly "x-oapi-codegen-extra-tags": {
3539
+ readonly json: "kind";
3540
+ };
3541
+ };
3542
+ readonly type: {
3543
+ readonly type: "string";
3544
+ readonly description: "Connection type";
3545
+ readonly "x-oapi-codegen-extra-tags": {
3546
+ readonly json: "type";
3547
+ };
3548
+ };
3549
+ readonly sub_type: {
3550
+ readonly type: "string";
3551
+ readonly description: "Connection sub-type";
3552
+ readonly "x-oapi-codegen-extra-tags": {
3553
+ readonly json: "sub_type";
3554
+ };
3555
+ };
3556
+ readonly credential_secret: {
3557
+ readonly type: "object";
3558
+ readonly description: "Credential secret data";
3559
+ readonly "x-go-type": "core.Map";
3560
+ readonly "x-go-type-import": {
3561
+ readonly path: "github.com/meshery/schemas/models/core";
3562
+ };
3563
+ readonly "x-go-type-skip-optional-pointer": true;
3564
+ readonly "x-oapi-codegen-extra-tags": {
3565
+ readonly json: "credential_secret";
3566
+ };
3567
+ };
3568
+ readonly metadata: {
3569
+ readonly type: "object";
3570
+ readonly description: "Connection metadata";
3571
+ readonly "x-go-type": "core.Map";
3572
+ readonly "x-go-type-import": {
3573
+ readonly path: "github.com/meshery/schemas/models/core";
3574
+ };
3575
+ readonly "x-go-type-skip-optional-pointer": true;
3576
+ readonly "x-oapi-codegen-extra-tags": {
3577
+ readonly json: "metadata";
3578
+ };
3579
+ };
3580
+ readonly status: {
3581
+ readonly type: "string";
3582
+ readonly description: "Connection status";
3583
+ readonly "x-oapi-codegen-extra-tags": {
3584
+ readonly json: "status";
3585
+ };
3586
+ };
3587
+ readonly credential_id: {
3588
+ readonly type: "string";
3589
+ readonly format: "uuid";
3590
+ readonly description: "Associated credential ID";
3591
+ readonly "x-go-name": "CredentialID";
3592
+ readonly "x-oapi-codegen-extra-tags": {
3593
+ readonly json: "credential_id,omitempty";
3594
+ };
3595
+ };
3596
+ };
3597
+ readonly required: readonly ["name", "kind", "type", "sub_type", "status"];
3598
+ };
3599
+ readonly ConnectionStatusInfo: {
3600
+ readonly type: "object";
3601
+ readonly description: "Status count information for connections";
3602
+ readonly properties: {
3603
+ readonly status: {
3604
+ readonly type: "string";
3605
+ readonly description: "Status value";
3606
+ readonly "x-oapi-codegen-extra-tags": {
3607
+ readonly json: "status";
3608
+ readonly db: "status";
3609
+ };
3610
+ };
3611
+ readonly count: {
3612
+ readonly type: "integer";
3613
+ readonly description: "Number of connections with this status";
3614
+ readonly "x-oapi-codegen-extra-tags": {
3615
+ readonly json: "count";
3616
+ readonly db: "count";
3617
+ };
3618
+ };
3619
+ };
3620
+ readonly required: readonly ["status", "count"];
3621
+ };
3622
+ readonly ConnectionsStatusPage: {
3623
+ readonly type: "object";
3624
+ readonly description: "Paginated list of connection status counts";
3625
+ readonly properties: {
3626
+ readonly total_count: {
3627
+ readonly type: "integer";
3628
+ readonly description: "Total number of status entries";
3629
+ readonly "x-oapi-codegen-extra-tags": {
3630
+ readonly json: "total_count";
3631
+ };
3632
+ };
3633
+ readonly page: {
3634
+ readonly type: "integer";
3635
+ readonly description: "Current page number";
3636
+ readonly "x-oapi-codegen-extra-tags": {
3637
+ readonly json: "page";
3638
+ };
3639
+ };
3640
+ readonly page_size: {
3641
+ readonly type: "integer";
3642
+ readonly description: "Number of items per page";
3643
+ readonly "x-oapi-codegen-extra-tags": {
3644
+ readonly json: "page_size";
3645
+ };
3646
+ };
3647
+ readonly connections_status: {
3648
+ readonly type: "array";
3649
+ readonly description: "List of status counts";
3650
+ readonly items: {
3651
+ readonly type: "object";
3652
+ readonly description: "Status count information for connections";
3653
+ readonly properties: {
3654
+ readonly status: {
3655
+ readonly type: "string";
3656
+ readonly description: "Status value";
3657
+ readonly "x-oapi-codegen-extra-tags": {
3658
+ readonly json: "status";
3659
+ readonly db: "status";
3660
+ };
3661
+ };
3662
+ readonly count: {
3663
+ readonly type: "integer";
3664
+ readonly description: "Number of connections with this status";
3665
+ readonly "x-oapi-codegen-extra-tags": {
3666
+ readonly json: "count";
3667
+ readonly db: "count";
3668
+ };
3669
+ };
3670
+ };
3671
+ readonly required: readonly ["status", "count"];
3672
+ };
3673
+ readonly "x-oapi-codegen-extra-tags": {
3674
+ readonly json: "connections_status";
3675
+ };
3676
+ };
3677
+ };
3678
+ readonly required: readonly ["total_count", "page", "page_size", "connections_status"];
3679
+ };
3680
+ readonly MesheryInstance: {
3681
+ readonly type: "object";
3682
+ readonly description: "Meshery server instance information";
3683
+ readonly properties: {
3684
+ readonly id: {
3685
+ readonly type: "string";
3686
+ readonly description: "Instance ID";
3687
+ readonly "x-oapi-codegen-extra-tags": {
3688
+ readonly json: "id,omitempty";
3689
+ readonly db: "id";
3690
+ };
3691
+ };
3692
+ readonly name: {
3693
+ readonly type: "string";
3694
+ readonly description: "Instance name";
3695
+ readonly "x-oapi-codegen-extra-tags": {
3696
+ readonly json: "name,omitempty";
3697
+ readonly db: "name";
3698
+ };
3699
+ };
3700
+ readonly server_id: {
3701
+ readonly type: "string";
3702
+ readonly description: "Server ID";
3703
+ readonly "x-go-name": "ServerID";
3704
+ readonly "x-oapi-codegen-extra-tags": {
3705
+ readonly json: "server_id,omitempty";
3706
+ readonly db: "server_id";
3707
+ };
3708
+ };
3709
+ readonly server_version: {
3710
+ readonly type: "string";
3711
+ readonly description: "Meshery server version";
3712
+ readonly "x-oapi-codegen-extra-tags": {
3713
+ readonly json: "server_version,omitempty";
3714
+ readonly db: "server_version";
3715
+ };
3716
+ };
3717
+ readonly server_location: {
3718
+ readonly type: "string";
3719
+ readonly description: "Server location URL";
3720
+ readonly "x-oapi-codegen-extra-tags": {
3721
+ readonly json: "server_location,omitempty";
3722
+ readonly db: "server_location";
3723
+ };
3724
+ };
3725
+ readonly server_build_sha: {
3726
+ readonly type: "string";
3727
+ readonly description: "Server build SHA";
3728
+ readonly "x-go-name": "ServerBuildSHA";
3729
+ readonly "x-oapi-codegen-extra-tags": {
3730
+ readonly json: "server_build_sha,omitempty";
3731
+ readonly db: "server_build_sha";
3732
+ };
3733
+ };
3734
+ readonly created_at: {
3735
+ readonly type: "string";
3736
+ readonly description: "Creation timestamp";
3737
+ readonly "x-oapi-codegen-extra-tags": {
3738
+ readonly json: "created_at,omitempty";
3739
+ readonly db: "created_at";
3740
+ };
3741
+ };
3742
+ readonly updated_at: {
3743
+ readonly type: "string";
3744
+ readonly description: "Last update timestamp";
3745
+ readonly "x-oapi-codegen-extra-tags": {
3746
+ readonly json: "updated_at,omitempty";
3747
+ readonly db: "updated_at";
3748
+ };
3749
+ };
3750
+ readonly deleted_at: {
3751
+ readonly type: "string";
3752
+ readonly description: "Deletion timestamp";
3753
+ readonly "x-oapi-codegen-extra-tags": {
3754
+ readonly json: "deleted_at,omitempty";
3755
+ readonly db: "deleted_at";
3756
+ };
3757
+ };
3758
+ };
3759
+ };
3760
+ readonly MesheryInstancePage: {
3761
+ readonly type: "object";
3762
+ readonly description: "Paginated list of Meshery instances";
3763
+ readonly properties: {
3764
+ readonly meshery_instances: {
3765
+ readonly type: "array";
3766
+ readonly description: "List of Meshery instances";
3767
+ readonly items: {
3768
+ readonly type: "object";
3769
+ readonly description: "Meshery server instance information";
3770
+ readonly properties: {
3771
+ readonly id: {
3772
+ readonly type: "string";
3773
+ readonly description: "Instance ID";
3774
+ readonly "x-oapi-codegen-extra-tags": {
3775
+ readonly json: "id,omitempty";
3776
+ readonly db: "id";
3777
+ };
3778
+ };
3779
+ readonly name: {
3780
+ readonly type: "string";
3781
+ readonly description: "Instance name";
3782
+ readonly "x-oapi-codegen-extra-tags": {
3783
+ readonly json: "name,omitempty";
3784
+ readonly db: "name";
3785
+ };
3786
+ };
3787
+ readonly server_id: {
3788
+ readonly type: "string";
3789
+ readonly description: "Server ID";
3790
+ readonly "x-go-name": "ServerID";
3791
+ readonly "x-oapi-codegen-extra-tags": {
3792
+ readonly json: "server_id,omitempty";
3793
+ readonly db: "server_id";
3794
+ };
3795
+ };
3796
+ readonly server_version: {
3797
+ readonly type: "string";
3798
+ readonly description: "Meshery server version";
3799
+ readonly "x-oapi-codegen-extra-tags": {
3800
+ readonly json: "server_version,omitempty";
3801
+ readonly db: "server_version";
3802
+ };
3803
+ };
3804
+ readonly server_location: {
3805
+ readonly type: "string";
3806
+ readonly description: "Server location URL";
3807
+ readonly "x-oapi-codegen-extra-tags": {
3808
+ readonly json: "server_location,omitempty";
3809
+ readonly db: "server_location";
3810
+ };
3811
+ };
3812
+ readonly server_build_sha: {
3813
+ readonly type: "string";
3814
+ readonly description: "Server build SHA";
3815
+ readonly "x-go-name": "ServerBuildSHA";
3816
+ readonly "x-oapi-codegen-extra-tags": {
3817
+ readonly json: "server_build_sha,omitempty";
3818
+ readonly db: "server_build_sha";
3819
+ };
3820
+ };
3821
+ readonly created_at: {
3822
+ readonly type: "string";
3823
+ readonly description: "Creation timestamp";
3824
+ readonly "x-oapi-codegen-extra-tags": {
3825
+ readonly json: "created_at,omitempty";
3826
+ readonly db: "created_at";
3827
+ };
3828
+ };
3829
+ readonly updated_at: {
3830
+ readonly type: "string";
3831
+ readonly description: "Last update timestamp";
3832
+ readonly "x-oapi-codegen-extra-tags": {
3833
+ readonly json: "updated_at,omitempty";
3834
+ readonly db: "updated_at";
3835
+ };
3836
+ };
3837
+ readonly deleted_at: {
3838
+ readonly type: "string";
3839
+ readonly description: "Deletion timestamp";
3840
+ readonly "x-oapi-codegen-extra-tags": {
3841
+ readonly json: "deleted_at,omitempty";
3842
+ readonly db: "deleted_at";
3843
+ };
3844
+ };
3845
+ };
3846
+ };
3847
+ readonly "x-oapi-codegen-extra-tags": {
3848
+ readonly json: "meshery_instances";
3849
+ };
3850
+ };
3851
+ readonly page: {
3852
+ readonly type: "integer";
3853
+ readonly description: "Current page number";
3854
+ readonly "x-oapi-codegen-extra-tags": {
3855
+ readonly json: "page";
3856
+ };
3857
+ };
3858
+ readonly page_size: {
3859
+ readonly type: "integer";
3860
+ readonly description: "Number of items per page";
3861
+ readonly "x-oapi-codegen-extra-tags": {
3862
+ readonly json: "page_size";
3863
+ };
3864
+ };
3865
+ readonly total_count: {
3866
+ readonly type: "integer";
3867
+ readonly description: "Total number of instances";
3868
+ readonly "x-oapi-codegen-extra-tags": {
3869
+ readonly json: "total_count";
3870
+ };
3871
+ };
3872
+ };
3873
+ readonly required: readonly ["meshery_instances", "page", "page_size", "total_count"];
3874
+ };
3875
+ readonly MesheryCompatibility: {
3876
+ readonly type: "object";
3877
+ readonly description: "Meshery version compatibility check";
3878
+ readonly properties: {
3879
+ readonly meshery_version: {
3880
+ readonly type: "string";
3881
+ readonly description: "Meshery version string";
3882
+ readonly "x-oapi-codegen-extra-tags": {
3883
+ readonly json: "meshery_version,omitempty";
3884
+ };
3885
+ };
3886
+ readonly check_compatibility: {
3887
+ readonly type: "boolean";
3888
+ readonly description: "Whether to check compatibility";
3889
+ readonly "x-oapi-codegen-extra-tags": {
3890
+ readonly json: "check_compatibility,omitempty";
3891
+ };
3892
+ };
3893
+ };
3894
+ };
608
3895
  };
609
3896
  };
610
3897
  };