@meshery/schemas 1.2.21 → 1.2.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cloudApi.d.mts +1728 -1527
- package/dist/cloudApi.d.ts +1728 -1527
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1alpha1/capability/Capability.d.ts +111 -106
- package/dist/constructs/v1alpha1/core/Core.d.ts +734 -822
- package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +40 -45
- package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1716 -1829
- package/dist/constructs/v1beta1/academy/Academy.d.ts +6537 -5918
- package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
- package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
- package/dist/constructs/v1beta1/badge/Badge.d.ts +600 -439
- package/dist/constructs/v1beta1/capability/Capability.d.ts +111 -106
- package/dist/constructs/v1beta1/catalog/Catalog.d.ts +40 -45
- package/dist/constructs/v1beta1/category/Category.d.ts +26 -38
- package/dist/constructs/v1beta1/component/Component.d.ts +729 -833
- package/dist/constructs/v1beta1/connection/Connection.d.ts +1357 -1170
- package/dist/constructs/v1beta1/core/Core.d.ts +734 -822
- package/dist/constructs/v1beta1/credential/Credential.d.ts +593 -458
- package/dist/constructs/v1beta1/environment/Environment.d.ts +835 -666
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +5508 -6030
- package/dist/constructs/v1beta1/event/Event.d.ts +898 -527
- package/dist/constructs/v1beta1/feature/Feature.d.ts +287 -249
- package/dist/constructs/v1beta1/invitation/Invitation.d.ts +1244 -877
- package/dist/constructs/v1beta1/key/Key.d.ts +589 -444
- package/dist/constructs/v1beta1/keychain/Keychain.d.ts +796 -575
- package/dist/constructs/v1beta1/model/Model.d.ts +572 -598
- package/dist/constructs/v1beta1/organization/Organization.d.ts +1829 -1410
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +17093 -17910
- package/dist/constructs/v1beta1/plan/Plan.d.ts +159 -115
- package/dist/constructs/v1beta1/role/Role.d.ts +933 -688
- package/dist/constructs/v1beta1/role/RoleSchema.js +1 -1
- package/dist/constructs/v1beta1/role/RoleSchema.mjs +1 -1
- package/dist/constructs/v1beta1/schedule/Schedule.d.ts +425 -315
- package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +18 -61
- package/dist/constructs/v1beta1/subscription/Subscription.d.ts +839 -674
- package/dist/constructs/v1beta1/support/Support.d.ts +115 -74
- package/dist/constructs/v1beta1/system/System.d.ts +434 -0
- package/dist/constructs/v1beta1/system/System.js +1 -0
- package/dist/constructs/v1beta1/system/System.mjs +0 -0
- package/dist/constructs/v1beta1/system/SystemSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/system/SystemSchema.js +2 -0
- package/dist/constructs/v1beta1/system/SystemSchema.mjs +2 -0
- package/dist/constructs/v1beta1/team/Team.d.ts +1028 -762
- package/dist/constructs/v1beta1/token/Token.d.ts +612 -475
- package/dist/constructs/v1beta1/user/User.d.ts +1723 -1554
- package/dist/constructs/v1beta1/user/UserSchema.js +1 -1
- package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -1
- package/dist/constructs/v1beta1/view/View.d.ts +833 -664
- package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4900 -4695
- package/dist/constructs/v1beta2/academy/Academy.d.ts +7840 -7222
- package/dist/constructs/v1beta2/academy/AcademySchema.js +1 -1
- package/dist/constructs/v1beta2/academy/AcademySchema.mjs +1 -1
- package/dist/constructs/v1beta2/badge/Badge.d.ts +610 -453
- package/dist/constructs/v1beta2/catalog/Catalog.d.ts +40 -45
- package/dist/constructs/v1beta2/component/Component.d.ts +747 -851
- package/dist/constructs/v1beta2/connection/Connection.d.ts +1376 -1189
- package/dist/constructs/v1beta2/core/Core.d.ts +768 -856
- package/dist/constructs/v1beta2/credential/Credential.d.ts +572 -437
- package/dist/constructs/v1beta2/design/Design.d.ts +17682 -18467
- package/dist/constructs/v1beta2/event/Event.d.ts +946 -575
- package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1268 -901
- package/dist/constructs/v1beta2/key/Key.d.ts +599 -454
- package/dist/constructs/v1beta2/keychain/Keychain.d.ts +806 -585
- package/dist/constructs/v1beta2/model/Model.d.ts +610 -636
- package/dist/constructs/v1beta2/organization/Organization.d.ts +2135 -1724
- package/dist/constructs/v1beta2/plan/Plan.d.ts +169 -128
- package/dist/constructs/v1beta2/relationship/Relationship.d.ts +1842 -2011
- package/dist/constructs/v1beta2/role/Role.d.ts +940 -695
- package/dist/constructs/v1beta2/role/RoleSchema.js +1 -1
- package/dist/constructs/v1beta2/role/RoleSchema.mjs +1 -1
- package/dist/constructs/v1beta2/schedule/Schedule.d.ts +466 -356
- package/dist/constructs/v1beta2/subscription/Subscription.d.ts +866 -701
- package/dist/constructs/v1beta2/team/Team.d.ts +1118 -852
- package/dist/constructs/v1beta2/token/Token.d.ts +616 -479
- package/dist/constructs/v1beta2/user/User.d.ts +1723 -1554
- package/dist/constructs/v1beta2/user/UserSchema.js +1 -1
- package/dist/constructs/v1beta2/user/UserSchema.mjs +1 -1
- package/dist/constructs/v1beta2/view/View.d.ts +838 -669
- package/dist/constructs/v1beta3/academy/Academy.d.ts +7844 -7226
- package/dist/constructs/v1beta3/academy/AcademySchema.js +1 -1
- package/dist/constructs/v1beta3/academy/AcademySchema.mjs +1 -1
- package/dist/constructs/v1beta3/component/Component.d.ts +753 -857
- package/dist/constructs/v1beta3/connection/Connection.d.ts +1447 -1260
- package/dist/constructs/v1beta3/design/Design.d.ts +5729 -5307
- package/dist/constructs/v1beta3/design/DesignSchema.js +8 -8
- package/dist/constructs/v1beta3/design/DesignSchema.mjs +8 -8
- package/dist/constructs/v1beta3/environment/Environment.d.ts +858 -689
- package/dist/constructs/v1beta3/event/Event.d.ts +1041 -666
- package/dist/constructs/v1beta3/filter/Filter.d.ts +1437 -1299
- package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1277 -910
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +850 -690
- package/dist/constructs/v1beta3/plan/Plan.d.ts +197 -156
- package/dist/constructs/v1beta3/relationship/Relationship.d.ts +1842 -2011
- package/dist/constructs/v1beta3/subscription/Subscription.d.ts +969 -804
- package/dist/constructs/v1beta3/token/Token.d.ts +616 -479
- package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5030 -4822
- package/dist/index.d.mts +5520 -5062
- package/dist/index.d.ts +5520 -5062
- package/dist/mesheryApi.d.mts +1318 -526
- package/dist/mesheryApi.d.ts +1318 -526
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/dist/permissions.d.mts +1 -1
- package/dist/permissions.d.ts +1 -1
- package/package.json +1 -2
|
@@ -4,218 +4,89 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export interface paths {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
14
|
-
"/api/identity/badges": {
|
|
15
|
-
get: operations["getAvailableBadges"];
|
|
16
|
-
};
|
|
17
|
-
"/api/identity/users/badges": {
|
|
18
|
-
put: operations["assignBadges"];
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface components {
|
|
23
|
-
schemas: {
|
|
24
|
-
/** @description Payload for creating or updating a badge. */
|
|
25
|
-
BadgePayload: {
|
|
26
|
-
/**
|
|
27
|
-
* Format: uuid
|
|
28
|
-
* @description Existing badge ID for updates; omit on create.
|
|
29
|
-
*/
|
|
30
|
-
id?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Format: uuid
|
|
33
|
-
* @description The ID of the organization in which this badge is available.
|
|
34
|
-
*/
|
|
35
|
-
org_id: string;
|
|
36
|
-
/**
|
|
37
|
-
* @description unique identifier for the badge ( auto generated )
|
|
38
|
-
* @example Kubernetes-Expert
|
|
39
|
-
*/
|
|
40
|
-
label: string;
|
|
41
|
-
/**
|
|
42
|
-
* @description Concise descriptor for the badge or certificate.
|
|
43
|
-
* @example Kubernetes Expert
|
|
44
|
-
*/
|
|
45
|
-
name: string;
|
|
46
|
-
/**
|
|
47
|
-
* @description A description of the milestone achieved, often including criteria for receiving this recognition.
|
|
48
|
-
* @example Awarded for mastering Kubernetes concepts and practices.
|
|
49
|
-
*/
|
|
50
|
-
description: string;
|
|
51
|
-
/**
|
|
52
|
-
* Format: uri
|
|
53
|
-
* @description URL to the badge image
|
|
54
|
-
* @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
|
|
55
|
-
*/
|
|
56
|
-
image_url: string;
|
|
57
|
-
};
|
|
58
|
-
Badge: {
|
|
59
|
-
/**
|
|
60
|
-
* Format: uuid
|
|
61
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
62
|
-
*/
|
|
63
|
-
id: string;
|
|
64
|
-
/**
|
|
65
|
-
* Format: uuid
|
|
66
|
-
* @description The ID of the organization in which this badge is available .
|
|
67
|
-
*/
|
|
68
|
-
org_id: string;
|
|
69
|
-
/**
|
|
70
|
-
* @description unique identifier for the badge ( auto generated )
|
|
71
|
-
* @example Kubernetes-Expert
|
|
72
|
-
*/
|
|
73
|
-
label: string;
|
|
74
|
-
/**
|
|
75
|
-
* @description Concise descriptor for the badge or certificate.
|
|
76
|
-
* @example Kubernetes Expert
|
|
77
|
-
*/
|
|
78
|
-
name: string;
|
|
79
|
-
/**
|
|
80
|
-
* @description A description of the milestone achieved, often including criteria for receiving this recognition.
|
|
81
|
-
* @example Awarded for mastering Kubernetes concepts and practices.
|
|
82
|
-
*/
|
|
83
|
-
description: string;
|
|
84
|
-
/**
|
|
85
|
-
* Format: uri
|
|
86
|
-
* @description URL to the badge image
|
|
87
|
-
* @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
|
|
88
|
-
*/
|
|
89
|
-
image_url: string;
|
|
90
|
-
/**
|
|
91
|
-
* Format: date-time
|
|
92
|
-
* @description Timestamp when the resource was created.
|
|
93
|
-
*/
|
|
94
|
-
created_at: string;
|
|
95
|
-
/**
|
|
96
|
-
* Format: date-time
|
|
97
|
-
* @description Timestamp when the resource was updated.
|
|
98
|
-
*/
|
|
99
|
-
updated_at: string;
|
|
100
|
-
/**
|
|
101
|
-
* Format: date-time
|
|
102
|
-
* @description Timestamp when the resource was deleted, if applicable
|
|
103
|
-
*/
|
|
104
|
-
deleted_at: string;
|
|
105
|
-
};
|
|
106
|
-
BadgesPage: {
|
|
107
|
-
/** @description The badges of the badgespage. */
|
|
108
|
-
badges?: {
|
|
109
|
-
[key: string]: {
|
|
110
|
-
/**
|
|
111
|
-
* Format: uuid
|
|
112
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
113
|
-
*/
|
|
114
|
-
id: string;
|
|
115
|
-
/**
|
|
116
|
-
* Format: uuid
|
|
117
|
-
* @description The ID of the organization in which this badge is available .
|
|
118
|
-
*/
|
|
119
|
-
org_id: string;
|
|
120
|
-
/**
|
|
121
|
-
* @description unique identifier for the badge ( auto generated )
|
|
122
|
-
* @example Kubernetes-Expert
|
|
123
|
-
*/
|
|
124
|
-
label: string;
|
|
125
|
-
/**
|
|
126
|
-
* @description Concise descriptor for the badge or certificate.
|
|
127
|
-
* @example Kubernetes Expert
|
|
128
|
-
*/
|
|
129
|
-
name: string;
|
|
130
|
-
/**
|
|
131
|
-
* @description A description of the milestone achieved, often including criteria for receiving this recognition.
|
|
132
|
-
* @example Awarded for mastering Kubernetes concepts and practices.
|
|
133
|
-
*/
|
|
134
|
-
description: string;
|
|
135
|
-
/**
|
|
136
|
-
* Format: uri
|
|
137
|
-
* @description URL to the badge image
|
|
138
|
-
* @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
|
|
139
|
-
*/
|
|
140
|
-
image_url: string;
|
|
141
|
-
/**
|
|
142
|
-
* Format: date-time
|
|
143
|
-
* @description Timestamp when the resource was created.
|
|
144
|
-
*/
|
|
145
|
-
created_at: string;
|
|
146
|
-
/**
|
|
147
|
-
* Format: date-time
|
|
148
|
-
* @description Timestamp when the resource was updated.
|
|
149
|
-
*/
|
|
150
|
-
updated_at: string;
|
|
151
|
-
/**
|
|
152
|
-
* Format: date-time
|
|
153
|
-
* @description Timestamp when the resource was deleted, if applicable
|
|
154
|
-
*/
|
|
155
|
-
deleted_at: string;
|
|
7
|
+
"/api/organizations/badges/{id}": {
|
|
8
|
+
parameters: {
|
|
9
|
+
query?: never;
|
|
10
|
+
header?: never;
|
|
11
|
+
path?: never;
|
|
12
|
+
cookie?: never;
|
|
156
13
|
};
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
/** @description The notify of the badgeassignment. */
|
|
168
|
-
notify?: boolean;
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
responses: {
|
|
172
|
-
/** Invalid request body or request param */
|
|
173
|
-
400: {
|
|
174
|
-
content: {
|
|
175
|
-
"text/plain": string;
|
|
176
|
-
};
|
|
14
|
+
/** Get a badge by its ID */
|
|
15
|
+
get: operations["getBadgeById"];
|
|
16
|
+
put?: never;
|
|
17
|
+
post?: never;
|
|
18
|
+
/** Delete a badge by its ID */
|
|
19
|
+
delete: operations["deleteBadgeById"];
|
|
20
|
+
options?: never;
|
|
21
|
+
head?: never;
|
|
22
|
+
patch?: never;
|
|
23
|
+
trace?: never;
|
|
177
24
|
};
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
25
|
+
"/api/organizations/badges": {
|
|
26
|
+
parameters: {
|
|
27
|
+
query?: never;
|
|
28
|
+
header?: never;
|
|
29
|
+
path?: never;
|
|
30
|
+
cookie?: never;
|
|
31
|
+
};
|
|
32
|
+
get?: never;
|
|
33
|
+
put?: never;
|
|
34
|
+
/** Create a new badge or update an existing badge */
|
|
35
|
+
post: operations["createOrUpdateBadge"];
|
|
36
|
+
delete?: never;
|
|
37
|
+
options?: never;
|
|
38
|
+
head?: never;
|
|
39
|
+
patch?: never;
|
|
40
|
+
trace?: never;
|
|
183
41
|
};
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
42
|
+
"/api/identity/badges": {
|
|
43
|
+
parameters: {
|
|
44
|
+
query?: never;
|
|
45
|
+
header?: never;
|
|
46
|
+
path?: never;
|
|
47
|
+
cookie?: never;
|
|
48
|
+
};
|
|
49
|
+
/** Get available badges */
|
|
50
|
+
get: operations["getAvailableBadges"];
|
|
51
|
+
put?: never;
|
|
52
|
+
post?: never;
|
|
53
|
+
delete?: never;
|
|
54
|
+
options?: never;
|
|
55
|
+
head?: never;
|
|
56
|
+
patch?: never;
|
|
57
|
+
trace?: never;
|
|
189
58
|
};
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
59
|
+
"/api/identity/users/badges": {
|
|
60
|
+
parameters: {
|
|
61
|
+
query?: never;
|
|
62
|
+
header?: never;
|
|
63
|
+
path?: never;
|
|
64
|
+
cookie?: never;
|
|
65
|
+
};
|
|
66
|
+
get?: never;
|
|
67
|
+
/** Assign badges to a user */
|
|
68
|
+
put: operations["assignBadges"];
|
|
69
|
+
post?: never;
|
|
70
|
+
delete?: never;
|
|
71
|
+
options?: never;
|
|
72
|
+
head?: never;
|
|
73
|
+
patch?: never;
|
|
74
|
+
trace?: never;
|
|
195
75
|
};
|
|
196
|
-
};
|
|
197
76
|
}
|
|
198
|
-
|
|
199
|
-
export interface
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
/** Unique identifier */
|
|
204
|
-
id: string;
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
|
-
responses: {
|
|
208
|
-
200: {
|
|
209
|
-
content: {
|
|
210
|
-
"application/json": {
|
|
77
|
+
export type webhooks = Record<string, never>;
|
|
78
|
+
export interface components {
|
|
79
|
+
schemas: {
|
|
80
|
+
/** @description Payload for creating or updating a badge. */
|
|
81
|
+
BadgePayload: {
|
|
211
82
|
/**
|
|
212
83
|
* Format: uuid
|
|
213
|
-
* @description
|
|
84
|
+
* @description Existing badge ID for updates; omit on create.
|
|
214
85
|
*/
|
|
215
|
-
id
|
|
86
|
+
id?: string;
|
|
216
87
|
/**
|
|
217
88
|
* Format: uuid
|
|
218
|
-
* @description The ID of the organization in which this badge is available
|
|
89
|
+
* @description The ID of the organization in which this badge is available.
|
|
219
90
|
*/
|
|
220
91
|
org_id: string;
|
|
221
92
|
/**
|
|
@@ -239,79 +110,8 @@ export interface operations {
|
|
|
239
110
|
* @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
|
|
240
111
|
*/
|
|
241
112
|
image_url: string;
|
|
242
|
-
/**
|
|
243
|
-
* Format: date-time
|
|
244
|
-
* @description Timestamp when the resource was created.
|
|
245
|
-
*/
|
|
246
|
-
created_at: string;
|
|
247
|
-
/**
|
|
248
|
-
* Format: date-time
|
|
249
|
-
* @description Timestamp when the resource was updated.
|
|
250
|
-
*/
|
|
251
|
-
updated_at: string;
|
|
252
|
-
/**
|
|
253
|
-
* Format: date-time
|
|
254
|
-
* @description Timestamp when the resource was deleted, if applicable
|
|
255
|
-
*/
|
|
256
|
-
deleted_at: string;
|
|
257
|
-
};
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
|
-
/** Expired JWT token used or insufficient privilege */
|
|
261
|
-
401: {
|
|
262
|
-
content: {
|
|
263
|
-
"text/plain": string;
|
|
264
|
-
};
|
|
265
|
-
};
|
|
266
|
-
/** Result not found */
|
|
267
|
-
404: {
|
|
268
|
-
content: {
|
|
269
|
-
"text/plain": string;
|
|
270
113
|
};
|
|
271
|
-
|
|
272
|
-
/** Internal server error */
|
|
273
|
-
500: {
|
|
274
|
-
content: {
|
|
275
|
-
"text/plain": string;
|
|
276
|
-
};
|
|
277
|
-
};
|
|
278
|
-
};
|
|
279
|
-
};
|
|
280
|
-
deleteBadgeById: {
|
|
281
|
-
parameters: {
|
|
282
|
-
path: {
|
|
283
|
-
/** Unique identifier */
|
|
284
|
-
id: string;
|
|
285
|
-
};
|
|
286
|
-
};
|
|
287
|
-
responses: {
|
|
288
|
-
/** Badge deleted */
|
|
289
|
-
204: never;
|
|
290
|
-
/** Expired JWT token used or insufficient privilege */
|
|
291
|
-
401: {
|
|
292
|
-
content: {
|
|
293
|
-
"text/plain": string;
|
|
294
|
-
};
|
|
295
|
-
};
|
|
296
|
-
/** Result not found */
|
|
297
|
-
404: {
|
|
298
|
-
content: {
|
|
299
|
-
"text/plain": string;
|
|
300
|
-
};
|
|
301
|
-
};
|
|
302
|
-
/** Internal server error */
|
|
303
|
-
500: {
|
|
304
|
-
content: {
|
|
305
|
-
"text/plain": string;
|
|
306
|
-
};
|
|
307
|
-
};
|
|
308
|
-
};
|
|
309
|
-
};
|
|
310
|
-
createOrUpdateBadge: {
|
|
311
|
-
responses: {
|
|
312
|
-
201: {
|
|
313
|
-
content: {
|
|
314
|
-
"application/json": {
|
|
114
|
+
Badge: {
|
|
315
115
|
/**
|
|
316
116
|
* Format: uuid
|
|
317
117
|
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
@@ -358,189 +158,550 @@ export interface operations {
|
|
|
358
158
|
* @description Timestamp when the resource was deleted, if applicable
|
|
359
159
|
*/
|
|
360
160
|
deleted_at: string;
|
|
361
|
-
};
|
|
362
161
|
};
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
162
|
+
BadgesPage: {
|
|
163
|
+
/** @description The badges of the badgespage. */
|
|
164
|
+
badges?: {
|
|
165
|
+
[key: string]: {
|
|
166
|
+
/**
|
|
167
|
+
* Format: uuid
|
|
168
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
169
|
+
*/
|
|
170
|
+
id: string;
|
|
171
|
+
/**
|
|
172
|
+
* Format: uuid
|
|
173
|
+
* @description The ID of the organization in which this badge is available .
|
|
174
|
+
*/
|
|
175
|
+
org_id: string;
|
|
176
|
+
/**
|
|
177
|
+
* @description unique identifier for the badge ( auto generated )
|
|
178
|
+
* @example Kubernetes-Expert
|
|
179
|
+
*/
|
|
180
|
+
label: string;
|
|
181
|
+
/**
|
|
182
|
+
* @description Concise descriptor for the badge or certificate.
|
|
183
|
+
* @example Kubernetes Expert
|
|
184
|
+
*/
|
|
185
|
+
name: string;
|
|
186
|
+
/**
|
|
187
|
+
* @description A description of the milestone achieved, often including criteria for receiving this recognition.
|
|
188
|
+
* @example Awarded for mastering Kubernetes concepts and practices.
|
|
189
|
+
*/
|
|
190
|
+
description: string;
|
|
191
|
+
/**
|
|
192
|
+
* Format: uri
|
|
193
|
+
* @description URL to the badge image
|
|
194
|
+
* @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
|
|
195
|
+
*/
|
|
196
|
+
image_url: string;
|
|
197
|
+
/**
|
|
198
|
+
* Format: date-time
|
|
199
|
+
* @description Timestamp when the resource was created.
|
|
200
|
+
*/
|
|
201
|
+
created_at: string;
|
|
202
|
+
/**
|
|
203
|
+
* Format: date-time
|
|
204
|
+
* @description Timestamp when the resource was updated.
|
|
205
|
+
*/
|
|
206
|
+
updated_at: string;
|
|
207
|
+
/**
|
|
208
|
+
* Format: date-time
|
|
209
|
+
* @description Timestamp when the resource was deleted, if applicable
|
|
210
|
+
*/
|
|
211
|
+
deleted_at: string;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
374
214
|
};
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
215
|
+
BadgeAssignmentPayload: {
|
|
216
|
+
/** @description The badges of the badgeassignment. */
|
|
217
|
+
badges?: string[];
|
|
218
|
+
/**
|
|
219
|
+
* Format: uuid
|
|
220
|
+
* @description ID of the user who owns or created this resource.
|
|
221
|
+
*/
|
|
222
|
+
user_id?: string;
|
|
223
|
+
/** @description The notify of the badgeassignment. */
|
|
224
|
+
notify?: boolean;
|
|
380
225
|
};
|
|
381
|
-
};
|
|
382
226
|
};
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
227
|
+
responses: {
|
|
228
|
+
/** @description Invalid request body or request param */
|
|
229
|
+
400: {
|
|
230
|
+
headers: {
|
|
231
|
+
[name: string]: unknown;
|
|
232
|
+
};
|
|
233
|
+
content: {
|
|
234
|
+
"text/plain": string;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
238
|
+
401: {
|
|
239
|
+
headers: {
|
|
240
|
+
[name: string]: unknown;
|
|
241
|
+
};
|
|
242
|
+
content: {
|
|
243
|
+
"text/plain": string;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
/** @description Result not found */
|
|
247
|
+
404: {
|
|
248
|
+
headers: {
|
|
249
|
+
[name: string]: unknown;
|
|
250
|
+
};
|
|
251
|
+
content: {
|
|
252
|
+
"text/plain": string;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
/** @description Internal server error */
|
|
256
|
+
500: {
|
|
257
|
+
headers: {
|
|
258
|
+
[name: string]: unknown;
|
|
259
|
+
};
|
|
260
|
+
content: {
|
|
261
|
+
"text/plain": string;
|
|
262
|
+
};
|
|
417
263
|
};
|
|
418
|
-
};
|
|
419
264
|
};
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
*/
|
|
265
|
+
parameters: never;
|
|
266
|
+
requestBodies: never;
|
|
267
|
+
headers: never;
|
|
268
|
+
pathItems: never;
|
|
269
|
+
}
|
|
270
|
+
export type $defs = Record<string, never>;
|
|
271
|
+
export interface operations {
|
|
272
|
+
getBadgeById: {
|
|
273
|
+
parameters: {
|
|
274
|
+
query?: never;
|
|
275
|
+
header?: never;
|
|
276
|
+
path: {
|
|
277
|
+
/** @description Unique identifier */
|
|
434
278
|
id: string;
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
* @description The ID of the organization in which this badge is available .
|
|
438
|
-
*/
|
|
439
|
-
org_id: string;
|
|
440
|
-
/**
|
|
441
|
-
* @description unique identifier for the badge ( auto generated )
|
|
442
|
-
* @example Kubernetes-Expert
|
|
443
|
-
*/
|
|
444
|
-
label: string;
|
|
445
|
-
/**
|
|
446
|
-
* @description Concise descriptor for the badge or certificate.
|
|
447
|
-
* @example Kubernetes Expert
|
|
448
|
-
*/
|
|
449
|
-
name: string;
|
|
450
|
-
/**
|
|
451
|
-
* @description A description of the milestone achieved, often including criteria for receiving this recognition.
|
|
452
|
-
* @example Awarded for mastering Kubernetes concepts and practices.
|
|
453
|
-
*/
|
|
454
|
-
description: string;
|
|
455
|
-
/**
|
|
456
|
-
* Format: uri
|
|
457
|
-
* @description URL to the badge image
|
|
458
|
-
* @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
|
|
459
|
-
*/
|
|
460
|
-
image_url: string;
|
|
461
|
-
/**
|
|
462
|
-
* Format: date-time
|
|
463
|
-
* @description Timestamp when the resource was created.
|
|
464
|
-
*/
|
|
465
|
-
created_at: string;
|
|
466
|
-
/**
|
|
467
|
-
* Format: date-time
|
|
468
|
-
* @description Timestamp when the resource was updated.
|
|
469
|
-
*/
|
|
470
|
-
updated_at: string;
|
|
471
|
-
/**
|
|
472
|
-
* Format: date-time
|
|
473
|
-
* @description Timestamp when the resource was deleted, if applicable
|
|
474
|
-
*/
|
|
475
|
-
deleted_at: string;
|
|
476
|
-
};
|
|
477
|
-
};
|
|
478
|
-
};
|
|
279
|
+
};
|
|
280
|
+
cookie?: never;
|
|
479
281
|
};
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
282
|
+
requestBody?: never;
|
|
283
|
+
responses: {
|
|
284
|
+
200: {
|
|
285
|
+
headers: {
|
|
286
|
+
[name: string]: unknown;
|
|
287
|
+
};
|
|
288
|
+
content: {
|
|
289
|
+
"application/json": {
|
|
290
|
+
/**
|
|
291
|
+
* Format: uuid
|
|
292
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
293
|
+
*/
|
|
294
|
+
id: string;
|
|
295
|
+
/**
|
|
296
|
+
* Format: uuid
|
|
297
|
+
* @description The ID of the organization in which this badge is available .
|
|
298
|
+
*/
|
|
299
|
+
org_id: string;
|
|
300
|
+
/**
|
|
301
|
+
* @description unique identifier for the badge ( auto generated )
|
|
302
|
+
* @example Kubernetes-Expert
|
|
303
|
+
*/
|
|
304
|
+
label: string;
|
|
305
|
+
/**
|
|
306
|
+
* @description Concise descriptor for the badge or certificate.
|
|
307
|
+
* @example Kubernetes Expert
|
|
308
|
+
*/
|
|
309
|
+
name: string;
|
|
310
|
+
/**
|
|
311
|
+
* @description A description of the milestone achieved, often including criteria for receiving this recognition.
|
|
312
|
+
* @example Awarded for mastering Kubernetes concepts and practices.
|
|
313
|
+
*/
|
|
314
|
+
description: string;
|
|
315
|
+
/**
|
|
316
|
+
* Format: uri
|
|
317
|
+
* @description URL to the badge image
|
|
318
|
+
* @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
|
|
319
|
+
*/
|
|
320
|
+
image_url: string;
|
|
321
|
+
/**
|
|
322
|
+
* Format: date-time
|
|
323
|
+
* @description Timestamp when the resource was created.
|
|
324
|
+
*/
|
|
325
|
+
created_at: string;
|
|
326
|
+
/**
|
|
327
|
+
* Format: date-time
|
|
328
|
+
* @description Timestamp when the resource was updated.
|
|
329
|
+
*/
|
|
330
|
+
updated_at: string;
|
|
331
|
+
/**
|
|
332
|
+
* Format: date-time
|
|
333
|
+
* @description Timestamp when the resource was deleted, if applicable
|
|
334
|
+
*/
|
|
335
|
+
deleted_at: string;
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
340
|
+
401: {
|
|
341
|
+
headers: {
|
|
342
|
+
[name: string]: unknown;
|
|
343
|
+
};
|
|
344
|
+
content: {
|
|
345
|
+
"text/plain": string;
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
/** @description Result not found */
|
|
349
|
+
404: {
|
|
350
|
+
headers: {
|
|
351
|
+
[name: string]: unknown;
|
|
352
|
+
};
|
|
353
|
+
content: {
|
|
354
|
+
"text/plain": string;
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
/** @description Internal server error */
|
|
358
|
+
500: {
|
|
359
|
+
headers: {
|
|
360
|
+
[name: string]: unknown;
|
|
361
|
+
};
|
|
362
|
+
content: {
|
|
363
|
+
"text/plain": string;
|
|
364
|
+
};
|
|
365
|
+
};
|
|
485
366
|
};
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
367
|
+
};
|
|
368
|
+
deleteBadgeById: {
|
|
369
|
+
parameters: {
|
|
370
|
+
query?: never;
|
|
371
|
+
header?: never;
|
|
372
|
+
path: {
|
|
373
|
+
/** @description Unique identifier */
|
|
374
|
+
id: string;
|
|
375
|
+
};
|
|
376
|
+
cookie?: never;
|
|
491
377
|
};
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
378
|
+
requestBody?: never;
|
|
379
|
+
responses: {
|
|
380
|
+
/** @description Badge deleted */
|
|
381
|
+
204: {
|
|
382
|
+
headers: {
|
|
383
|
+
[name: string]: unknown;
|
|
384
|
+
};
|
|
385
|
+
content?: never;
|
|
386
|
+
};
|
|
387
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
388
|
+
401: {
|
|
389
|
+
headers: {
|
|
390
|
+
[name: string]: unknown;
|
|
391
|
+
};
|
|
392
|
+
content: {
|
|
393
|
+
"text/plain": string;
|
|
394
|
+
};
|
|
395
|
+
};
|
|
396
|
+
/** @description Result not found */
|
|
397
|
+
404: {
|
|
398
|
+
headers: {
|
|
399
|
+
[name: string]: unknown;
|
|
400
|
+
};
|
|
401
|
+
content: {
|
|
402
|
+
"text/plain": string;
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
/** @description Internal server error */
|
|
406
|
+
500: {
|
|
407
|
+
headers: {
|
|
408
|
+
[name: string]: unknown;
|
|
409
|
+
};
|
|
410
|
+
content: {
|
|
411
|
+
"text/plain": string;
|
|
412
|
+
};
|
|
413
|
+
};
|
|
497
414
|
};
|
|
498
|
-
};
|
|
499
415
|
};
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
"application/json": { [key: string]: unknown };
|
|
416
|
+
createOrUpdateBadge: {
|
|
417
|
+
parameters: {
|
|
418
|
+
query?: never;
|
|
419
|
+
header?: never;
|
|
420
|
+
path?: never;
|
|
421
|
+
cookie?: never;
|
|
507
422
|
};
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
423
|
+
requestBody: {
|
|
424
|
+
content: {
|
|
425
|
+
"application/json": {
|
|
426
|
+
/**
|
|
427
|
+
* Format: uuid
|
|
428
|
+
* @description Existing badge ID for updates; omit on create.
|
|
429
|
+
*/
|
|
430
|
+
id?: string;
|
|
431
|
+
/**
|
|
432
|
+
* Format: uuid
|
|
433
|
+
* @description The ID of the organization in which this badge is available.
|
|
434
|
+
*/
|
|
435
|
+
org_id: string;
|
|
436
|
+
/**
|
|
437
|
+
* @description unique identifier for the badge ( auto generated )
|
|
438
|
+
* @example Kubernetes-Expert
|
|
439
|
+
*/
|
|
440
|
+
label: string;
|
|
441
|
+
/**
|
|
442
|
+
* @description Concise descriptor for the badge or certificate.
|
|
443
|
+
* @example Kubernetes Expert
|
|
444
|
+
*/
|
|
445
|
+
name: string;
|
|
446
|
+
/**
|
|
447
|
+
* @description A description of the milestone achieved, often including criteria for receiving this recognition.
|
|
448
|
+
* @example Awarded for mastering Kubernetes concepts and practices.
|
|
449
|
+
*/
|
|
450
|
+
description: string;
|
|
451
|
+
/**
|
|
452
|
+
* Format: uri
|
|
453
|
+
* @description URL to the badge image
|
|
454
|
+
* @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
|
|
455
|
+
*/
|
|
456
|
+
image_url: string;
|
|
457
|
+
};
|
|
458
|
+
};
|
|
513
459
|
};
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
460
|
+
responses: {
|
|
461
|
+
201: {
|
|
462
|
+
headers: {
|
|
463
|
+
[name: string]: unknown;
|
|
464
|
+
};
|
|
465
|
+
content: {
|
|
466
|
+
"application/json": {
|
|
467
|
+
/**
|
|
468
|
+
* Format: uuid
|
|
469
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
470
|
+
*/
|
|
471
|
+
id: string;
|
|
472
|
+
/**
|
|
473
|
+
* Format: uuid
|
|
474
|
+
* @description The ID of the organization in which this badge is available .
|
|
475
|
+
*/
|
|
476
|
+
org_id: string;
|
|
477
|
+
/**
|
|
478
|
+
* @description unique identifier for the badge ( auto generated )
|
|
479
|
+
* @example Kubernetes-Expert
|
|
480
|
+
*/
|
|
481
|
+
label: string;
|
|
482
|
+
/**
|
|
483
|
+
* @description Concise descriptor for the badge or certificate.
|
|
484
|
+
* @example Kubernetes Expert
|
|
485
|
+
*/
|
|
486
|
+
name: string;
|
|
487
|
+
/**
|
|
488
|
+
* @description A description of the milestone achieved, often including criteria for receiving this recognition.
|
|
489
|
+
* @example Awarded for mastering Kubernetes concepts and practices.
|
|
490
|
+
*/
|
|
491
|
+
description: string;
|
|
492
|
+
/**
|
|
493
|
+
* Format: uri
|
|
494
|
+
* @description URL to the badge image
|
|
495
|
+
* @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
|
|
496
|
+
*/
|
|
497
|
+
image_url: string;
|
|
498
|
+
/**
|
|
499
|
+
* Format: date-time
|
|
500
|
+
* @description Timestamp when the resource was created.
|
|
501
|
+
*/
|
|
502
|
+
created_at: string;
|
|
503
|
+
/**
|
|
504
|
+
* Format: date-time
|
|
505
|
+
* @description Timestamp when the resource was updated.
|
|
506
|
+
*/
|
|
507
|
+
updated_at: string;
|
|
508
|
+
/**
|
|
509
|
+
* Format: date-time
|
|
510
|
+
* @description Timestamp when the resource was deleted, if applicable
|
|
511
|
+
*/
|
|
512
|
+
deleted_at: string;
|
|
513
|
+
};
|
|
514
|
+
};
|
|
515
|
+
};
|
|
516
|
+
/** @description Invalid request body or request param */
|
|
517
|
+
400: {
|
|
518
|
+
headers: {
|
|
519
|
+
[name: string]: unknown;
|
|
520
|
+
};
|
|
521
|
+
content: {
|
|
522
|
+
"text/plain": string;
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
526
|
+
401: {
|
|
527
|
+
headers: {
|
|
528
|
+
[name: string]: unknown;
|
|
529
|
+
};
|
|
530
|
+
content: {
|
|
531
|
+
"text/plain": string;
|
|
532
|
+
};
|
|
533
|
+
};
|
|
534
|
+
/** @description Internal server error */
|
|
535
|
+
500: {
|
|
536
|
+
headers: {
|
|
537
|
+
[name: string]: unknown;
|
|
538
|
+
};
|
|
539
|
+
content: {
|
|
540
|
+
"text/plain": string;
|
|
541
|
+
};
|
|
542
|
+
};
|
|
519
543
|
};
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
544
|
+
};
|
|
545
|
+
getAvailableBadges: {
|
|
546
|
+
parameters: {
|
|
547
|
+
query?: never;
|
|
548
|
+
header?: never;
|
|
549
|
+
path?: never;
|
|
550
|
+
cookie?: never;
|
|
551
|
+
};
|
|
552
|
+
requestBody?: never;
|
|
553
|
+
responses: {
|
|
554
|
+
/** @description Available badges */
|
|
555
|
+
200: {
|
|
556
|
+
headers: {
|
|
557
|
+
[name: string]: unknown;
|
|
558
|
+
};
|
|
559
|
+
content: {
|
|
560
|
+
"application/json": {
|
|
561
|
+
/** @description The badges of the badgespage. */
|
|
562
|
+
badges?: {
|
|
563
|
+
[key: string]: {
|
|
564
|
+
/**
|
|
565
|
+
* Format: uuid
|
|
566
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
567
|
+
*/
|
|
568
|
+
id: string;
|
|
569
|
+
/**
|
|
570
|
+
* Format: uuid
|
|
571
|
+
* @description The ID of the organization in which this badge is available .
|
|
572
|
+
*/
|
|
573
|
+
org_id: string;
|
|
574
|
+
/**
|
|
575
|
+
* @description unique identifier for the badge ( auto generated )
|
|
576
|
+
* @example Kubernetes-Expert
|
|
577
|
+
*/
|
|
578
|
+
label: string;
|
|
579
|
+
/**
|
|
580
|
+
* @description Concise descriptor for the badge or certificate.
|
|
581
|
+
* @example Kubernetes Expert
|
|
582
|
+
*/
|
|
583
|
+
name: string;
|
|
584
|
+
/**
|
|
585
|
+
* @description A description of the milestone achieved, often including criteria for receiving this recognition.
|
|
586
|
+
* @example Awarded for mastering Kubernetes concepts and practices.
|
|
587
|
+
*/
|
|
588
|
+
description: string;
|
|
589
|
+
/**
|
|
590
|
+
* Format: uri
|
|
591
|
+
* @description URL to the badge image
|
|
592
|
+
* @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
|
|
593
|
+
*/
|
|
594
|
+
image_url: string;
|
|
595
|
+
/**
|
|
596
|
+
* Format: date-time
|
|
597
|
+
* @description Timestamp when the resource was created.
|
|
598
|
+
*/
|
|
599
|
+
created_at: string;
|
|
600
|
+
/**
|
|
601
|
+
* Format: date-time
|
|
602
|
+
* @description Timestamp when the resource was updated.
|
|
603
|
+
*/
|
|
604
|
+
updated_at: string;
|
|
605
|
+
/**
|
|
606
|
+
* Format: date-time
|
|
607
|
+
* @description Timestamp when the resource was deleted, if applicable
|
|
608
|
+
*/
|
|
609
|
+
deleted_at: string;
|
|
610
|
+
};
|
|
611
|
+
};
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
};
|
|
615
|
+
/** @description Invalid request body or request param */
|
|
616
|
+
400: {
|
|
617
|
+
headers: {
|
|
618
|
+
[name: string]: unknown;
|
|
619
|
+
};
|
|
620
|
+
content: {
|
|
621
|
+
"text/plain": string;
|
|
622
|
+
};
|
|
623
|
+
};
|
|
624
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
625
|
+
401: {
|
|
626
|
+
headers: {
|
|
627
|
+
[name: string]: unknown;
|
|
628
|
+
};
|
|
629
|
+
content: {
|
|
630
|
+
"text/plain": string;
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
/** @description Internal server error */
|
|
634
|
+
500: {
|
|
635
|
+
headers: {
|
|
636
|
+
[name: string]: unknown;
|
|
637
|
+
};
|
|
638
|
+
content: {
|
|
639
|
+
"text/plain": string;
|
|
640
|
+
};
|
|
641
|
+
};
|
|
525
642
|
};
|
|
526
|
-
};
|
|
527
643
|
};
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
644
|
+
assignBadges: {
|
|
645
|
+
parameters: {
|
|
646
|
+
query?: never;
|
|
647
|
+
header?: never;
|
|
648
|
+
path?: never;
|
|
649
|
+
cookie?: never;
|
|
650
|
+
};
|
|
651
|
+
requestBody: {
|
|
652
|
+
content: {
|
|
653
|
+
"application/json": {
|
|
654
|
+
/** @description The badges of the badgeassignment. */
|
|
655
|
+
badges?: string[];
|
|
656
|
+
/**
|
|
657
|
+
* Format: uuid
|
|
658
|
+
* @description ID of the user who owns or created this resource.
|
|
659
|
+
*/
|
|
660
|
+
user_id?: string;
|
|
661
|
+
/** @description The notify of the badgeassignment. */
|
|
662
|
+
notify?: boolean;
|
|
663
|
+
};
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
responses: {
|
|
667
|
+
/** @description Badge assignment result */
|
|
668
|
+
200: {
|
|
669
|
+
headers: {
|
|
670
|
+
[name: string]: unknown;
|
|
671
|
+
};
|
|
672
|
+
content: {
|
|
673
|
+
"application/json": {
|
|
674
|
+
[key: string]: unknown;
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
/** @description Invalid request body or request param */
|
|
679
|
+
400: {
|
|
680
|
+
headers: {
|
|
681
|
+
[name: string]: unknown;
|
|
682
|
+
};
|
|
683
|
+
content: {
|
|
684
|
+
"text/plain": string;
|
|
685
|
+
};
|
|
686
|
+
};
|
|
687
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
688
|
+
401: {
|
|
689
|
+
headers: {
|
|
690
|
+
[name: string]: unknown;
|
|
691
|
+
};
|
|
692
|
+
content: {
|
|
693
|
+
"text/plain": string;
|
|
694
|
+
};
|
|
695
|
+
};
|
|
696
|
+
/** @description Internal server error */
|
|
697
|
+
500: {
|
|
698
|
+
headers: {
|
|
699
|
+
[name: string]: unknown;
|
|
700
|
+
};
|
|
701
|
+
content: {
|
|
702
|
+
"text/plain": string;
|
|
703
|
+
};
|
|
704
|
+
};
|
|
540
705
|
};
|
|
541
|
-
};
|
|
542
706
|
};
|
|
543
|
-
};
|
|
544
707
|
}
|
|
545
|
-
|
|
546
|
-
export interface external {}
|