@meshery/schemas 0.8.127 → 0.8.129
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/{Core-vaTzd8cz.d.mts → Core-BiYtFM4v.d.mts} +1 -1
- package/dist/{Core-vaTzd8cz.d.ts → Core-BiYtFM4v.d.ts} +1 -1
- package/dist/cloudApi.d.mts +13676 -3825
- package/dist/cloudApi.d.ts +13676 -3825
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +1 -149
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +1 -149
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +1 -1
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +1 -1
- package/dist/constructs/v1alpha1/core/Core.d.mts +1 -1
- package/dist/constructs/v1alpha1/core/Core.d.ts +1 -1
- package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1 -1643
- package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1 -1643
- package/dist/constructs/v1alpha1/core/CoreSchema.js +1 -1
- package/dist/constructs/v1alpha1/core/CoreSchema.mjs +1 -1
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +1 -74
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +1 -74
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +1 -1
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +1 -1
- package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +32 -128
- package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +32 -128
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +1 -6973
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +1 -6973
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +15 -15
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +15 -15
- package/dist/constructs/v1beta1/academy/Academy.d.mts +749 -319
- package/dist/constructs/v1beta1/academy/Academy.d.ts +749 -319
- package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +1 -11832
- package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +1 -11832
- package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
- package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +1 -513
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +1 -513
- package/dist/constructs/v1beta1/badge/BadgeSchema.js +1 -1
- package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +1 -1
- package/dist/constructs/v1beta1/category/CategorySchema.d.mts +1 -54
- package/dist/constructs/v1beta1/category/CategorySchema.d.ts +1 -54
- package/dist/constructs/v1beta1/category/CategorySchema.js +1 -1
- package/dist/constructs/v1beta1/category/CategorySchema.mjs +1 -1
- package/dist/constructs/v1beta1/component/Component.d.mts +6 -12
- package/dist/constructs/v1beta1/component/Component.d.ts +6 -12
- package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1 -1771
- package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1 -1771
- package/dist/constructs/v1beta1/component/ComponentSchema.js +3 -3
- package/dist/constructs/v1beta1/component/ComponentSchema.mjs +3 -3
- package/dist/constructs/v1beta1/connection/Connection.d.mts +12 -12
- package/dist/constructs/v1beta1/connection/Connection.d.ts +12 -12
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +1 -2978
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +1 -2978
- package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta1/credential/Credential.d.mts +517 -0
- package/dist/constructs/v1beta1/credential/Credential.d.ts +517 -0
- package/dist/constructs/v1beta1/credential/Credential.js +1 -0
- package/dist/constructs/v1beta1/credential/Credential.mjs +0 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.js +9 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +9 -0
- package/dist/constructs/v1beta1/environment/Environment.d.mts +4 -4
- package/dist/constructs/v1beta1/environment/Environment.d.ts +4 -4
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +1 -958
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +1 -958
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +68 -212
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +68 -212
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +1 -16507
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +1 -16507
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +25 -25
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +25 -25
- package/dist/constructs/v1beta1/event/EventSchema.d.mts +1 -354
- package/dist/constructs/v1beta1/event/EventSchema.d.ts +1 -354
- package/dist/constructs/v1beta1/event/EventSchema.js +2 -1
- package/dist/constructs/v1beta1/event/EventSchema.mjs +2 -1
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +1 -767
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +1 -767
- package/dist/constructs/v1beta1/feature/FeatureSchema.js +2 -1
- package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +2 -1
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1 -1646
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1 -1646
- package/dist/constructs/v1beta1/invitation/InvitationSchema.js +2 -1
- package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +2 -1
- package/dist/constructs/v1beta1/key/KeySchema.d.mts +1 -1219
- package/dist/constructs/v1beta1/key/KeySchema.d.ts +1 -1219
- package/dist/constructs/v1beta1/key/KeySchema.js +2 -1
- package/dist/constructs/v1beta1/key/KeySchema.mjs +2 -1
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1 -1543
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1 -1543
- package/dist/constructs/v1beta1/keychain/KeychainSchema.js +2 -1
- package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +2 -1
- package/dist/constructs/v1beta1/model/Model.d.mts +7 -13
- package/dist/constructs/v1beta1/model/Model.d.ts +7 -13
- package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1 -1301
- package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1 -1301
- package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
- package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +1 -1488
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +1 -1488
- package/dist/constructs/v1beta1/organization/OrganizationSchema.js +2 -1
- package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +2 -1
- package/dist/constructs/v1beta1/pattern/Pattern.d.mts +7481 -212
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +7481 -212
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +1 -16703
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +1 -16703
- package/dist/constructs/v1beta1/pattern/PatternSchema.js +265 -25
- package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +265 -25
- package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +1 -316
- package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +1 -316
- package/dist/constructs/v1beta1/plan/PlanSchema.js +2 -1
- package/dist/constructs/v1beta1/plan/PlanSchema.mjs +2 -1
- package/dist/constructs/v1beta1/role/Role.d.mts +614 -0
- package/dist/constructs/v1beta1/role/Role.d.ts +614 -0
- package/dist/constructs/v1beta1/role/Role.js +1 -0
- package/dist/constructs/v1beta1/role/Role.mjs +0 -0
- package/dist/constructs/v1beta1/role/RoleSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/role/RoleSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/role/RoleSchema.js +2 -0
- package/dist/constructs/v1beta1/role/RoleSchema.mjs +2 -0
- package/dist/constructs/v1beta1/schedule/Schedule.d.mts +371 -0
- package/dist/constructs/v1beta1/schedule/Schedule.d.ts +371 -0
- package/dist/constructs/v1beta1/schedule/Schedule.js +1 -0
- package/dist/constructs/v1beta1/schedule/Schedule.mjs +0 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +13 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +13 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +1 -27
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +1 -27
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +1 -1
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +1 -1
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1 -1636
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1 -1636
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +1 -1
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +1 -1
- package/dist/constructs/v1beta1/team/Team.d.mts +46 -16
- package/dist/constructs/v1beta1/team/Team.d.ts +46 -16
- package/dist/constructs/v1beta1/team/TeamSchema.d.mts +1 -2016
- package/dist/constructs/v1beta1/team/TeamSchema.d.ts +1 -2016
- package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
- package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
- package/dist/constructs/v1beta1/user/UserSchema.d.mts +1 -1106
- package/dist/constructs/v1beta1/user/UserSchema.d.ts +1 -1106
- package/dist/constructs/v1beta1/user/UserSchema.js +2 -1
- package/dist/constructs/v1beta1/user/UserSchema.mjs +2 -1
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +1 -958
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +1 -958
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +1 -1
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +283 -43
- package/dist/index.mjs +283 -43
- package/dist/mesheryApi.d.mts +2025 -183
- package/dist/mesheryApi.d.ts +2025 -183
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
|
@@ -2,518 +2,6 @@
|
|
|
2
2
|
* This file was automatically generated from OpenAPI schema.
|
|
3
3
|
* Do not manually modify this file.
|
|
4
4
|
*/
|
|
5
|
-
declare const BadgeSchema:
|
|
6
|
-
readonly openapi: "3.0.0";
|
|
7
|
-
readonly info: {
|
|
8
|
-
readonly title: "badge";
|
|
9
|
-
readonly description: "OpenAPI schema for managing badges";
|
|
10
|
-
readonly version: "v1beta1";
|
|
11
|
-
};
|
|
12
|
-
readonly tags: readonly [{
|
|
13
|
-
readonly name: "Badge";
|
|
14
|
-
}];
|
|
15
|
-
readonly paths: {
|
|
16
|
-
readonly "/api/organizations/badges/{id}": {
|
|
17
|
-
readonly delete: {
|
|
18
|
-
readonly "x-internal": readonly ["cloud"];
|
|
19
|
-
readonly operationId: "deleteBadgeByID";
|
|
20
|
-
readonly tags: readonly ["Badge"];
|
|
21
|
-
readonly summary: "Delete a badge by its ID";
|
|
22
|
-
readonly parameters: readonly [{
|
|
23
|
-
readonly name: "id";
|
|
24
|
-
readonly in: "path";
|
|
25
|
-
readonly description: "Unique identifier";
|
|
26
|
-
readonly schema: {
|
|
27
|
-
readonly type: "string";
|
|
28
|
-
readonly format: "uuid";
|
|
29
|
-
readonly "x-go-type": "uuid.UUID";
|
|
30
|
-
readonly "x-go-type-import": {
|
|
31
|
-
readonly path: "github.com/gofrs/uuid";
|
|
32
|
-
};
|
|
33
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
34
|
-
};
|
|
35
|
-
readonly required: true;
|
|
36
|
-
}];
|
|
37
|
-
readonly responses: {
|
|
38
|
-
readonly "204": {
|
|
39
|
-
readonly description: "Badge deleted successfully";
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
readonly get: {
|
|
44
|
-
readonly "x-internal": readonly ["cloud"];
|
|
45
|
-
readonly operationId: "getBadgeByID";
|
|
46
|
-
readonly tags: readonly ["Badge"];
|
|
47
|
-
readonly summary: "Get a badge by its ID";
|
|
48
|
-
readonly parameters: readonly [{
|
|
49
|
-
readonly name: "id";
|
|
50
|
-
readonly in: "path";
|
|
51
|
-
readonly description: "Unique identifier";
|
|
52
|
-
readonly schema: {
|
|
53
|
-
readonly type: "string";
|
|
54
|
-
readonly format: "uuid";
|
|
55
|
-
readonly "x-go-type": "uuid.UUID";
|
|
56
|
-
readonly "x-go-type-import": {
|
|
57
|
-
readonly path: "github.com/gofrs/uuid";
|
|
58
|
-
};
|
|
59
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
60
|
-
};
|
|
61
|
-
readonly required: true;
|
|
62
|
-
}];
|
|
63
|
-
readonly responses: {
|
|
64
|
-
readonly "200": {
|
|
65
|
-
readonly content: {
|
|
66
|
-
readonly "application/json": {
|
|
67
|
-
readonly schema: {
|
|
68
|
-
readonly type: "object";
|
|
69
|
-
readonly required: readonly ["id", "label", "name", "org_id", "description", "image_url", "created_at", "updated_at", "deleted_at"];
|
|
70
|
-
readonly properties: {
|
|
71
|
-
readonly id: {
|
|
72
|
-
readonly "x-go-name": "ID";
|
|
73
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
74
|
-
readonly db: "id";
|
|
75
|
-
readonly json: "id";
|
|
76
|
-
};
|
|
77
|
-
readonly type: "string";
|
|
78
|
-
readonly format: "uuid";
|
|
79
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
80
|
-
readonly "x-go-type": "uuid.UUID";
|
|
81
|
-
readonly "x-go-type-import": {
|
|
82
|
-
readonly path: "github.com/gofrs/uuid";
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
readonly org_id: {
|
|
86
|
-
readonly description: "The ID of the organization in which this badge is available .";
|
|
87
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
88
|
-
readonly db: "org_id";
|
|
89
|
-
readonly json: "org_id";
|
|
90
|
-
};
|
|
91
|
-
readonly type: "string";
|
|
92
|
-
readonly format: "uuid";
|
|
93
|
-
readonly "x-go-type": "uuid.UUID";
|
|
94
|
-
readonly "x-go-type-import": {
|
|
95
|
-
readonly path: "github.com/gofrs/uuid";
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
readonly label: {
|
|
99
|
-
readonly type: "string";
|
|
100
|
-
readonly description: "unique identifier for the badge ( auto generated )";
|
|
101
|
-
readonly example: "Kubernetes-Expert";
|
|
102
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
103
|
-
readonly db: "label";
|
|
104
|
-
readonly json: "label";
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
readonly name: {
|
|
108
|
-
readonly type: "string";
|
|
109
|
-
readonly description: "Concise descriptor for the badge or certificate.";
|
|
110
|
-
readonly example: "Kubernetes Expert";
|
|
111
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
112
|
-
readonly db: "name";
|
|
113
|
-
readonly json: "name";
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
readonly description: {
|
|
117
|
-
readonly type: "string";
|
|
118
|
-
readonly description: "A description of the milestone achieved, often including criteria for receiving this recognition.";
|
|
119
|
-
readonly example: "Awarded for mastering Kubernetes concepts and practices.";
|
|
120
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
121
|
-
readonly db: "description";
|
|
122
|
-
readonly json: "description";
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
readonly image_url: {
|
|
126
|
-
readonly type: "string";
|
|
127
|
-
readonly format: "uri";
|
|
128
|
-
readonly description: "URL to the badge image";
|
|
129
|
-
readonly example: "https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp";
|
|
130
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
131
|
-
readonly db: "image_url";
|
|
132
|
-
readonly json: "image_url";
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
readonly created_at: {
|
|
136
|
-
readonly description: "Timestamp when the resource was created.";
|
|
137
|
-
readonly "x-go-type": "time.Time";
|
|
138
|
-
readonly type: "string";
|
|
139
|
-
readonly format: "date-time";
|
|
140
|
-
readonly "x-go-name": "CreatedAt";
|
|
141
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
142
|
-
readonly db: "created_at";
|
|
143
|
-
readonly yaml: "created_at";
|
|
144
|
-
};
|
|
145
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
146
|
-
};
|
|
147
|
-
readonly updated_at: {
|
|
148
|
-
readonly description: "Timestamp when the resource was updated.";
|
|
149
|
-
readonly "x-go-type": "time.Time";
|
|
150
|
-
readonly type: "string";
|
|
151
|
-
readonly format: "date-time";
|
|
152
|
-
readonly "x-go-name": "UpdatedAt";
|
|
153
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
154
|
-
readonly db: "updated_at";
|
|
155
|
-
readonly yaml: "updated_at";
|
|
156
|
-
};
|
|
157
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
158
|
-
};
|
|
159
|
-
readonly deleted_at: {
|
|
160
|
-
readonly type: "string";
|
|
161
|
-
readonly format: "date-time";
|
|
162
|
-
readonly "x-go-type": "core.NullTime";
|
|
163
|
-
readonly description: "Timestamp when the resource was deleted, if applicable";
|
|
164
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
165
|
-
readonly db: "deleted_at";
|
|
166
|
-
readonly json: "deleted_at";
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
readonly "/api/organizations/badges": {
|
|
178
|
-
readonly post: {
|
|
179
|
-
readonly "x-internal": readonly ["cloud"];
|
|
180
|
-
readonly operationId: "createOrUpdateBadge";
|
|
181
|
-
readonly tags: readonly ["Badge"];
|
|
182
|
-
readonly summary: "Create a new badge or update an existing badge";
|
|
183
|
-
readonly requestBody: {
|
|
184
|
-
readonly content: {
|
|
185
|
-
readonly "application/json": {
|
|
186
|
-
readonly schema: {
|
|
187
|
-
readonly type: "object";
|
|
188
|
-
readonly required: readonly ["id", "label", "name", "org_id", "description", "image_url", "created_at", "updated_at", "deleted_at"];
|
|
189
|
-
readonly properties: {
|
|
190
|
-
readonly id: {
|
|
191
|
-
readonly "x-go-name": "ID";
|
|
192
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
193
|
-
readonly db: "id";
|
|
194
|
-
readonly json: "id";
|
|
195
|
-
};
|
|
196
|
-
readonly type: "string";
|
|
197
|
-
readonly format: "uuid";
|
|
198
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
199
|
-
readonly "x-go-type": "uuid.UUID";
|
|
200
|
-
readonly "x-go-type-import": {
|
|
201
|
-
readonly path: "github.com/gofrs/uuid";
|
|
202
|
-
};
|
|
203
|
-
};
|
|
204
|
-
readonly org_id: {
|
|
205
|
-
readonly description: "The ID of the organization in which this badge is available .";
|
|
206
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
207
|
-
readonly db: "org_id";
|
|
208
|
-
readonly json: "org_id";
|
|
209
|
-
};
|
|
210
|
-
readonly type: "string";
|
|
211
|
-
readonly format: "uuid";
|
|
212
|
-
readonly "x-go-type": "uuid.UUID";
|
|
213
|
-
readonly "x-go-type-import": {
|
|
214
|
-
readonly path: "github.com/gofrs/uuid";
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
readonly label: {
|
|
218
|
-
readonly type: "string";
|
|
219
|
-
readonly description: "unique identifier for the badge ( auto generated )";
|
|
220
|
-
readonly example: "Kubernetes-Expert";
|
|
221
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
222
|
-
readonly db: "label";
|
|
223
|
-
readonly json: "label";
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
readonly name: {
|
|
227
|
-
readonly type: "string";
|
|
228
|
-
readonly description: "Concise descriptor for the badge or certificate.";
|
|
229
|
-
readonly example: "Kubernetes Expert";
|
|
230
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
231
|
-
readonly db: "name";
|
|
232
|
-
readonly json: "name";
|
|
233
|
-
};
|
|
234
|
-
};
|
|
235
|
-
readonly description: {
|
|
236
|
-
readonly type: "string";
|
|
237
|
-
readonly description: "A description of the milestone achieved, often including criteria for receiving this recognition.";
|
|
238
|
-
readonly example: "Awarded for mastering Kubernetes concepts and practices.";
|
|
239
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
240
|
-
readonly db: "description";
|
|
241
|
-
readonly json: "description";
|
|
242
|
-
};
|
|
243
|
-
};
|
|
244
|
-
readonly image_url: {
|
|
245
|
-
readonly type: "string";
|
|
246
|
-
readonly format: "uri";
|
|
247
|
-
readonly description: "URL to the badge image";
|
|
248
|
-
readonly example: "https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp";
|
|
249
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
250
|
-
readonly db: "image_url";
|
|
251
|
-
readonly json: "image_url";
|
|
252
|
-
};
|
|
253
|
-
};
|
|
254
|
-
readonly created_at: {
|
|
255
|
-
readonly description: "Timestamp when the resource was created.";
|
|
256
|
-
readonly "x-go-type": "time.Time";
|
|
257
|
-
readonly type: "string";
|
|
258
|
-
readonly format: "date-time";
|
|
259
|
-
readonly "x-go-name": "CreatedAt";
|
|
260
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
261
|
-
readonly db: "created_at";
|
|
262
|
-
readonly yaml: "created_at";
|
|
263
|
-
};
|
|
264
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
265
|
-
};
|
|
266
|
-
readonly updated_at: {
|
|
267
|
-
readonly description: "Timestamp when the resource was updated.";
|
|
268
|
-
readonly "x-go-type": "time.Time";
|
|
269
|
-
readonly type: "string";
|
|
270
|
-
readonly format: "date-time";
|
|
271
|
-
readonly "x-go-name": "UpdatedAt";
|
|
272
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
273
|
-
readonly db: "updated_at";
|
|
274
|
-
readonly yaml: "updated_at";
|
|
275
|
-
};
|
|
276
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
277
|
-
};
|
|
278
|
-
readonly deleted_at: {
|
|
279
|
-
readonly type: "string";
|
|
280
|
-
readonly format: "date-time";
|
|
281
|
-
readonly "x-go-type": "core.NullTime";
|
|
282
|
-
readonly description: "Timestamp when the resource was deleted, if applicable";
|
|
283
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
284
|
-
readonly db: "deleted_at";
|
|
285
|
-
readonly json: "deleted_at";
|
|
286
|
-
};
|
|
287
|
-
};
|
|
288
|
-
};
|
|
289
|
-
};
|
|
290
|
-
};
|
|
291
|
-
};
|
|
292
|
-
readonly required: true;
|
|
293
|
-
};
|
|
294
|
-
readonly responses: {
|
|
295
|
-
readonly "201": {
|
|
296
|
-
readonly content: {
|
|
297
|
-
readonly "application/json": {
|
|
298
|
-
readonly schema: {
|
|
299
|
-
readonly type: "object";
|
|
300
|
-
readonly required: readonly ["id", "label", "name", "org_id", "description", "image_url", "created_at", "updated_at", "deleted_at"];
|
|
301
|
-
readonly properties: {
|
|
302
|
-
readonly id: {
|
|
303
|
-
readonly "x-go-name": "ID";
|
|
304
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
305
|
-
readonly db: "id";
|
|
306
|
-
readonly json: "id";
|
|
307
|
-
};
|
|
308
|
-
readonly type: "string";
|
|
309
|
-
readonly format: "uuid";
|
|
310
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
311
|
-
readonly "x-go-type": "uuid.UUID";
|
|
312
|
-
readonly "x-go-type-import": {
|
|
313
|
-
readonly path: "github.com/gofrs/uuid";
|
|
314
|
-
};
|
|
315
|
-
};
|
|
316
|
-
readonly org_id: {
|
|
317
|
-
readonly description: "The ID of the organization in which this badge is available .";
|
|
318
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
319
|
-
readonly db: "org_id";
|
|
320
|
-
readonly json: "org_id";
|
|
321
|
-
};
|
|
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 label: {
|
|
330
|
-
readonly type: "string";
|
|
331
|
-
readonly description: "unique identifier for the badge ( auto generated )";
|
|
332
|
-
readonly example: "Kubernetes-Expert";
|
|
333
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
334
|
-
readonly db: "label";
|
|
335
|
-
readonly json: "label";
|
|
336
|
-
};
|
|
337
|
-
};
|
|
338
|
-
readonly name: {
|
|
339
|
-
readonly type: "string";
|
|
340
|
-
readonly description: "Concise descriptor for the badge or certificate.";
|
|
341
|
-
readonly example: "Kubernetes Expert";
|
|
342
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
343
|
-
readonly db: "name";
|
|
344
|
-
readonly json: "name";
|
|
345
|
-
};
|
|
346
|
-
};
|
|
347
|
-
readonly description: {
|
|
348
|
-
readonly type: "string";
|
|
349
|
-
readonly description: "A description of the milestone achieved, often including criteria for receiving this recognition.";
|
|
350
|
-
readonly example: "Awarded for mastering Kubernetes concepts and practices.";
|
|
351
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
352
|
-
readonly db: "description";
|
|
353
|
-
readonly json: "description";
|
|
354
|
-
};
|
|
355
|
-
};
|
|
356
|
-
readonly image_url: {
|
|
357
|
-
readonly type: "string";
|
|
358
|
-
readonly format: "uri";
|
|
359
|
-
readonly description: "URL to the badge image";
|
|
360
|
-
readonly example: "https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp";
|
|
361
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
362
|
-
readonly db: "image_url";
|
|
363
|
-
readonly json: "image_url";
|
|
364
|
-
};
|
|
365
|
-
};
|
|
366
|
-
readonly created_at: {
|
|
367
|
-
readonly description: "Timestamp when the resource was created.";
|
|
368
|
-
readonly "x-go-type": "time.Time";
|
|
369
|
-
readonly type: "string";
|
|
370
|
-
readonly format: "date-time";
|
|
371
|
-
readonly "x-go-name": "CreatedAt";
|
|
372
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
373
|
-
readonly db: "created_at";
|
|
374
|
-
readonly yaml: "created_at";
|
|
375
|
-
};
|
|
376
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
377
|
-
};
|
|
378
|
-
readonly updated_at: {
|
|
379
|
-
readonly description: "Timestamp when the resource was updated.";
|
|
380
|
-
readonly "x-go-type": "time.Time";
|
|
381
|
-
readonly type: "string";
|
|
382
|
-
readonly format: "date-time";
|
|
383
|
-
readonly "x-go-name": "UpdatedAt";
|
|
384
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
385
|
-
readonly db: "updated_at";
|
|
386
|
-
readonly yaml: "updated_at";
|
|
387
|
-
};
|
|
388
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
389
|
-
};
|
|
390
|
-
readonly deleted_at: {
|
|
391
|
-
readonly type: "string";
|
|
392
|
-
readonly format: "date-time";
|
|
393
|
-
readonly "x-go-type": "core.NullTime";
|
|
394
|
-
readonly description: "Timestamp when the resource was deleted, if applicable";
|
|
395
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
396
|
-
readonly db: "deleted_at";
|
|
397
|
-
readonly json: "deleted_at";
|
|
398
|
-
};
|
|
399
|
-
};
|
|
400
|
-
};
|
|
401
|
-
};
|
|
402
|
-
};
|
|
403
|
-
};
|
|
404
|
-
};
|
|
405
|
-
};
|
|
406
|
-
};
|
|
407
|
-
};
|
|
408
|
-
};
|
|
409
|
-
readonly components: {
|
|
410
|
-
readonly schemas: {
|
|
411
|
-
readonly Badge: {
|
|
412
|
-
readonly type: "object";
|
|
413
|
-
readonly required: readonly ["id", "label", "name", "org_id", "description", "image_url", "created_at", "updated_at", "deleted_at"];
|
|
414
|
-
readonly properties: {
|
|
415
|
-
readonly id: {
|
|
416
|
-
readonly "x-go-name": "ID";
|
|
417
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
418
|
-
readonly db: "id";
|
|
419
|
-
readonly json: "id";
|
|
420
|
-
};
|
|
421
|
-
readonly type: "string";
|
|
422
|
-
readonly format: "uuid";
|
|
423
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
424
|
-
readonly "x-go-type": "uuid.UUID";
|
|
425
|
-
readonly "x-go-type-import": {
|
|
426
|
-
readonly path: "github.com/gofrs/uuid";
|
|
427
|
-
};
|
|
428
|
-
};
|
|
429
|
-
readonly org_id: {
|
|
430
|
-
readonly description: "The ID of the organization in which this badge is available .";
|
|
431
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
432
|
-
readonly db: "org_id";
|
|
433
|
-
readonly json: "org_id";
|
|
434
|
-
};
|
|
435
|
-
readonly type: "string";
|
|
436
|
-
readonly format: "uuid";
|
|
437
|
-
readonly "x-go-type": "uuid.UUID";
|
|
438
|
-
readonly "x-go-type-import": {
|
|
439
|
-
readonly path: "github.com/gofrs/uuid";
|
|
440
|
-
};
|
|
441
|
-
};
|
|
442
|
-
readonly label: {
|
|
443
|
-
readonly type: "string";
|
|
444
|
-
readonly description: "unique identifier for the badge ( auto generated )";
|
|
445
|
-
readonly example: "Kubernetes-Expert";
|
|
446
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
447
|
-
readonly db: "label";
|
|
448
|
-
readonly json: "label";
|
|
449
|
-
};
|
|
450
|
-
};
|
|
451
|
-
readonly name: {
|
|
452
|
-
readonly type: "string";
|
|
453
|
-
readonly description: "Concise descriptor for the badge or certificate.";
|
|
454
|
-
readonly example: "Kubernetes Expert";
|
|
455
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
456
|
-
readonly db: "name";
|
|
457
|
-
readonly json: "name";
|
|
458
|
-
};
|
|
459
|
-
};
|
|
460
|
-
readonly description: {
|
|
461
|
-
readonly type: "string";
|
|
462
|
-
readonly description: "A description of the milestone achieved, often including criteria for receiving this recognition.";
|
|
463
|
-
readonly example: "Awarded for mastering Kubernetes concepts and practices.";
|
|
464
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
465
|
-
readonly db: "description";
|
|
466
|
-
readonly json: "description";
|
|
467
|
-
};
|
|
468
|
-
};
|
|
469
|
-
readonly image_url: {
|
|
470
|
-
readonly type: "string";
|
|
471
|
-
readonly format: "uri";
|
|
472
|
-
readonly description: "URL to the badge image";
|
|
473
|
-
readonly example: "https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp";
|
|
474
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
475
|
-
readonly db: "image_url";
|
|
476
|
-
readonly json: "image_url";
|
|
477
|
-
};
|
|
478
|
-
};
|
|
479
|
-
readonly created_at: {
|
|
480
|
-
readonly description: "Timestamp when the resource was created.";
|
|
481
|
-
readonly "x-go-type": "time.Time";
|
|
482
|
-
readonly type: "string";
|
|
483
|
-
readonly format: "date-time";
|
|
484
|
-
readonly "x-go-name": "CreatedAt";
|
|
485
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
486
|
-
readonly db: "created_at";
|
|
487
|
-
readonly yaml: "created_at";
|
|
488
|
-
};
|
|
489
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
490
|
-
};
|
|
491
|
-
readonly updated_at: {
|
|
492
|
-
readonly description: "Timestamp when the resource was updated.";
|
|
493
|
-
readonly "x-go-type": "time.Time";
|
|
494
|
-
readonly type: "string";
|
|
495
|
-
readonly format: "date-time";
|
|
496
|
-
readonly "x-go-name": "UpdatedAt";
|
|
497
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
498
|
-
readonly db: "updated_at";
|
|
499
|
-
readonly yaml: "updated_at";
|
|
500
|
-
};
|
|
501
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
502
|
-
};
|
|
503
|
-
readonly deleted_at: {
|
|
504
|
-
readonly type: "string";
|
|
505
|
-
readonly format: "date-time";
|
|
506
|
-
readonly "x-go-type": "core.NullTime";
|
|
507
|
-
readonly description: "Timestamp when the resource was deleted, if applicable";
|
|
508
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
509
|
-
readonly db: "deleted_at";
|
|
510
|
-
readonly json: "deleted_at";
|
|
511
|
-
};
|
|
512
|
-
};
|
|
513
|
-
};
|
|
514
|
-
};
|
|
515
|
-
};
|
|
516
|
-
};
|
|
517
|
-
};
|
|
5
|
+
declare const BadgeSchema: Record<string, unknown>;
|
|
518
6
|
|
|
519
7
|
export { BadgeSchema as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var e={openapi:"3.0.0",info:{title:"badge",description:"OpenAPI schema for managing badges",version:"v1beta1"},tags:[{name:"Badge"}],paths:{"/api/organizations/badges/{id}":{delete:{"x-internal":["cloud"],operationId:"deleteBadgeByID",tags:["Badge"],summary:"Delete a badge by its ID",parameters:[{name:"id",in:"path",description:"Unique identifier",schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-go-type-skip-optional-pointer":true},required:true}],responses:{204:{description:"Badge deleted successfully"}}},get:{"x-internal":["cloud"],operationId:"getBadgeByID",tags:["Badge"],summary:"Get a badge by its ID",parameters:[{name:"id",in:"path",description:"Unique identifier",schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-go-type-skip-optional-pointer":true},required:true}],responses:{200:{content:{"application/json":{schema:{type:"object",required:["id","label","name","org_id","description","image_url","created_at","updated_at","deleted_at"],properties:{id:{"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",json:"id"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},org_id:{description:"The ID of the organization in which this badge is available .","x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},label:{type:"string",description:"unique identifier for the badge ( auto generated )",example:"Kubernetes-Expert","x-oapi-codegen-extra-tags":{db:"label",json:"label"}},name:{type:"string",description:"Concise descriptor for the badge or certificate.",example:"Kubernetes Expert","x-oapi-codegen-extra-tags":{db:"name",json:"name"}},description:{type:"string",description:"A description of the milestone achieved, often including criteria for receiving this recognition.",example:"Awarded for mastering Kubernetes concepts and practices.","x-oapi-codegen-extra-tags":{db:"description",json:"description"}},image_url:{type:"string",format:"uri",description:"URL to the badge image",example:"https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp","x-oapi-codegen-extra-tags":{db:"image_url",json:"image_url"}},created_at:{description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the resource was deleted, if applicable","x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deleted_at"}}}}}}}}}},"/api/organizations/badges":{post:{"x-internal":["cloud"],operationId:"createOrUpdateBadge",tags:["Badge"],summary:"Create a new badge or update an existing badge",requestBody:{content:{"application/json":{schema:{type:"object",required:["id","label","name","org_id","description","image_url","created_at","updated_at","deleted_at"],properties:{id:{"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",json:"id"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},org_id:{description:"The ID of the organization in which this badge is available .","x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},label:{type:"string",description:"unique identifier for the badge ( auto generated )",example:"Kubernetes-Expert","x-oapi-codegen-extra-tags":{db:"label",json:"label"}},name:{type:"string",description:"Concise descriptor for the badge or certificate.",example:"Kubernetes Expert","x-oapi-codegen-extra-tags":{db:"name",json:"name"}},description:{type:"string",description:"A description of the milestone achieved, often including criteria for receiving this recognition.",example:"Awarded for mastering Kubernetes concepts and practices.","x-oapi-codegen-extra-tags":{db:"description",json:"description"}},image_url:{type:"string",format:"uri",description:"URL to the badge image",example:"https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp","x-oapi-codegen-extra-tags":{db:"image_url",json:"image_url"}},created_at:{description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the resource was deleted, if applicable","x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deleted_at"}}}}}},required:true},responses:{201:{content:{"application/json":{schema:{type:"object",required:["id","label","name","org_id","description","image_url","created_at","updated_at","deleted_at"],properties:{id:{"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",json:"id"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},org_id:{description:"The ID of the organization in which this badge is available .","x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},label:{type:"string",description:"unique identifier for the badge ( auto generated )",example:"Kubernetes-Expert","x-oapi-codegen-extra-tags":{db:"label",json:"label"}},name:{type:"string",description:"Concise descriptor for the badge or certificate.",example:"Kubernetes Expert","x-oapi-codegen-extra-tags":{db:"name",json:"name"}},description:{type:"string",description:"A description of the milestone achieved, often including criteria for receiving this recognition.",example:"Awarded for mastering Kubernetes concepts and practices.","x-oapi-codegen-extra-tags":{db:"description",json:"description"}},image_url:{type:"string",format:"uri",description:"URL to the badge image",example:"https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp","x-oapi-codegen-extra-tags":{db:"image_url",json:"image_url"}},created_at:{description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the resource was deleted, if applicable","x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deleted_at"}}}}}}}}}}},components:{schemas:{Badge:{type:"object",required:["id","label","name","org_id","description","image_url","created_at","updated_at","deleted_at"],properties:{id:{"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",json:"id"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},org_id:{description:"The ID of the organization in which this badge is available .","x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},label:{type:"string",description:"unique identifier for the badge ( auto generated )",example:"Kubernetes-Expert","x-oapi-codegen-extra-tags":{db:"label",json:"label"}},name:{type:"string",description:"Concise descriptor for the badge or certificate.",example:"Kubernetes Expert","x-oapi-codegen-extra-tags":{db:"name",json:"name"}},description:{type:"string",description:"A description of the milestone achieved, often including criteria for receiving this recognition.",example:"Awarded for mastering Kubernetes concepts and practices.","x-oapi-codegen-extra-tags":{db:"description",json:"description"}},image_url:{type:"string",format:"uri",description:"URL to the badge image",example:"https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp","x-oapi-codegen-extra-tags":{db:"image_url",json:"image_url"}},created_at:{description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the resource was deleted, if applicable","x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deleted_at"}}}}}}},t=e;
|
|
1
|
+
'use strict';var e={openapi:"3.0.0",info:{title:"Badge",description:"OpenAPI schema for managing badges.",version:"v1beta1",contact:{name:"Meshery Maintainers",email:"maintainers@meshery.io",url:"https://meshery.io"},license:{name:"Apache 2.0",url:"https://www.apache.org/licenses/LICENSE-2.0.html"}},tags:[{name:"Badge"}],paths:{"/api/organizations/badges/{id}":{delete:{"x-internal":["cloud"],operationId:"deleteBadgeByID",tags:["Badge"],summary:"Delete a badge by its ID",parameters:[{name:"id",in:"path",description:"Unique identifier",schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-go-type-skip-optional-pointer":true},required:true}],responses:{204:{description:"Badge deleted successfully"}}},get:{"x-internal":["cloud"],operationId:"getBadgeByID",tags:["Badge"],summary:"Get a badge by its ID",parameters:[{name:"id",in:"path",description:"Unique identifier",schema:{type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"},"x-go-type-skip-optional-pointer":true},required:true}],responses:{200:{content:{"application/json":{schema:{type:"object",required:["id","label","name","org_id","description","image_url","created_at","updated_at","deleted_at"],properties:{id:{"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",json:"id"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},org_id:{description:"The ID of the organization in which this badge is available .","x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},label:{type:"string",description:"unique identifier for the badge ( auto generated )",example:"Kubernetes-Expert","x-oapi-codegen-extra-tags":{db:"label",json:"label"}},name:{type:"string",description:"Concise descriptor for the badge or certificate.",example:"Kubernetes Expert","x-oapi-codegen-extra-tags":{db:"name",json:"name"}},description:{type:"string",description:"A description of the milestone achieved, often including criteria for receiving this recognition.",example:"Awarded for mastering Kubernetes concepts and practices.","x-oapi-codegen-extra-tags":{db:"description",json:"description"}},image_url:{type:"string",format:"uri",description:"URL to the badge image",example:"https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp","x-oapi-codegen-extra-tags":{db:"image_url",json:"image_url"}},created_at:{description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the resource was deleted, if applicable","x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deleted_at"}}}}}}}}}},"/api/organizations/badges":{post:{"x-internal":["cloud"],operationId:"createOrUpdateBadge",tags:["Badge"],summary:"Create a new badge or update an existing badge",requestBody:{content:{"application/json":{schema:{type:"object",required:["id","label","name","org_id","description","image_url","created_at","updated_at","deleted_at"],properties:{id:{"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",json:"id"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},org_id:{description:"The ID of the organization in which this badge is available .","x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},label:{type:"string",description:"unique identifier for the badge ( auto generated )",example:"Kubernetes-Expert","x-oapi-codegen-extra-tags":{db:"label",json:"label"}},name:{type:"string",description:"Concise descriptor for the badge or certificate.",example:"Kubernetes Expert","x-oapi-codegen-extra-tags":{db:"name",json:"name"}},description:{type:"string",description:"A description of the milestone achieved, often including criteria for receiving this recognition.",example:"Awarded for mastering Kubernetes concepts and practices.","x-oapi-codegen-extra-tags":{db:"description",json:"description"}},image_url:{type:"string",format:"uri",description:"URL to the badge image",example:"https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp","x-oapi-codegen-extra-tags":{db:"image_url",json:"image_url"}},created_at:{description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the resource was deleted, if applicable","x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deleted_at"}}}}}},required:true},responses:{201:{content:{"application/json":{schema:{type:"object",required:["id","label","name","org_id","description","image_url","created_at","updated_at","deleted_at"],properties:{id:{"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",json:"id"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},org_id:{description:"The ID of the organization in which this badge is available .","x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},label:{type:"string",description:"unique identifier for the badge ( auto generated )",example:"Kubernetes-Expert","x-oapi-codegen-extra-tags":{db:"label",json:"label"}},name:{type:"string",description:"Concise descriptor for the badge or certificate.",example:"Kubernetes Expert","x-oapi-codegen-extra-tags":{db:"name",json:"name"}},description:{type:"string",description:"A description of the milestone achieved, often including criteria for receiving this recognition.",example:"Awarded for mastering Kubernetes concepts and practices.","x-oapi-codegen-extra-tags":{db:"description",json:"description"}},image_url:{type:"string",format:"uri",description:"URL to the badge image",example:"https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp","x-oapi-codegen-extra-tags":{db:"image_url",json:"image_url"}},created_at:{description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the resource was deleted, if applicable","x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deleted_at"}}}}}}}}}}},components:{schemas:{Badge:{type:"object",required:["id","label","name","org_id","description","image_url","created_at","updated_at","deleted_at"],properties:{id:{"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",json:"id"},type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},org_id:{description:"The ID of the organization in which this badge is available .","x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},label:{type:"string",description:"unique identifier for the badge ( auto generated )",example:"Kubernetes-Expert","x-oapi-codegen-extra-tags":{db:"label",json:"label"}},name:{type:"string",description:"Concise descriptor for the badge or certificate.",example:"Kubernetes Expert","x-oapi-codegen-extra-tags":{db:"name",json:"name"}},description:{type:"string",description:"A description of the milestone achieved, often including criteria for receiving this recognition.",example:"Awarded for mastering Kubernetes concepts and practices.","x-oapi-codegen-extra-tags":{db:"description",json:"description"}},image_url:{type:"string",format:"uri",description:"URL to the badge image",example:"https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp","x-oapi-codegen-extra-tags":{db:"image_url",json:"image_url"}},created_at:{description:"Timestamp when the resource was created.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"CreatedAt","x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-go-type-skip-optional-pointer":true},updated_at:{description:"Timestamp when the resource was updated.","x-go-type":"time.Time",type:"string",format:"date-time","x-go-name":"UpdatedAt","x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-go-type-skip-optional-pointer":true},deleted_at:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the resource was deleted, if applicable","x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deleted_at"}}}}}}},t=e;
|
|
2
2
|
module.exports=t;
|