@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,2021 +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 TeamSchema:
|
|
6
|
-
readonly openapi: "3.0.0";
|
|
7
|
-
readonly info: {
|
|
8
|
-
readonly title: "team";
|
|
9
|
-
readonly description: "Documentation for Meshery Cloud REST APIs for Teams";
|
|
10
|
-
readonly contact: {
|
|
11
|
-
readonly email: "maintainers@meshery.io";
|
|
12
|
-
};
|
|
13
|
-
readonly version: "v1beta1";
|
|
14
|
-
};
|
|
15
|
-
readonly servers: readonly [{
|
|
16
|
-
readonly url: "https://cloud.meshery.io";
|
|
17
|
-
readonly description: "Meshery Cloud production server URL";
|
|
18
|
-
}, {
|
|
19
|
-
readonly url: "https://staging-cloud.meshery.io";
|
|
20
|
-
readonly description: "Meshery Cloud staging server URL";
|
|
21
|
-
}, {
|
|
22
|
-
readonly url: "http://localhost:9876";
|
|
23
|
-
readonly description: "Meshery Cloud development server URL (controlled via PORT environment variable)";
|
|
24
|
-
}];
|
|
25
|
-
readonly security: readonly [{
|
|
26
|
-
readonly jwt: readonly [];
|
|
27
|
-
}];
|
|
28
|
-
readonly tags: readonly [{
|
|
29
|
-
readonly name: "teams";
|
|
30
|
-
readonly description: "A Team is a group of one or more users. Teams are used for assigning permissions in organizations and workspaces. Learn more at https://docs.meshery.io/concepts/logical/teams";
|
|
31
|
-
}];
|
|
32
|
-
readonly components: {
|
|
33
|
-
readonly responses: {
|
|
34
|
-
readonly "200": {
|
|
35
|
-
readonly description: "ok";
|
|
36
|
-
readonly content: {
|
|
37
|
-
readonly "text/plain": {
|
|
38
|
-
readonly schema: {
|
|
39
|
-
readonly type: "string";
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
readonly "400": {
|
|
45
|
-
readonly description: "Invalid request body or request param";
|
|
46
|
-
readonly content: {
|
|
47
|
-
readonly "text/plain": {
|
|
48
|
-
readonly schema: {
|
|
49
|
-
readonly type: "string";
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
readonly "401": {
|
|
55
|
-
readonly description: "Expired JWT token used or insufficient privilege";
|
|
56
|
-
readonly content: {
|
|
57
|
-
readonly "text/plain": {
|
|
58
|
-
readonly schema: {
|
|
59
|
-
readonly type: "string";
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
readonly "404": {
|
|
65
|
-
readonly description: "Result not found";
|
|
66
|
-
readonly content: {
|
|
67
|
-
readonly "text/plain": {
|
|
68
|
-
readonly schema: {
|
|
69
|
-
readonly type: "string";
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
readonly "500": {
|
|
75
|
-
readonly description: "Internal server error";
|
|
76
|
-
readonly content: {
|
|
77
|
-
readonly "text/plain": {
|
|
78
|
-
readonly schema: {
|
|
79
|
-
readonly type: "string";
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
readonly parameters: {
|
|
86
|
-
readonly teamId: {
|
|
87
|
-
readonly name: "teamId";
|
|
88
|
-
readonly in: "path";
|
|
89
|
-
readonly description: "Team ID";
|
|
90
|
-
readonly schema: {
|
|
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
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
98
|
-
readonly db: "team_id";
|
|
99
|
-
readonly json: "team_id";
|
|
100
|
-
};
|
|
101
|
-
readonly "x-go-type-name": "TeamId";
|
|
102
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
103
|
-
};
|
|
104
|
-
readonly required: true;
|
|
105
|
-
};
|
|
106
|
-
readonly orgId: {
|
|
107
|
-
readonly name: "orgId";
|
|
108
|
-
readonly in: "path";
|
|
109
|
-
readonly description: "Organization ID";
|
|
110
|
-
readonly schema: {
|
|
111
|
-
readonly type: "string";
|
|
112
|
-
readonly format: "uuid";
|
|
113
|
-
readonly "x-go-type": "uuid.UUID";
|
|
114
|
-
readonly "x-go-type-import": {
|
|
115
|
-
readonly path: "github.com/gofrs/uuid";
|
|
116
|
-
};
|
|
117
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
118
|
-
readonly db: "org_id";
|
|
119
|
-
readonly json: "org_id";
|
|
120
|
-
};
|
|
121
|
-
readonly "x-go-type-name": "OrganizationId";
|
|
122
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
123
|
-
};
|
|
124
|
-
readonly required: true;
|
|
125
|
-
};
|
|
126
|
-
readonly search: {
|
|
127
|
-
readonly name: "search";
|
|
128
|
-
readonly in: "query";
|
|
129
|
-
readonly description: "Get responses that match search param value";
|
|
130
|
-
readonly schema: {
|
|
131
|
-
readonly type: "string";
|
|
132
|
-
};
|
|
133
|
-
};
|
|
134
|
-
readonly order: {
|
|
135
|
-
readonly name: "order";
|
|
136
|
-
readonly in: "query";
|
|
137
|
-
readonly description: "Get ordered responses";
|
|
138
|
-
readonly schema: {
|
|
139
|
-
readonly type: "string";
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
readonly page: {
|
|
143
|
-
readonly name: "page";
|
|
144
|
-
readonly in: "query";
|
|
145
|
-
readonly description: "Get responses by page";
|
|
146
|
-
readonly schema: {
|
|
147
|
-
readonly type: "string";
|
|
148
|
-
};
|
|
149
|
-
};
|
|
150
|
-
readonly pagesize: {
|
|
151
|
-
readonly name: "pagesize";
|
|
152
|
-
readonly in: "query";
|
|
153
|
-
readonly description: "Get responses by pagesize";
|
|
154
|
-
readonly schema: {
|
|
155
|
-
readonly type: "string";
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
readonly securitySchemes: {
|
|
160
|
-
readonly jwt: {
|
|
161
|
-
readonly type: "http";
|
|
162
|
-
readonly scheme: "Bearer";
|
|
163
|
-
readonly bearerFormat: "JWT";
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
readonly schemas: {
|
|
167
|
-
readonly team: {
|
|
168
|
-
readonly $id: "https://schemas.meshery.io/team.yaml";
|
|
169
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
170
|
-
readonly description: "A Team is a group of one or more users. Teams are often used as a grouping mechanism for assigning permissions, whether in the context of an organization, a workspace, or some other domain within Meshery. Learn more at https://docs.meshery.io/concepts/logical/teams";
|
|
171
|
-
readonly additionalProperties: false;
|
|
172
|
-
readonly type: "object";
|
|
173
|
-
readonly required: readonly ["id", "name"];
|
|
174
|
-
readonly properties: {
|
|
175
|
-
readonly id: {
|
|
176
|
-
readonly description: "Team ID";
|
|
177
|
-
readonly "x-order": 1;
|
|
178
|
-
readonly "x-go-name": "ID";
|
|
179
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
180
|
-
readonly db: "id";
|
|
181
|
-
readonly yaml: "id";
|
|
182
|
-
};
|
|
183
|
-
readonly type: "string";
|
|
184
|
-
readonly format: "uuid";
|
|
185
|
-
readonly "x-go-type": "uuid.UUID";
|
|
186
|
-
readonly "x-go-type-import": {
|
|
187
|
-
readonly path: "github.com/gofrs/uuid";
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
readonly name: {
|
|
191
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
192
|
-
readonly db: "name";
|
|
193
|
-
readonly yaml: "name";
|
|
194
|
-
};
|
|
195
|
-
readonly "x-order": 2;
|
|
196
|
-
readonly type: "string";
|
|
197
|
-
readonly description: "Team name";
|
|
198
|
-
};
|
|
199
|
-
readonly description: {
|
|
200
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
201
|
-
readonly db: "description";
|
|
202
|
-
readonly yaml: "description";
|
|
203
|
-
};
|
|
204
|
-
readonly "x-order": 3;
|
|
205
|
-
readonly type: "string";
|
|
206
|
-
readonly description: "Team description";
|
|
207
|
-
};
|
|
208
|
-
readonly owner: {
|
|
209
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
210
|
-
readonly db: "owner";
|
|
211
|
-
readonly yaml: "owner";
|
|
212
|
-
};
|
|
213
|
-
readonly "x-order": 4;
|
|
214
|
-
readonly description: "User ID of the owner of the team";
|
|
215
|
-
readonly type: "string";
|
|
216
|
-
readonly format: "uuid";
|
|
217
|
-
readonly "x-go-type": "uuid.UUID";
|
|
218
|
-
readonly "x-go-type-import": {
|
|
219
|
-
readonly path: "github.com/gofrs/uuid";
|
|
220
|
-
};
|
|
221
|
-
};
|
|
222
|
-
readonly metadata: {
|
|
223
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
224
|
-
readonly db: "metadata";
|
|
225
|
-
readonly yaml: "metadata";
|
|
226
|
-
};
|
|
227
|
-
readonly "x-order": 5;
|
|
228
|
-
readonly "x-go-type": "core.Map";
|
|
229
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
230
|
-
readonly type: "object";
|
|
231
|
-
readonly description: "Additional metadata for the team";
|
|
232
|
-
};
|
|
233
|
-
readonly created_at: {
|
|
234
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
235
|
-
readonly db: "created_at";
|
|
236
|
-
readonly yaml: "created_at";
|
|
237
|
-
};
|
|
238
|
-
readonly "x-order": 6;
|
|
239
|
-
readonly type: "string";
|
|
240
|
-
readonly format: "date-time";
|
|
241
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
242
|
-
};
|
|
243
|
-
readonly updated_at: {
|
|
244
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
245
|
-
readonly db: "updated_at";
|
|
246
|
-
readonly yaml: "updated_at";
|
|
247
|
-
};
|
|
248
|
-
readonly "x-order": 7;
|
|
249
|
-
readonly type: "string";
|
|
250
|
-
readonly format: "date-time";
|
|
251
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
252
|
-
};
|
|
253
|
-
readonly deleted_at: {
|
|
254
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
255
|
-
readonly db: "deleted_at";
|
|
256
|
-
readonly yaml: "deleted_at";
|
|
257
|
-
};
|
|
258
|
-
readonly "x-go-type": "core.NullTime";
|
|
259
|
-
readonly "x-go-import": "database/sql";
|
|
260
|
-
readonly "x-order": 8;
|
|
261
|
-
readonly type: "string";
|
|
262
|
-
readonly format: "date-time";
|
|
263
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
264
|
-
};
|
|
265
|
-
};
|
|
266
|
-
};
|
|
267
|
-
readonly teamPayload: {
|
|
268
|
-
readonly type: "object";
|
|
269
|
-
readonly description: "Payload for creating a new team";
|
|
270
|
-
readonly required: readonly ["name"];
|
|
271
|
-
readonly properties: {
|
|
272
|
-
readonly name: {
|
|
273
|
-
readonly description: "Team name. Provide a meaningful name that represents this team.";
|
|
274
|
-
readonly type: "string";
|
|
275
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
276
|
-
};
|
|
277
|
-
readonly description: {
|
|
278
|
-
readonly description: "A detailed description of the team's purpose and responsibilities.";
|
|
279
|
-
readonly type: "string";
|
|
280
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
281
|
-
};
|
|
282
|
-
};
|
|
283
|
-
};
|
|
284
|
-
readonly teamUpdatePayload: {
|
|
285
|
-
readonly type: "object";
|
|
286
|
-
readonly description: "Payload for updating an existing team";
|
|
287
|
-
readonly properties: {
|
|
288
|
-
readonly name: {
|
|
289
|
-
readonly description: "Updated team name";
|
|
290
|
-
readonly type: "string";
|
|
291
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
292
|
-
};
|
|
293
|
-
readonly description: {
|
|
294
|
-
readonly description: "Updated team description";
|
|
295
|
-
readonly type: "string";
|
|
296
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
297
|
-
};
|
|
298
|
-
};
|
|
299
|
-
};
|
|
300
|
-
readonly teamPage: {
|
|
301
|
-
readonly type: "object";
|
|
302
|
-
readonly description: "Paginated list of teams";
|
|
303
|
-
readonly properties: {
|
|
304
|
-
readonly page: {
|
|
305
|
-
readonly type: "integer";
|
|
306
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
307
|
-
};
|
|
308
|
-
readonly page_size: {
|
|
309
|
-
readonly type: "integer";
|
|
310
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
311
|
-
};
|
|
312
|
-
readonly total_count: {
|
|
313
|
-
readonly type: "integer";
|
|
314
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
315
|
-
};
|
|
316
|
-
readonly teams: {
|
|
317
|
-
readonly type: "array";
|
|
318
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
319
|
-
readonly items: {
|
|
320
|
-
readonly "x-go-type": "Team";
|
|
321
|
-
readonly $id: "https://schemas.meshery.io/team.yaml";
|
|
322
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
323
|
-
readonly description: "A Team is a group of one or more users. Teams are often used as a grouping mechanism for assigning permissions, whether in the context of an organization, a workspace, or some other domain within Meshery. Learn more at https://docs.meshery.io/concepts/logical/teams";
|
|
324
|
-
readonly additionalProperties: false;
|
|
325
|
-
readonly type: "object";
|
|
326
|
-
readonly required: readonly ["id", "name"];
|
|
327
|
-
readonly properties: {
|
|
328
|
-
readonly id: {
|
|
329
|
-
readonly description: "Team ID";
|
|
330
|
-
readonly "x-order": 1;
|
|
331
|
-
readonly "x-go-name": "ID";
|
|
332
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
333
|
-
readonly db: "id";
|
|
334
|
-
readonly yaml: "id";
|
|
335
|
-
};
|
|
336
|
-
readonly type: "string";
|
|
337
|
-
readonly format: "uuid";
|
|
338
|
-
readonly "x-go-type": "uuid.UUID";
|
|
339
|
-
readonly "x-go-type-import": {
|
|
340
|
-
readonly path: "github.com/gofrs/uuid";
|
|
341
|
-
};
|
|
342
|
-
};
|
|
343
|
-
readonly name: {
|
|
344
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
345
|
-
readonly db: "name";
|
|
346
|
-
readonly yaml: "name";
|
|
347
|
-
};
|
|
348
|
-
readonly "x-order": 2;
|
|
349
|
-
readonly type: "string";
|
|
350
|
-
readonly description: "Team name";
|
|
351
|
-
};
|
|
352
|
-
readonly description: {
|
|
353
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
354
|
-
readonly db: "description";
|
|
355
|
-
readonly yaml: "description";
|
|
356
|
-
};
|
|
357
|
-
readonly "x-order": 3;
|
|
358
|
-
readonly type: "string";
|
|
359
|
-
readonly description: "Team description";
|
|
360
|
-
};
|
|
361
|
-
readonly owner: {
|
|
362
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
363
|
-
readonly db: "owner";
|
|
364
|
-
readonly yaml: "owner";
|
|
365
|
-
};
|
|
366
|
-
readonly "x-order": 4;
|
|
367
|
-
readonly description: "User ID of the owner of the team";
|
|
368
|
-
readonly type: "string";
|
|
369
|
-
readonly format: "uuid";
|
|
370
|
-
readonly "x-go-type": "uuid.UUID";
|
|
371
|
-
readonly "x-go-type-import": {
|
|
372
|
-
readonly path: "github.com/gofrs/uuid";
|
|
373
|
-
};
|
|
374
|
-
};
|
|
375
|
-
readonly metadata: {
|
|
376
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
377
|
-
readonly db: "metadata";
|
|
378
|
-
readonly yaml: "metadata";
|
|
379
|
-
};
|
|
380
|
-
readonly "x-order": 5;
|
|
381
|
-
readonly "x-go-type": "core.Map";
|
|
382
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
383
|
-
readonly type: "object";
|
|
384
|
-
readonly description: "Additional metadata for the team";
|
|
385
|
-
};
|
|
386
|
-
readonly created_at: {
|
|
387
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
388
|
-
readonly db: "created_at";
|
|
389
|
-
readonly yaml: "created_at";
|
|
390
|
-
};
|
|
391
|
-
readonly "x-order": 6;
|
|
392
|
-
readonly type: "string";
|
|
393
|
-
readonly format: "date-time";
|
|
394
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
395
|
-
};
|
|
396
|
-
readonly updated_at: {
|
|
397
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
398
|
-
readonly db: "updated_at";
|
|
399
|
-
readonly yaml: "updated_at";
|
|
400
|
-
};
|
|
401
|
-
readonly "x-order": 7;
|
|
402
|
-
readonly type: "string";
|
|
403
|
-
readonly format: "date-time";
|
|
404
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
405
|
-
};
|
|
406
|
-
readonly deleted_at: {
|
|
407
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
408
|
-
readonly db: "deleted_at";
|
|
409
|
-
readonly yaml: "deleted_at";
|
|
410
|
-
};
|
|
411
|
-
readonly "x-go-type": "core.NullTime";
|
|
412
|
-
readonly "x-go-import": "database/sql";
|
|
413
|
-
readonly "x-order": 8;
|
|
414
|
-
readonly type: "string";
|
|
415
|
-
readonly format: "date-time";
|
|
416
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
417
|
-
};
|
|
418
|
-
};
|
|
419
|
-
};
|
|
420
|
-
};
|
|
421
|
-
};
|
|
422
|
-
};
|
|
423
|
-
readonly teamsUsersMapping: {
|
|
424
|
-
readonly type: "object";
|
|
425
|
-
readonly description: "Mapping between teams and users";
|
|
426
|
-
readonly properties: {
|
|
427
|
-
readonly id: {
|
|
428
|
-
readonly "x-go-name": "ID";
|
|
429
|
-
readonly type: "string";
|
|
430
|
-
readonly format: "uuid";
|
|
431
|
-
readonly "x-go-type": "uuid.UUID";
|
|
432
|
-
readonly "x-go-type-import": {
|
|
433
|
-
readonly path: "github.com/gofrs/uuid";
|
|
434
|
-
};
|
|
435
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
436
|
-
readonly db: "id";
|
|
437
|
-
readonly json: "id";
|
|
438
|
-
};
|
|
439
|
-
readonly "x-go-type-name": "GeneralId";
|
|
440
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
441
|
-
};
|
|
442
|
-
readonly team_id: {
|
|
443
|
-
readonly type: "string";
|
|
444
|
-
readonly format: "uuid";
|
|
445
|
-
readonly "x-go-type": "uuid.UUID";
|
|
446
|
-
readonly "x-go-type-import": {
|
|
447
|
-
readonly path: "github.com/gofrs/uuid";
|
|
448
|
-
};
|
|
449
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
450
|
-
readonly db: "team_id";
|
|
451
|
-
readonly json: "team_id";
|
|
452
|
-
};
|
|
453
|
-
readonly "x-go-type-name": "TeamId";
|
|
454
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
455
|
-
};
|
|
456
|
-
readonly user_id: {
|
|
457
|
-
readonly type: "string";
|
|
458
|
-
readonly description: "user's email or username";
|
|
459
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
460
|
-
};
|
|
461
|
-
readonly created_at: {
|
|
462
|
-
readonly type: "string";
|
|
463
|
-
readonly format: "date-time";
|
|
464
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
465
|
-
};
|
|
466
|
-
readonly updated_at: {
|
|
467
|
-
readonly type: "string";
|
|
468
|
-
readonly format: "date-time";
|
|
469
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
470
|
-
};
|
|
471
|
-
readonly deleted_at: {
|
|
472
|
-
readonly description: "SQL null Timestamp to handle null values of time.";
|
|
473
|
-
readonly "x-go-type": "sql.NullTime";
|
|
474
|
-
readonly type: "string";
|
|
475
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
476
|
-
};
|
|
477
|
-
};
|
|
478
|
-
};
|
|
479
|
-
readonly teamsUsersMappingPage: {
|
|
480
|
-
readonly type: "object";
|
|
481
|
-
readonly description: "Paginated list of team-user mappings";
|
|
482
|
-
readonly properties: {
|
|
483
|
-
readonly page: {
|
|
484
|
-
readonly type: "integer";
|
|
485
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
486
|
-
};
|
|
487
|
-
readonly page_size: {
|
|
488
|
-
readonly type: "integer";
|
|
489
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
490
|
-
};
|
|
491
|
-
readonly total_count: {
|
|
492
|
-
readonly type: "integer";
|
|
493
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
494
|
-
};
|
|
495
|
-
readonly teams_users_mapping: {
|
|
496
|
-
readonly type: "array";
|
|
497
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
498
|
-
readonly items: {
|
|
499
|
-
readonly "x-go-type": "TeamsUsersMapping";
|
|
500
|
-
readonly type: "object";
|
|
501
|
-
readonly description: "Mapping between teams and users";
|
|
502
|
-
readonly properties: {
|
|
503
|
-
readonly id: {
|
|
504
|
-
readonly "x-go-name": "ID";
|
|
505
|
-
readonly type: "string";
|
|
506
|
-
readonly format: "uuid";
|
|
507
|
-
readonly "x-go-type": "uuid.UUID";
|
|
508
|
-
readonly "x-go-type-import": {
|
|
509
|
-
readonly path: "github.com/gofrs/uuid";
|
|
510
|
-
};
|
|
511
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
512
|
-
readonly db: "id";
|
|
513
|
-
readonly json: "id";
|
|
514
|
-
};
|
|
515
|
-
readonly "x-go-type-name": "GeneralId";
|
|
516
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
517
|
-
};
|
|
518
|
-
readonly team_id: {
|
|
519
|
-
readonly type: "string";
|
|
520
|
-
readonly format: "uuid";
|
|
521
|
-
readonly "x-go-type": "uuid.UUID";
|
|
522
|
-
readonly "x-go-type-import": {
|
|
523
|
-
readonly path: "github.com/gofrs/uuid";
|
|
524
|
-
};
|
|
525
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
526
|
-
readonly db: "team_id";
|
|
527
|
-
readonly json: "team_id";
|
|
528
|
-
};
|
|
529
|
-
readonly "x-go-type-name": "TeamId";
|
|
530
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
531
|
-
};
|
|
532
|
-
readonly user_id: {
|
|
533
|
-
readonly type: "string";
|
|
534
|
-
readonly description: "user's email or username";
|
|
535
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
536
|
-
};
|
|
537
|
-
readonly created_at: {
|
|
538
|
-
readonly type: "string";
|
|
539
|
-
readonly format: "date-time";
|
|
540
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
541
|
-
};
|
|
542
|
-
readonly updated_at: {
|
|
543
|
-
readonly type: "string";
|
|
544
|
-
readonly format: "date-time";
|
|
545
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
546
|
-
};
|
|
547
|
-
readonly deleted_at: {
|
|
548
|
-
readonly description: "SQL null Timestamp to handle null values of time.";
|
|
549
|
-
readonly "x-go-type": "sql.NullTime";
|
|
550
|
-
readonly type: "string";
|
|
551
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
552
|
-
};
|
|
553
|
-
};
|
|
554
|
-
};
|
|
555
|
-
};
|
|
556
|
-
};
|
|
557
|
-
};
|
|
558
|
-
};
|
|
559
|
-
readonly requestBodies: {
|
|
560
|
-
readonly teamPayload: {
|
|
561
|
-
readonly description: "Body for creating a team";
|
|
562
|
-
readonly required: true;
|
|
563
|
-
readonly content: {
|
|
564
|
-
readonly "application/json": {
|
|
565
|
-
readonly schema: {
|
|
566
|
-
readonly type: "object";
|
|
567
|
-
readonly description: "Payload for creating a new team";
|
|
568
|
-
readonly required: readonly ["name"];
|
|
569
|
-
readonly properties: {
|
|
570
|
-
readonly name: {
|
|
571
|
-
readonly description: "Team name. Provide a meaningful name that represents this team.";
|
|
572
|
-
readonly type: "string";
|
|
573
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
574
|
-
};
|
|
575
|
-
readonly description: {
|
|
576
|
-
readonly description: "A detailed description of the team's purpose and responsibilities.";
|
|
577
|
-
readonly type: "string";
|
|
578
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
579
|
-
};
|
|
580
|
-
};
|
|
581
|
-
};
|
|
582
|
-
};
|
|
583
|
-
};
|
|
584
|
-
};
|
|
585
|
-
readonly teamUpdatePayload: {
|
|
586
|
-
readonly description: "Body for updating a team";
|
|
587
|
-
readonly required: true;
|
|
588
|
-
readonly content: {
|
|
589
|
-
readonly "application/json": {
|
|
590
|
-
readonly schema: {
|
|
591
|
-
readonly type: "object";
|
|
592
|
-
readonly description: "Payload for updating an existing team";
|
|
593
|
-
readonly properties: {
|
|
594
|
-
readonly name: {
|
|
595
|
-
readonly description: "Updated team name";
|
|
596
|
-
readonly type: "string";
|
|
597
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
598
|
-
};
|
|
599
|
-
readonly description: {
|
|
600
|
-
readonly description: "Updated team description";
|
|
601
|
-
readonly type: "string";
|
|
602
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
603
|
-
};
|
|
604
|
-
};
|
|
605
|
-
};
|
|
606
|
-
};
|
|
607
|
-
};
|
|
608
|
-
};
|
|
609
|
-
};
|
|
610
|
-
};
|
|
611
|
-
readonly paths: {
|
|
612
|
-
readonly "/api/identity/orgs/{orgId}/teams": {
|
|
613
|
-
readonly get: {
|
|
614
|
-
readonly tags: readonly ["teams"];
|
|
615
|
-
readonly operationId: "GetTeams";
|
|
616
|
-
readonly summary: "Get all teams for an organization";
|
|
617
|
-
readonly description: "Gets all teams within an organization";
|
|
618
|
-
readonly parameters: readonly [{
|
|
619
|
-
readonly name: "orgId";
|
|
620
|
-
readonly in: "path";
|
|
621
|
-
readonly description: "Organization ID";
|
|
622
|
-
readonly schema: {
|
|
623
|
-
readonly type: "string";
|
|
624
|
-
readonly format: "uuid";
|
|
625
|
-
readonly "x-go-type": "uuid.UUID";
|
|
626
|
-
readonly "x-go-type-import": {
|
|
627
|
-
readonly path: "github.com/gofrs/uuid";
|
|
628
|
-
};
|
|
629
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
630
|
-
readonly db: "org_id";
|
|
631
|
-
readonly json: "org_id";
|
|
632
|
-
};
|
|
633
|
-
readonly "x-go-type-name": "OrganizationId";
|
|
634
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
635
|
-
};
|
|
636
|
-
readonly required: true;
|
|
637
|
-
}, {
|
|
638
|
-
readonly name: "search";
|
|
639
|
-
readonly in: "query";
|
|
640
|
-
readonly description: "Get responses that match search param value";
|
|
641
|
-
readonly schema: {
|
|
642
|
-
readonly type: "string";
|
|
643
|
-
};
|
|
644
|
-
}, {
|
|
645
|
-
readonly name: "order";
|
|
646
|
-
readonly in: "query";
|
|
647
|
-
readonly description: "Get ordered responses";
|
|
648
|
-
readonly schema: {
|
|
649
|
-
readonly type: "string";
|
|
650
|
-
};
|
|
651
|
-
}, {
|
|
652
|
-
readonly name: "page";
|
|
653
|
-
readonly in: "query";
|
|
654
|
-
readonly description: "Get responses by page";
|
|
655
|
-
readonly schema: {
|
|
656
|
-
readonly type: "string";
|
|
657
|
-
};
|
|
658
|
-
}, {
|
|
659
|
-
readonly name: "pagesize";
|
|
660
|
-
readonly in: "query";
|
|
661
|
-
readonly description: "Get responses by pagesize";
|
|
662
|
-
readonly schema: {
|
|
663
|
-
readonly type: "string";
|
|
664
|
-
};
|
|
665
|
-
}];
|
|
666
|
-
readonly responses: {
|
|
667
|
-
readonly "200": {
|
|
668
|
-
readonly description: "Teams";
|
|
669
|
-
readonly content: {
|
|
670
|
-
readonly "application/json": {
|
|
671
|
-
readonly schema: {
|
|
672
|
-
readonly type: "object";
|
|
673
|
-
readonly description: "Paginated list of teams";
|
|
674
|
-
readonly properties: {
|
|
675
|
-
readonly page: {
|
|
676
|
-
readonly type: "integer";
|
|
677
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
678
|
-
};
|
|
679
|
-
readonly page_size: {
|
|
680
|
-
readonly type: "integer";
|
|
681
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
682
|
-
};
|
|
683
|
-
readonly total_count: {
|
|
684
|
-
readonly type: "integer";
|
|
685
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
686
|
-
};
|
|
687
|
-
readonly teams: {
|
|
688
|
-
readonly type: "array";
|
|
689
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
690
|
-
readonly items: {
|
|
691
|
-
readonly "x-go-type": "Team";
|
|
692
|
-
readonly $id: "https://schemas.meshery.io/team.yaml";
|
|
693
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
694
|
-
readonly description: "A Team is a group of one or more users. Teams are often used as a grouping mechanism for assigning permissions, whether in the context of an organization, a workspace, or some other domain within Meshery. Learn more at https://docs.meshery.io/concepts/logical/teams";
|
|
695
|
-
readonly additionalProperties: false;
|
|
696
|
-
readonly type: "object";
|
|
697
|
-
readonly required: readonly ["id", "name"];
|
|
698
|
-
readonly properties: {
|
|
699
|
-
readonly id: {
|
|
700
|
-
readonly description: "Team ID";
|
|
701
|
-
readonly "x-order": 1;
|
|
702
|
-
readonly "x-go-name": "ID";
|
|
703
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
704
|
-
readonly db: "id";
|
|
705
|
-
readonly yaml: "id";
|
|
706
|
-
};
|
|
707
|
-
readonly type: "string";
|
|
708
|
-
readonly format: "uuid";
|
|
709
|
-
readonly "x-go-type": "uuid.UUID";
|
|
710
|
-
readonly "x-go-type-import": {
|
|
711
|
-
readonly path: "github.com/gofrs/uuid";
|
|
712
|
-
};
|
|
713
|
-
};
|
|
714
|
-
readonly name: {
|
|
715
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
716
|
-
readonly db: "name";
|
|
717
|
-
readonly yaml: "name";
|
|
718
|
-
};
|
|
719
|
-
readonly "x-order": 2;
|
|
720
|
-
readonly type: "string";
|
|
721
|
-
readonly description: "Team name";
|
|
722
|
-
};
|
|
723
|
-
readonly description: {
|
|
724
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
725
|
-
readonly db: "description";
|
|
726
|
-
readonly yaml: "description";
|
|
727
|
-
};
|
|
728
|
-
readonly "x-order": 3;
|
|
729
|
-
readonly type: "string";
|
|
730
|
-
readonly description: "Team description";
|
|
731
|
-
};
|
|
732
|
-
readonly owner: {
|
|
733
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
734
|
-
readonly db: "owner";
|
|
735
|
-
readonly yaml: "owner";
|
|
736
|
-
};
|
|
737
|
-
readonly "x-order": 4;
|
|
738
|
-
readonly description: "User ID of the owner of the team";
|
|
739
|
-
readonly type: "string";
|
|
740
|
-
readonly format: "uuid";
|
|
741
|
-
readonly "x-go-type": "uuid.UUID";
|
|
742
|
-
readonly "x-go-type-import": {
|
|
743
|
-
readonly path: "github.com/gofrs/uuid";
|
|
744
|
-
};
|
|
745
|
-
};
|
|
746
|
-
readonly metadata: {
|
|
747
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
748
|
-
readonly db: "metadata";
|
|
749
|
-
readonly yaml: "metadata";
|
|
750
|
-
};
|
|
751
|
-
readonly "x-order": 5;
|
|
752
|
-
readonly "x-go-type": "core.Map";
|
|
753
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
754
|
-
readonly type: "object";
|
|
755
|
-
readonly description: "Additional metadata for the team";
|
|
756
|
-
};
|
|
757
|
-
readonly created_at: {
|
|
758
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
759
|
-
readonly db: "created_at";
|
|
760
|
-
readonly yaml: "created_at";
|
|
761
|
-
};
|
|
762
|
-
readonly "x-order": 6;
|
|
763
|
-
readonly type: "string";
|
|
764
|
-
readonly format: "date-time";
|
|
765
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
766
|
-
};
|
|
767
|
-
readonly updated_at: {
|
|
768
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
769
|
-
readonly db: "updated_at";
|
|
770
|
-
readonly yaml: "updated_at";
|
|
771
|
-
};
|
|
772
|
-
readonly "x-order": 7;
|
|
773
|
-
readonly type: "string";
|
|
774
|
-
readonly format: "date-time";
|
|
775
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
776
|
-
};
|
|
777
|
-
readonly deleted_at: {
|
|
778
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
779
|
-
readonly db: "deleted_at";
|
|
780
|
-
readonly yaml: "deleted_at";
|
|
781
|
-
};
|
|
782
|
-
readonly "x-go-type": "core.NullTime";
|
|
783
|
-
readonly "x-go-import": "database/sql";
|
|
784
|
-
readonly "x-order": 8;
|
|
785
|
-
readonly type: "string";
|
|
786
|
-
readonly format: "date-time";
|
|
787
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
788
|
-
};
|
|
789
|
-
};
|
|
790
|
-
};
|
|
791
|
-
};
|
|
792
|
-
};
|
|
793
|
-
};
|
|
794
|
-
};
|
|
795
|
-
};
|
|
796
|
-
};
|
|
797
|
-
readonly "401": {
|
|
798
|
-
readonly description: "Expired JWT token used or insufficient privilege";
|
|
799
|
-
readonly content: {
|
|
800
|
-
readonly "text/plain": {
|
|
801
|
-
readonly schema: {
|
|
802
|
-
readonly type: "string";
|
|
803
|
-
};
|
|
804
|
-
};
|
|
805
|
-
};
|
|
806
|
-
};
|
|
807
|
-
readonly "500": {
|
|
808
|
-
readonly description: "Internal server error";
|
|
809
|
-
readonly content: {
|
|
810
|
-
readonly "text/plain": {
|
|
811
|
-
readonly schema: {
|
|
812
|
-
readonly type: "string";
|
|
813
|
-
};
|
|
814
|
-
};
|
|
815
|
-
};
|
|
816
|
-
};
|
|
817
|
-
};
|
|
818
|
-
};
|
|
819
|
-
readonly post: {
|
|
820
|
-
readonly tags: readonly ["teams"];
|
|
821
|
-
readonly operationId: "CreateTeam";
|
|
822
|
-
readonly summary: "Create a team";
|
|
823
|
-
readonly description: "Creates a new team within an organization";
|
|
824
|
-
readonly parameters: readonly [{
|
|
825
|
-
readonly name: "orgId";
|
|
826
|
-
readonly in: "path";
|
|
827
|
-
readonly description: "Organization ID";
|
|
828
|
-
readonly schema: {
|
|
829
|
-
readonly type: "string";
|
|
830
|
-
readonly format: "uuid";
|
|
831
|
-
readonly "x-go-type": "uuid.UUID";
|
|
832
|
-
readonly "x-go-type-import": {
|
|
833
|
-
readonly path: "github.com/gofrs/uuid";
|
|
834
|
-
};
|
|
835
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
836
|
-
readonly db: "org_id";
|
|
837
|
-
readonly json: "org_id";
|
|
838
|
-
};
|
|
839
|
-
readonly "x-go-type-name": "OrganizationId";
|
|
840
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
841
|
-
};
|
|
842
|
-
readonly required: true;
|
|
843
|
-
}];
|
|
844
|
-
readonly requestBody: {
|
|
845
|
-
readonly description: "Body for creating a team";
|
|
846
|
-
readonly required: true;
|
|
847
|
-
readonly content: {
|
|
848
|
-
readonly "application/json": {
|
|
849
|
-
readonly schema: {
|
|
850
|
-
readonly type: "object";
|
|
851
|
-
readonly description: "Payload for creating a new team";
|
|
852
|
-
readonly required: readonly ["name"];
|
|
853
|
-
readonly properties: {
|
|
854
|
-
readonly name: {
|
|
855
|
-
readonly description: "Team name. Provide a meaningful name that represents this team.";
|
|
856
|
-
readonly type: "string";
|
|
857
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
858
|
-
};
|
|
859
|
-
readonly description: {
|
|
860
|
-
readonly description: "A detailed description of the team's purpose and responsibilities.";
|
|
861
|
-
readonly type: "string";
|
|
862
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
863
|
-
};
|
|
864
|
-
};
|
|
865
|
-
};
|
|
866
|
-
};
|
|
867
|
-
};
|
|
868
|
-
};
|
|
869
|
-
readonly responses: {
|
|
870
|
-
readonly "201": {
|
|
871
|
-
readonly description: "Created team";
|
|
872
|
-
readonly content: {
|
|
873
|
-
readonly "application/json": {
|
|
874
|
-
readonly schema: {
|
|
875
|
-
readonly $id: "https://schemas.meshery.io/team.yaml";
|
|
876
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
877
|
-
readonly description: "A Team is a group of one or more users. Teams are often used as a grouping mechanism for assigning permissions, whether in the context of an organization, a workspace, or some other domain within Meshery. Learn more at https://docs.meshery.io/concepts/logical/teams";
|
|
878
|
-
readonly additionalProperties: false;
|
|
879
|
-
readonly type: "object";
|
|
880
|
-
readonly required: readonly ["id", "name"];
|
|
881
|
-
readonly properties: {
|
|
882
|
-
readonly id: {
|
|
883
|
-
readonly description: "Team ID";
|
|
884
|
-
readonly "x-order": 1;
|
|
885
|
-
readonly "x-go-name": "ID";
|
|
886
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
887
|
-
readonly db: "id";
|
|
888
|
-
readonly yaml: "id";
|
|
889
|
-
};
|
|
890
|
-
readonly type: "string";
|
|
891
|
-
readonly format: "uuid";
|
|
892
|
-
readonly "x-go-type": "uuid.UUID";
|
|
893
|
-
readonly "x-go-type-import": {
|
|
894
|
-
readonly path: "github.com/gofrs/uuid";
|
|
895
|
-
};
|
|
896
|
-
};
|
|
897
|
-
readonly name: {
|
|
898
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
899
|
-
readonly db: "name";
|
|
900
|
-
readonly yaml: "name";
|
|
901
|
-
};
|
|
902
|
-
readonly "x-order": 2;
|
|
903
|
-
readonly type: "string";
|
|
904
|
-
readonly description: "Team name";
|
|
905
|
-
};
|
|
906
|
-
readonly description: {
|
|
907
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
908
|
-
readonly db: "description";
|
|
909
|
-
readonly yaml: "description";
|
|
910
|
-
};
|
|
911
|
-
readonly "x-order": 3;
|
|
912
|
-
readonly type: "string";
|
|
913
|
-
readonly description: "Team description";
|
|
914
|
-
};
|
|
915
|
-
readonly owner: {
|
|
916
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
917
|
-
readonly db: "owner";
|
|
918
|
-
readonly yaml: "owner";
|
|
919
|
-
};
|
|
920
|
-
readonly "x-order": 4;
|
|
921
|
-
readonly description: "User ID of the owner of the team";
|
|
922
|
-
readonly type: "string";
|
|
923
|
-
readonly format: "uuid";
|
|
924
|
-
readonly "x-go-type": "uuid.UUID";
|
|
925
|
-
readonly "x-go-type-import": {
|
|
926
|
-
readonly path: "github.com/gofrs/uuid";
|
|
927
|
-
};
|
|
928
|
-
};
|
|
929
|
-
readonly metadata: {
|
|
930
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
931
|
-
readonly db: "metadata";
|
|
932
|
-
readonly yaml: "metadata";
|
|
933
|
-
};
|
|
934
|
-
readonly "x-order": 5;
|
|
935
|
-
readonly "x-go-type": "core.Map";
|
|
936
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
937
|
-
readonly type: "object";
|
|
938
|
-
readonly description: "Additional metadata for the team";
|
|
939
|
-
};
|
|
940
|
-
readonly created_at: {
|
|
941
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
942
|
-
readonly db: "created_at";
|
|
943
|
-
readonly yaml: "created_at";
|
|
944
|
-
};
|
|
945
|
-
readonly "x-order": 6;
|
|
946
|
-
readonly type: "string";
|
|
947
|
-
readonly format: "date-time";
|
|
948
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
949
|
-
};
|
|
950
|
-
readonly updated_at: {
|
|
951
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
952
|
-
readonly db: "updated_at";
|
|
953
|
-
readonly yaml: "updated_at";
|
|
954
|
-
};
|
|
955
|
-
readonly "x-order": 7;
|
|
956
|
-
readonly type: "string";
|
|
957
|
-
readonly format: "date-time";
|
|
958
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
959
|
-
};
|
|
960
|
-
readonly deleted_at: {
|
|
961
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
962
|
-
readonly db: "deleted_at";
|
|
963
|
-
readonly yaml: "deleted_at";
|
|
964
|
-
};
|
|
965
|
-
readonly "x-go-type": "core.NullTime";
|
|
966
|
-
readonly "x-go-import": "database/sql";
|
|
967
|
-
readonly "x-order": 8;
|
|
968
|
-
readonly type: "string";
|
|
969
|
-
readonly format: "date-time";
|
|
970
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
971
|
-
};
|
|
972
|
-
};
|
|
973
|
-
};
|
|
974
|
-
};
|
|
975
|
-
};
|
|
976
|
-
};
|
|
977
|
-
readonly "400": {
|
|
978
|
-
readonly description: "Invalid request body or request param";
|
|
979
|
-
readonly content: {
|
|
980
|
-
readonly "text/plain": {
|
|
981
|
-
readonly schema: {
|
|
982
|
-
readonly type: "string";
|
|
983
|
-
};
|
|
984
|
-
};
|
|
985
|
-
};
|
|
986
|
-
};
|
|
987
|
-
readonly "500": {
|
|
988
|
-
readonly description: "Internal server error";
|
|
989
|
-
readonly content: {
|
|
990
|
-
readonly "text/plain": {
|
|
991
|
-
readonly schema: {
|
|
992
|
-
readonly type: "string";
|
|
993
|
-
};
|
|
994
|
-
};
|
|
995
|
-
};
|
|
996
|
-
};
|
|
997
|
-
};
|
|
998
|
-
};
|
|
999
|
-
};
|
|
1000
|
-
readonly "/api/identity/orgs/{orgId}/teams/{teamId}": {
|
|
1001
|
-
readonly get: {
|
|
1002
|
-
readonly tags: readonly ["teams"];
|
|
1003
|
-
readonly operationId: "GetTeamByID";
|
|
1004
|
-
readonly summary: "Get a team by ID";
|
|
1005
|
-
readonly description: "Gets a team by its ID";
|
|
1006
|
-
readonly parameters: readonly [{
|
|
1007
|
-
readonly name: "orgId";
|
|
1008
|
-
readonly in: "path";
|
|
1009
|
-
readonly description: "Organization ID";
|
|
1010
|
-
readonly schema: {
|
|
1011
|
-
readonly type: "string";
|
|
1012
|
-
readonly format: "uuid";
|
|
1013
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1014
|
-
readonly "x-go-type-import": {
|
|
1015
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1016
|
-
};
|
|
1017
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1018
|
-
readonly db: "org_id";
|
|
1019
|
-
readonly json: "org_id";
|
|
1020
|
-
};
|
|
1021
|
-
readonly "x-go-type-name": "OrganizationId";
|
|
1022
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1023
|
-
};
|
|
1024
|
-
readonly required: true;
|
|
1025
|
-
}, {
|
|
1026
|
-
readonly name: "teamId";
|
|
1027
|
-
readonly in: "path";
|
|
1028
|
-
readonly description: "Team ID";
|
|
1029
|
-
readonly schema: {
|
|
1030
|
-
readonly type: "string";
|
|
1031
|
-
readonly format: "uuid";
|
|
1032
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1033
|
-
readonly "x-go-type-import": {
|
|
1034
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1035
|
-
};
|
|
1036
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1037
|
-
readonly db: "team_id";
|
|
1038
|
-
readonly json: "team_id";
|
|
1039
|
-
};
|
|
1040
|
-
readonly "x-go-type-name": "TeamId";
|
|
1041
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1042
|
-
};
|
|
1043
|
-
readonly required: true;
|
|
1044
|
-
}];
|
|
1045
|
-
readonly responses: {
|
|
1046
|
-
readonly "200": {
|
|
1047
|
-
readonly description: "Team";
|
|
1048
|
-
readonly content: {
|
|
1049
|
-
readonly "application/json": {
|
|
1050
|
-
readonly schema: {
|
|
1051
|
-
readonly $id: "https://schemas.meshery.io/team.yaml";
|
|
1052
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1053
|
-
readonly description: "A Team is a group of one or more users. Teams are often used as a grouping mechanism for assigning permissions, whether in the context of an organization, a workspace, or some other domain within Meshery. Learn more at https://docs.meshery.io/concepts/logical/teams";
|
|
1054
|
-
readonly additionalProperties: false;
|
|
1055
|
-
readonly type: "object";
|
|
1056
|
-
readonly required: readonly ["id", "name"];
|
|
1057
|
-
readonly properties: {
|
|
1058
|
-
readonly id: {
|
|
1059
|
-
readonly description: "Team ID";
|
|
1060
|
-
readonly "x-order": 1;
|
|
1061
|
-
readonly "x-go-name": "ID";
|
|
1062
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1063
|
-
readonly db: "id";
|
|
1064
|
-
readonly yaml: "id";
|
|
1065
|
-
};
|
|
1066
|
-
readonly type: "string";
|
|
1067
|
-
readonly format: "uuid";
|
|
1068
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1069
|
-
readonly "x-go-type-import": {
|
|
1070
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1071
|
-
};
|
|
1072
|
-
};
|
|
1073
|
-
readonly name: {
|
|
1074
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1075
|
-
readonly db: "name";
|
|
1076
|
-
readonly yaml: "name";
|
|
1077
|
-
};
|
|
1078
|
-
readonly "x-order": 2;
|
|
1079
|
-
readonly type: "string";
|
|
1080
|
-
readonly description: "Team name";
|
|
1081
|
-
};
|
|
1082
|
-
readonly description: {
|
|
1083
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1084
|
-
readonly db: "description";
|
|
1085
|
-
readonly yaml: "description";
|
|
1086
|
-
};
|
|
1087
|
-
readonly "x-order": 3;
|
|
1088
|
-
readonly type: "string";
|
|
1089
|
-
readonly description: "Team description";
|
|
1090
|
-
};
|
|
1091
|
-
readonly owner: {
|
|
1092
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1093
|
-
readonly db: "owner";
|
|
1094
|
-
readonly yaml: "owner";
|
|
1095
|
-
};
|
|
1096
|
-
readonly "x-order": 4;
|
|
1097
|
-
readonly description: "User ID of the owner of the team";
|
|
1098
|
-
readonly type: "string";
|
|
1099
|
-
readonly format: "uuid";
|
|
1100
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1101
|
-
readonly "x-go-type-import": {
|
|
1102
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1103
|
-
};
|
|
1104
|
-
};
|
|
1105
|
-
readonly metadata: {
|
|
1106
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1107
|
-
readonly db: "metadata";
|
|
1108
|
-
readonly yaml: "metadata";
|
|
1109
|
-
};
|
|
1110
|
-
readonly "x-order": 5;
|
|
1111
|
-
readonly "x-go-type": "core.Map";
|
|
1112
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1113
|
-
readonly type: "object";
|
|
1114
|
-
readonly description: "Additional metadata for the team";
|
|
1115
|
-
};
|
|
1116
|
-
readonly created_at: {
|
|
1117
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1118
|
-
readonly db: "created_at";
|
|
1119
|
-
readonly yaml: "created_at";
|
|
1120
|
-
};
|
|
1121
|
-
readonly "x-order": 6;
|
|
1122
|
-
readonly type: "string";
|
|
1123
|
-
readonly format: "date-time";
|
|
1124
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1125
|
-
};
|
|
1126
|
-
readonly updated_at: {
|
|
1127
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1128
|
-
readonly db: "updated_at";
|
|
1129
|
-
readonly yaml: "updated_at";
|
|
1130
|
-
};
|
|
1131
|
-
readonly "x-order": 7;
|
|
1132
|
-
readonly type: "string";
|
|
1133
|
-
readonly format: "date-time";
|
|
1134
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1135
|
-
};
|
|
1136
|
-
readonly deleted_at: {
|
|
1137
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1138
|
-
readonly db: "deleted_at";
|
|
1139
|
-
readonly yaml: "deleted_at";
|
|
1140
|
-
};
|
|
1141
|
-
readonly "x-go-type": "core.NullTime";
|
|
1142
|
-
readonly "x-go-import": "database/sql";
|
|
1143
|
-
readonly "x-order": 8;
|
|
1144
|
-
readonly type: "string";
|
|
1145
|
-
readonly format: "date-time";
|
|
1146
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1147
|
-
};
|
|
1148
|
-
};
|
|
1149
|
-
};
|
|
1150
|
-
};
|
|
1151
|
-
};
|
|
1152
|
-
};
|
|
1153
|
-
readonly "400": {
|
|
1154
|
-
readonly description: "Invalid request body or request param";
|
|
1155
|
-
readonly content: {
|
|
1156
|
-
readonly "text/plain": {
|
|
1157
|
-
readonly schema: {
|
|
1158
|
-
readonly type: "string";
|
|
1159
|
-
};
|
|
1160
|
-
};
|
|
1161
|
-
};
|
|
1162
|
-
};
|
|
1163
|
-
readonly "401": {
|
|
1164
|
-
readonly description: "Expired JWT token used or insufficient privilege";
|
|
1165
|
-
readonly content: {
|
|
1166
|
-
readonly "text/plain": {
|
|
1167
|
-
readonly schema: {
|
|
1168
|
-
readonly type: "string";
|
|
1169
|
-
};
|
|
1170
|
-
};
|
|
1171
|
-
};
|
|
1172
|
-
};
|
|
1173
|
-
readonly "404": {
|
|
1174
|
-
readonly description: "Result not found";
|
|
1175
|
-
readonly content: {
|
|
1176
|
-
readonly "text/plain": {
|
|
1177
|
-
readonly schema: {
|
|
1178
|
-
readonly type: "string";
|
|
1179
|
-
};
|
|
1180
|
-
};
|
|
1181
|
-
};
|
|
1182
|
-
};
|
|
1183
|
-
readonly "500": {
|
|
1184
|
-
readonly description: "Internal server error";
|
|
1185
|
-
readonly content: {
|
|
1186
|
-
readonly "text/plain": {
|
|
1187
|
-
readonly schema: {
|
|
1188
|
-
readonly type: "string";
|
|
1189
|
-
};
|
|
1190
|
-
};
|
|
1191
|
-
};
|
|
1192
|
-
};
|
|
1193
|
-
};
|
|
1194
|
-
};
|
|
1195
|
-
readonly put: {
|
|
1196
|
-
readonly tags: readonly ["teams"];
|
|
1197
|
-
readonly operationId: "UpdateTeam";
|
|
1198
|
-
readonly summary: "Update a team";
|
|
1199
|
-
readonly description: "Updates a team's information";
|
|
1200
|
-
readonly parameters: readonly [{
|
|
1201
|
-
readonly name: "orgId";
|
|
1202
|
-
readonly in: "path";
|
|
1203
|
-
readonly description: "Organization ID";
|
|
1204
|
-
readonly schema: {
|
|
1205
|
-
readonly type: "string";
|
|
1206
|
-
readonly format: "uuid";
|
|
1207
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1208
|
-
readonly "x-go-type-import": {
|
|
1209
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1210
|
-
};
|
|
1211
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1212
|
-
readonly db: "org_id";
|
|
1213
|
-
readonly json: "org_id";
|
|
1214
|
-
};
|
|
1215
|
-
readonly "x-go-type-name": "OrganizationId";
|
|
1216
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1217
|
-
};
|
|
1218
|
-
readonly required: true;
|
|
1219
|
-
}, {
|
|
1220
|
-
readonly name: "teamId";
|
|
1221
|
-
readonly in: "path";
|
|
1222
|
-
readonly description: "Team ID";
|
|
1223
|
-
readonly schema: {
|
|
1224
|
-
readonly type: "string";
|
|
1225
|
-
readonly format: "uuid";
|
|
1226
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1227
|
-
readonly "x-go-type-import": {
|
|
1228
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1229
|
-
};
|
|
1230
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1231
|
-
readonly db: "team_id";
|
|
1232
|
-
readonly json: "team_id";
|
|
1233
|
-
};
|
|
1234
|
-
readonly "x-go-type-name": "TeamId";
|
|
1235
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1236
|
-
};
|
|
1237
|
-
readonly required: true;
|
|
1238
|
-
}];
|
|
1239
|
-
readonly requestBody: {
|
|
1240
|
-
readonly description: "Body for updating a team";
|
|
1241
|
-
readonly required: true;
|
|
1242
|
-
readonly content: {
|
|
1243
|
-
readonly "application/json": {
|
|
1244
|
-
readonly schema: {
|
|
1245
|
-
readonly type: "object";
|
|
1246
|
-
readonly description: "Payload for updating an existing team";
|
|
1247
|
-
readonly properties: {
|
|
1248
|
-
readonly name: {
|
|
1249
|
-
readonly description: "Updated team name";
|
|
1250
|
-
readonly type: "string";
|
|
1251
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1252
|
-
};
|
|
1253
|
-
readonly description: {
|
|
1254
|
-
readonly description: "Updated team description";
|
|
1255
|
-
readonly type: "string";
|
|
1256
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1257
|
-
};
|
|
1258
|
-
};
|
|
1259
|
-
};
|
|
1260
|
-
};
|
|
1261
|
-
};
|
|
1262
|
-
};
|
|
1263
|
-
readonly responses: {
|
|
1264
|
-
readonly "200": {
|
|
1265
|
-
readonly description: "Updated team";
|
|
1266
|
-
readonly content: {
|
|
1267
|
-
readonly "application/json": {
|
|
1268
|
-
readonly schema: {
|
|
1269
|
-
readonly $id: "https://schemas.meshery.io/team.yaml";
|
|
1270
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1271
|
-
readonly description: "A Team is a group of one or more users. Teams are often used as a grouping mechanism for assigning permissions, whether in the context of an organization, a workspace, or some other domain within Meshery. Learn more at https://docs.meshery.io/concepts/logical/teams";
|
|
1272
|
-
readonly additionalProperties: false;
|
|
1273
|
-
readonly type: "object";
|
|
1274
|
-
readonly required: readonly ["id", "name"];
|
|
1275
|
-
readonly properties: {
|
|
1276
|
-
readonly id: {
|
|
1277
|
-
readonly description: "Team ID";
|
|
1278
|
-
readonly "x-order": 1;
|
|
1279
|
-
readonly "x-go-name": "ID";
|
|
1280
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1281
|
-
readonly db: "id";
|
|
1282
|
-
readonly yaml: "id";
|
|
1283
|
-
};
|
|
1284
|
-
readonly type: "string";
|
|
1285
|
-
readonly format: "uuid";
|
|
1286
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1287
|
-
readonly "x-go-type-import": {
|
|
1288
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1289
|
-
};
|
|
1290
|
-
};
|
|
1291
|
-
readonly name: {
|
|
1292
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1293
|
-
readonly db: "name";
|
|
1294
|
-
readonly yaml: "name";
|
|
1295
|
-
};
|
|
1296
|
-
readonly "x-order": 2;
|
|
1297
|
-
readonly type: "string";
|
|
1298
|
-
readonly description: "Team name";
|
|
1299
|
-
};
|
|
1300
|
-
readonly description: {
|
|
1301
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1302
|
-
readonly db: "description";
|
|
1303
|
-
readonly yaml: "description";
|
|
1304
|
-
};
|
|
1305
|
-
readonly "x-order": 3;
|
|
1306
|
-
readonly type: "string";
|
|
1307
|
-
readonly description: "Team description";
|
|
1308
|
-
};
|
|
1309
|
-
readonly owner: {
|
|
1310
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1311
|
-
readonly db: "owner";
|
|
1312
|
-
readonly yaml: "owner";
|
|
1313
|
-
};
|
|
1314
|
-
readonly "x-order": 4;
|
|
1315
|
-
readonly description: "User ID of the owner of the team";
|
|
1316
|
-
readonly type: "string";
|
|
1317
|
-
readonly format: "uuid";
|
|
1318
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1319
|
-
readonly "x-go-type-import": {
|
|
1320
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1321
|
-
};
|
|
1322
|
-
};
|
|
1323
|
-
readonly metadata: {
|
|
1324
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1325
|
-
readonly db: "metadata";
|
|
1326
|
-
readonly yaml: "metadata";
|
|
1327
|
-
};
|
|
1328
|
-
readonly "x-order": 5;
|
|
1329
|
-
readonly "x-go-type": "core.Map";
|
|
1330
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1331
|
-
readonly type: "object";
|
|
1332
|
-
readonly description: "Additional metadata for the team";
|
|
1333
|
-
};
|
|
1334
|
-
readonly created_at: {
|
|
1335
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1336
|
-
readonly db: "created_at";
|
|
1337
|
-
readonly yaml: "created_at";
|
|
1338
|
-
};
|
|
1339
|
-
readonly "x-order": 6;
|
|
1340
|
-
readonly type: "string";
|
|
1341
|
-
readonly format: "date-time";
|
|
1342
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1343
|
-
};
|
|
1344
|
-
readonly updated_at: {
|
|
1345
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1346
|
-
readonly db: "updated_at";
|
|
1347
|
-
readonly yaml: "updated_at";
|
|
1348
|
-
};
|
|
1349
|
-
readonly "x-order": 7;
|
|
1350
|
-
readonly type: "string";
|
|
1351
|
-
readonly format: "date-time";
|
|
1352
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1353
|
-
};
|
|
1354
|
-
readonly deleted_at: {
|
|
1355
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1356
|
-
readonly db: "deleted_at";
|
|
1357
|
-
readonly yaml: "deleted_at";
|
|
1358
|
-
};
|
|
1359
|
-
readonly "x-go-type": "core.NullTime";
|
|
1360
|
-
readonly "x-go-import": "database/sql";
|
|
1361
|
-
readonly "x-order": 8;
|
|
1362
|
-
readonly type: "string";
|
|
1363
|
-
readonly format: "date-time";
|
|
1364
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1365
|
-
};
|
|
1366
|
-
};
|
|
1367
|
-
};
|
|
1368
|
-
};
|
|
1369
|
-
};
|
|
1370
|
-
};
|
|
1371
|
-
readonly "400": {
|
|
1372
|
-
readonly description: "Invalid request body or request param";
|
|
1373
|
-
readonly content: {
|
|
1374
|
-
readonly "text/plain": {
|
|
1375
|
-
readonly schema: {
|
|
1376
|
-
readonly type: "string";
|
|
1377
|
-
};
|
|
1378
|
-
};
|
|
1379
|
-
};
|
|
1380
|
-
};
|
|
1381
|
-
readonly "401": {
|
|
1382
|
-
readonly description: "Expired JWT token used or insufficient privilege";
|
|
1383
|
-
readonly content: {
|
|
1384
|
-
readonly "text/plain": {
|
|
1385
|
-
readonly schema: {
|
|
1386
|
-
readonly type: "string";
|
|
1387
|
-
};
|
|
1388
|
-
};
|
|
1389
|
-
};
|
|
1390
|
-
};
|
|
1391
|
-
readonly "404": {
|
|
1392
|
-
readonly description: "Result not found";
|
|
1393
|
-
readonly content: {
|
|
1394
|
-
readonly "text/plain": {
|
|
1395
|
-
readonly schema: {
|
|
1396
|
-
readonly type: "string";
|
|
1397
|
-
};
|
|
1398
|
-
};
|
|
1399
|
-
};
|
|
1400
|
-
};
|
|
1401
|
-
readonly "500": {
|
|
1402
|
-
readonly description: "Internal server error";
|
|
1403
|
-
readonly content: {
|
|
1404
|
-
readonly "text/plain": {
|
|
1405
|
-
readonly schema: {
|
|
1406
|
-
readonly type: "string";
|
|
1407
|
-
};
|
|
1408
|
-
};
|
|
1409
|
-
};
|
|
1410
|
-
};
|
|
1411
|
-
};
|
|
1412
|
-
};
|
|
1413
|
-
readonly delete: {
|
|
1414
|
-
readonly tags: readonly ["teams"];
|
|
1415
|
-
readonly operationId: "DeleteTeam";
|
|
1416
|
-
readonly summary: "Delete a team";
|
|
1417
|
-
readonly description: "Deletes a team by its ID";
|
|
1418
|
-
readonly parameters: readonly [{
|
|
1419
|
-
readonly name: "orgId";
|
|
1420
|
-
readonly in: "path";
|
|
1421
|
-
readonly description: "Organization ID";
|
|
1422
|
-
readonly schema: {
|
|
1423
|
-
readonly type: "string";
|
|
1424
|
-
readonly format: "uuid";
|
|
1425
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1426
|
-
readonly "x-go-type-import": {
|
|
1427
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1428
|
-
};
|
|
1429
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1430
|
-
readonly db: "org_id";
|
|
1431
|
-
readonly json: "org_id";
|
|
1432
|
-
};
|
|
1433
|
-
readonly "x-go-type-name": "OrganizationId";
|
|
1434
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1435
|
-
};
|
|
1436
|
-
readonly required: true;
|
|
1437
|
-
}, {
|
|
1438
|
-
readonly name: "teamId";
|
|
1439
|
-
readonly in: "path";
|
|
1440
|
-
readonly description: "Team ID";
|
|
1441
|
-
readonly schema: {
|
|
1442
|
-
readonly type: "string";
|
|
1443
|
-
readonly format: "uuid";
|
|
1444
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1445
|
-
readonly "x-go-type-import": {
|
|
1446
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1447
|
-
};
|
|
1448
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1449
|
-
readonly db: "team_id";
|
|
1450
|
-
readonly json: "team_id";
|
|
1451
|
-
};
|
|
1452
|
-
readonly "x-go-type-name": "TeamId";
|
|
1453
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1454
|
-
};
|
|
1455
|
-
readonly required: true;
|
|
1456
|
-
}];
|
|
1457
|
-
readonly responses: {
|
|
1458
|
-
readonly "204": {
|
|
1459
|
-
readonly description: "Team deleted successfully";
|
|
1460
|
-
};
|
|
1461
|
-
readonly "400": {
|
|
1462
|
-
readonly description: "Invalid request body or request param";
|
|
1463
|
-
readonly content: {
|
|
1464
|
-
readonly "text/plain": {
|
|
1465
|
-
readonly schema: {
|
|
1466
|
-
readonly type: "string";
|
|
1467
|
-
};
|
|
1468
|
-
};
|
|
1469
|
-
};
|
|
1470
|
-
};
|
|
1471
|
-
readonly "401": {
|
|
1472
|
-
readonly description: "Expired JWT token used or insufficient privilege";
|
|
1473
|
-
readonly content: {
|
|
1474
|
-
readonly "text/plain": {
|
|
1475
|
-
readonly schema: {
|
|
1476
|
-
readonly type: "string";
|
|
1477
|
-
};
|
|
1478
|
-
};
|
|
1479
|
-
};
|
|
1480
|
-
};
|
|
1481
|
-
readonly "404": {
|
|
1482
|
-
readonly description: "Result not found";
|
|
1483
|
-
readonly content: {
|
|
1484
|
-
readonly "text/plain": {
|
|
1485
|
-
readonly schema: {
|
|
1486
|
-
readonly type: "string";
|
|
1487
|
-
};
|
|
1488
|
-
};
|
|
1489
|
-
};
|
|
1490
|
-
};
|
|
1491
|
-
readonly "500": {
|
|
1492
|
-
readonly description: "Internal server error";
|
|
1493
|
-
readonly content: {
|
|
1494
|
-
readonly "text/plain": {
|
|
1495
|
-
readonly schema: {
|
|
1496
|
-
readonly type: "string";
|
|
1497
|
-
};
|
|
1498
|
-
};
|
|
1499
|
-
};
|
|
1500
|
-
};
|
|
1501
|
-
};
|
|
1502
|
-
};
|
|
1503
|
-
};
|
|
1504
|
-
readonly "/api/identity/orgs/{orgId}/teams/{teamId}/users": {
|
|
1505
|
-
readonly get: {
|
|
1506
|
-
readonly tags: readonly ["teams"];
|
|
1507
|
-
readonly operationId: "GetTeamUsers";
|
|
1508
|
-
readonly summary: "Get all users in a team";
|
|
1509
|
-
readonly description: "Gets all users that belong to a team";
|
|
1510
|
-
readonly parameters: readonly [{
|
|
1511
|
-
readonly name: "orgId";
|
|
1512
|
-
readonly in: "path";
|
|
1513
|
-
readonly description: "Organization ID";
|
|
1514
|
-
readonly schema: {
|
|
1515
|
-
readonly type: "string";
|
|
1516
|
-
readonly format: "uuid";
|
|
1517
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1518
|
-
readonly "x-go-type-import": {
|
|
1519
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1520
|
-
};
|
|
1521
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1522
|
-
readonly db: "org_id";
|
|
1523
|
-
readonly json: "org_id";
|
|
1524
|
-
};
|
|
1525
|
-
readonly "x-go-type-name": "OrganizationId";
|
|
1526
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1527
|
-
};
|
|
1528
|
-
readonly required: true;
|
|
1529
|
-
}, {
|
|
1530
|
-
readonly name: "teamId";
|
|
1531
|
-
readonly in: "path";
|
|
1532
|
-
readonly description: "Team ID";
|
|
1533
|
-
readonly schema: {
|
|
1534
|
-
readonly type: "string";
|
|
1535
|
-
readonly format: "uuid";
|
|
1536
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1537
|
-
readonly "x-go-type-import": {
|
|
1538
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1539
|
-
};
|
|
1540
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1541
|
-
readonly db: "team_id";
|
|
1542
|
-
readonly json: "team_id";
|
|
1543
|
-
};
|
|
1544
|
-
readonly "x-go-type-name": "TeamId";
|
|
1545
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1546
|
-
};
|
|
1547
|
-
readonly required: true;
|
|
1548
|
-
}, {
|
|
1549
|
-
readonly name: "search";
|
|
1550
|
-
readonly in: "query";
|
|
1551
|
-
readonly description: "Get responses that match search param value";
|
|
1552
|
-
readonly schema: {
|
|
1553
|
-
readonly type: "string";
|
|
1554
|
-
};
|
|
1555
|
-
}, {
|
|
1556
|
-
readonly name: "order";
|
|
1557
|
-
readonly in: "query";
|
|
1558
|
-
readonly description: "Get ordered responses";
|
|
1559
|
-
readonly schema: {
|
|
1560
|
-
readonly type: "string";
|
|
1561
|
-
};
|
|
1562
|
-
}, {
|
|
1563
|
-
readonly name: "page";
|
|
1564
|
-
readonly in: "query";
|
|
1565
|
-
readonly description: "Get responses by page";
|
|
1566
|
-
readonly schema: {
|
|
1567
|
-
readonly type: "string";
|
|
1568
|
-
};
|
|
1569
|
-
}, {
|
|
1570
|
-
readonly name: "pagesize";
|
|
1571
|
-
readonly in: "query";
|
|
1572
|
-
readonly description: "Get responses by pagesize";
|
|
1573
|
-
readonly schema: {
|
|
1574
|
-
readonly type: "string";
|
|
1575
|
-
};
|
|
1576
|
-
}];
|
|
1577
|
-
readonly responses: {
|
|
1578
|
-
readonly "200": {
|
|
1579
|
-
readonly description: "Team users mapping";
|
|
1580
|
-
readonly content: {
|
|
1581
|
-
readonly "application/json": {
|
|
1582
|
-
readonly schema: {
|
|
1583
|
-
readonly type: "object";
|
|
1584
|
-
readonly description: "Paginated list of team-user mappings";
|
|
1585
|
-
readonly properties: {
|
|
1586
|
-
readonly page: {
|
|
1587
|
-
readonly type: "integer";
|
|
1588
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1589
|
-
};
|
|
1590
|
-
readonly page_size: {
|
|
1591
|
-
readonly type: "integer";
|
|
1592
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1593
|
-
};
|
|
1594
|
-
readonly total_count: {
|
|
1595
|
-
readonly type: "integer";
|
|
1596
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1597
|
-
};
|
|
1598
|
-
readonly teams_users_mapping: {
|
|
1599
|
-
readonly type: "array";
|
|
1600
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1601
|
-
readonly items: {
|
|
1602
|
-
readonly "x-go-type": "TeamsUsersMapping";
|
|
1603
|
-
readonly type: "object";
|
|
1604
|
-
readonly description: "Mapping between teams and users";
|
|
1605
|
-
readonly properties: {
|
|
1606
|
-
readonly id: {
|
|
1607
|
-
readonly "x-go-name": "ID";
|
|
1608
|
-
readonly type: "string";
|
|
1609
|
-
readonly format: "uuid";
|
|
1610
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1611
|
-
readonly "x-go-type-import": {
|
|
1612
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1613
|
-
};
|
|
1614
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1615
|
-
readonly db: "id";
|
|
1616
|
-
readonly json: "id";
|
|
1617
|
-
};
|
|
1618
|
-
readonly "x-go-type-name": "GeneralId";
|
|
1619
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1620
|
-
};
|
|
1621
|
-
readonly team_id: {
|
|
1622
|
-
readonly type: "string";
|
|
1623
|
-
readonly format: "uuid";
|
|
1624
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1625
|
-
readonly "x-go-type-import": {
|
|
1626
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1627
|
-
};
|
|
1628
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1629
|
-
readonly db: "team_id";
|
|
1630
|
-
readonly json: "team_id";
|
|
1631
|
-
};
|
|
1632
|
-
readonly "x-go-type-name": "TeamId";
|
|
1633
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1634
|
-
};
|
|
1635
|
-
readonly user_id: {
|
|
1636
|
-
readonly type: "string";
|
|
1637
|
-
readonly description: "user's email or username";
|
|
1638
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1639
|
-
};
|
|
1640
|
-
readonly created_at: {
|
|
1641
|
-
readonly type: "string";
|
|
1642
|
-
readonly format: "date-time";
|
|
1643
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1644
|
-
};
|
|
1645
|
-
readonly updated_at: {
|
|
1646
|
-
readonly type: "string";
|
|
1647
|
-
readonly format: "date-time";
|
|
1648
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1649
|
-
};
|
|
1650
|
-
readonly deleted_at: {
|
|
1651
|
-
readonly description: "SQL null Timestamp to handle null values of time.";
|
|
1652
|
-
readonly "x-go-type": "sql.NullTime";
|
|
1653
|
-
readonly type: "string";
|
|
1654
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1655
|
-
};
|
|
1656
|
-
};
|
|
1657
|
-
};
|
|
1658
|
-
};
|
|
1659
|
-
};
|
|
1660
|
-
};
|
|
1661
|
-
};
|
|
1662
|
-
};
|
|
1663
|
-
};
|
|
1664
|
-
readonly "400": {
|
|
1665
|
-
readonly description: "Invalid request body or request param";
|
|
1666
|
-
readonly content: {
|
|
1667
|
-
readonly "text/plain": {
|
|
1668
|
-
readonly schema: {
|
|
1669
|
-
readonly type: "string";
|
|
1670
|
-
};
|
|
1671
|
-
};
|
|
1672
|
-
};
|
|
1673
|
-
};
|
|
1674
|
-
readonly "401": {
|
|
1675
|
-
readonly description: "Expired JWT token used or insufficient privilege";
|
|
1676
|
-
readonly content: {
|
|
1677
|
-
readonly "text/plain": {
|
|
1678
|
-
readonly schema: {
|
|
1679
|
-
readonly type: "string";
|
|
1680
|
-
};
|
|
1681
|
-
};
|
|
1682
|
-
};
|
|
1683
|
-
};
|
|
1684
|
-
readonly "404": {
|
|
1685
|
-
readonly description: "Result not found";
|
|
1686
|
-
readonly content: {
|
|
1687
|
-
readonly "text/plain": {
|
|
1688
|
-
readonly schema: {
|
|
1689
|
-
readonly type: "string";
|
|
1690
|
-
};
|
|
1691
|
-
};
|
|
1692
|
-
};
|
|
1693
|
-
};
|
|
1694
|
-
readonly "500": {
|
|
1695
|
-
readonly description: "Internal server error";
|
|
1696
|
-
readonly content: {
|
|
1697
|
-
readonly "text/plain": {
|
|
1698
|
-
readonly schema: {
|
|
1699
|
-
readonly type: "string";
|
|
1700
|
-
};
|
|
1701
|
-
};
|
|
1702
|
-
};
|
|
1703
|
-
};
|
|
1704
|
-
};
|
|
1705
|
-
};
|
|
1706
|
-
};
|
|
1707
|
-
readonly "/api/identity/orgs/{orgId}/teams/{teamId}/users/{userId}": {
|
|
1708
|
-
readonly post: {
|
|
1709
|
-
readonly tags: readonly ["teams"];
|
|
1710
|
-
readonly operationId: "AddUserToTeam";
|
|
1711
|
-
readonly summary: "Add a user to a team";
|
|
1712
|
-
readonly description: "Assigns a user to a team";
|
|
1713
|
-
readonly parameters: readonly [{
|
|
1714
|
-
readonly name: "orgId";
|
|
1715
|
-
readonly in: "path";
|
|
1716
|
-
readonly description: "Organization ID";
|
|
1717
|
-
readonly schema: {
|
|
1718
|
-
readonly type: "string";
|
|
1719
|
-
readonly format: "uuid";
|
|
1720
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1721
|
-
readonly "x-go-type-import": {
|
|
1722
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1723
|
-
};
|
|
1724
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1725
|
-
readonly db: "org_id";
|
|
1726
|
-
readonly json: "org_id";
|
|
1727
|
-
};
|
|
1728
|
-
readonly "x-go-type-name": "OrganizationId";
|
|
1729
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1730
|
-
};
|
|
1731
|
-
readonly required: true;
|
|
1732
|
-
}, {
|
|
1733
|
-
readonly name: "teamId";
|
|
1734
|
-
readonly in: "path";
|
|
1735
|
-
readonly description: "Team ID";
|
|
1736
|
-
readonly schema: {
|
|
1737
|
-
readonly type: "string";
|
|
1738
|
-
readonly format: "uuid";
|
|
1739
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1740
|
-
readonly "x-go-type-import": {
|
|
1741
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1742
|
-
};
|
|
1743
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1744
|
-
readonly db: "team_id";
|
|
1745
|
-
readonly json: "team_id";
|
|
1746
|
-
};
|
|
1747
|
-
readonly "x-go-type-name": "TeamId";
|
|
1748
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1749
|
-
};
|
|
1750
|
-
readonly required: true;
|
|
1751
|
-
}, {
|
|
1752
|
-
readonly name: "userId";
|
|
1753
|
-
readonly in: "path";
|
|
1754
|
-
readonly description: "User ID";
|
|
1755
|
-
readonly schema: {
|
|
1756
|
-
readonly type: "string";
|
|
1757
|
-
readonly description: "user's email or username";
|
|
1758
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1759
|
-
};
|
|
1760
|
-
readonly required: true;
|
|
1761
|
-
}];
|
|
1762
|
-
readonly responses: {
|
|
1763
|
-
readonly "200": {
|
|
1764
|
-
readonly description: "User added to team";
|
|
1765
|
-
readonly content: {
|
|
1766
|
-
readonly "application/json": {
|
|
1767
|
-
readonly schema: {
|
|
1768
|
-
readonly type: "object";
|
|
1769
|
-
readonly description: "Mapping between teams and users";
|
|
1770
|
-
readonly properties: {
|
|
1771
|
-
readonly id: {
|
|
1772
|
-
readonly "x-go-name": "ID";
|
|
1773
|
-
readonly type: "string";
|
|
1774
|
-
readonly format: "uuid";
|
|
1775
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1776
|
-
readonly "x-go-type-import": {
|
|
1777
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1778
|
-
};
|
|
1779
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1780
|
-
readonly db: "id";
|
|
1781
|
-
readonly json: "id";
|
|
1782
|
-
};
|
|
1783
|
-
readonly "x-go-type-name": "GeneralId";
|
|
1784
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1785
|
-
};
|
|
1786
|
-
readonly team_id: {
|
|
1787
|
-
readonly type: "string";
|
|
1788
|
-
readonly format: "uuid";
|
|
1789
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1790
|
-
readonly "x-go-type-import": {
|
|
1791
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1792
|
-
};
|
|
1793
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1794
|
-
readonly db: "team_id";
|
|
1795
|
-
readonly json: "team_id";
|
|
1796
|
-
};
|
|
1797
|
-
readonly "x-go-type-name": "TeamId";
|
|
1798
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1799
|
-
};
|
|
1800
|
-
readonly user_id: {
|
|
1801
|
-
readonly type: "string";
|
|
1802
|
-
readonly description: "user's email or username";
|
|
1803
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1804
|
-
};
|
|
1805
|
-
readonly created_at: {
|
|
1806
|
-
readonly type: "string";
|
|
1807
|
-
readonly format: "date-time";
|
|
1808
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1809
|
-
};
|
|
1810
|
-
readonly updated_at: {
|
|
1811
|
-
readonly type: "string";
|
|
1812
|
-
readonly format: "date-time";
|
|
1813
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1814
|
-
};
|
|
1815
|
-
readonly deleted_at: {
|
|
1816
|
-
readonly description: "SQL null Timestamp to handle null values of time.";
|
|
1817
|
-
readonly "x-go-type": "sql.NullTime";
|
|
1818
|
-
readonly type: "string";
|
|
1819
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1820
|
-
};
|
|
1821
|
-
};
|
|
1822
|
-
};
|
|
1823
|
-
};
|
|
1824
|
-
};
|
|
1825
|
-
};
|
|
1826
|
-
readonly "400": {
|
|
1827
|
-
readonly description: "Invalid request body or request param";
|
|
1828
|
-
readonly content: {
|
|
1829
|
-
readonly "text/plain": {
|
|
1830
|
-
readonly schema: {
|
|
1831
|
-
readonly type: "string";
|
|
1832
|
-
};
|
|
1833
|
-
};
|
|
1834
|
-
};
|
|
1835
|
-
};
|
|
1836
|
-
readonly "401": {
|
|
1837
|
-
readonly description: "Expired JWT token used or insufficient privilege";
|
|
1838
|
-
readonly content: {
|
|
1839
|
-
readonly "text/plain": {
|
|
1840
|
-
readonly schema: {
|
|
1841
|
-
readonly type: "string";
|
|
1842
|
-
};
|
|
1843
|
-
};
|
|
1844
|
-
};
|
|
1845
|
-
};
|
|
1846
|
-
readonly "500": {
|
|
1847
|
-
readonly description: "Internal server error";
|
|
1848
|
-
readonly content: {
|
|
1849
|
-
readonly "text/plain": {
|
|
1850
|
-
readonly schema: {
|
|
1851
|
-
readonly type: "string";
|
|
1852
|
-
};
|
|
1853
|
-
};
|
|
1854
|
-
};
|
|
1855
|
-
};
|
|
1856
|
-
};
|
|
1857
|
-
};
|
|
1858
|
-
readonly delete: {
|
|
1859
|
-
readonly tags: readonly ["teams"];
|
|
1860
|
-
readonly operationId: "RemoveUserFromTeam";
|
|
1861
|
-
readonly summary: "Remove a user from a team";
|
|
1862
|
-
readonly description: "Unassigns a user from a team";
|
|
1863
|
-
readonly parameters: readonly [{
|
|
1864
|
-
readonly name: "orgId";
|
|
1865
|
-
readonly in: "path";
|
|
1866
|
-
readonly description: "Organization ID";
|
|
1867
|
-
readonly schema: {
|
|
1868
|
-
readonly type: "string";
|
|
1869
|
-
readonly format: "uuid";
|
|
1870
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1871
|
-
readonly "x-go-type-import": {
|
|
1872
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1873
|
-
};
|
|
1874
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1875
|
-
readonly db: "org_id";
|
|
1876
|
-
readonly json: "org_id";
|
|
1877
|
-
};
|
|
1878
|
-
readonly "x-go-type-name": "OrganizationId";
|
|
1879
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1880
|
-
};
|
|
1881
|
-
readonly required: true;
|
|
1882
|
-
}, {
|
|
1883
|
-
readonly name: "teamId";
|
|
1884
|
-
readonly in: "path";
|
|
1885
|
-
readonly description: "Team ID";
|
|
1886
|
-
readonly schema: {
|
|
1887
|
-
readonly type: "string";
|
|
1888
|
-
readonly format: "uuid";
|
|
1889
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1890
|
-
readonly "x-go-type-import": {
|
|
1891
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1892
|
-
};
|
|
1893
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1894
|
-
readonly db: "team_id";
|
|
1895
|
-
readonly json: "team_id";
|
|
1896
|
-
};
|
|
1897
|
-
readonly "x-go-type-name": "TeamId";
|
|
1898
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1899
|
-
};
|
|
1900
|
-
readonly required: true;
|
|
1901
|
-
}, {
|
|
1902
|
-
readonly name: "userId";
|
|
1903
|
-
readonly in: "path";
|
|
1904
|
-
readonly description: "User ID";
|
|
1905
|
-
readonly schema: {
|
|
1906
|
-
readonly type: "string";
|
|
1907
|
-
readonly description: "user's email or username";
|
|
1908
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1909
|
-
};
|
|
1910
|
-
readonly required: true;
|
|
1911
|
-
}];
|
|
1912
|
-
readonly responses: {
|
|
1913
|
-
readonly "200": {
|
|
1914
|
-
readonly description: "User removed from team";
|
|
1915
|
-
readonly content: {
|
|
1916
|
-
readonly "application/json": {
|
|
1917
|
-
readonly schema: {
|
|
1918
|
-
readonly type: "object";
|
|
1919
|
-
readonly description: "Mapping between teams and users";
|
|
1920
|
-
readonly properties: {
|
|
1921
|
-
readonly id: {
|
|
1922
|
-
readonly "x-go-name": "ID";
|
|
1923
|
-
readonly type: "string";
|
|
1924
|
-
readonly format: "uuid";
|
|
1925
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1926
|
-
readonly "x-go-type-import": {
|
|
1927
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1928
|
-
};
|
|
1929
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1930
|
-
readonly db: "id";
|
|
1931
|
-
readonly json: "id";
|
|
1932
|
-
};
|
|
1933
|
-
readonly "x-go-type-name": "GeneralId";
|
|
1934
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1935
|
-
};
|
|
1936
|
-
readonly team_id: {
|
|
1937
|
-
readonly type: "string";
|
|
1938
|
-
readonly format: "uuid";
|
|
1939
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1940
|
-
readonly "x-go-type-import": {
|
|
1941
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1942
|
-
};
|
|
1943
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1944
|
-
readonly db: "team_id";
|
|
1945
|
-
readonly json: "team_id";
|
|
1946
|
-
};
|
|
1947
|
-
readonly "x-go-type-name": "TeamId";
|
|
1948
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1949
|
-
};
|
|
1950
|
-
readonly user_id: {
|
|
1951
|
-
readonly type: "string";
|
|
1952
|
-
readonly description: "user's email or username";
|
|
1953
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1954
|
-
};
|
|
1955
|
-
readonly created_at: {
|
|
1956
|
-
readonly type: "string";
|
|
1957
|
-
readonly format: "date-time";
|
|
1958
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1959
|
-
};
|
|
1960
|
-
readonly updated_at: {
|
|
1961
|
-
readonly type: "string";
|
|
1962
|
-
readonly format: "date-time";
|
|
1963
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1964
|
-
};
|
|
1965
|
-
readonly deleted_at: {
|
|
1966
|
-
readonly description: "SQL null Timestamp to handle null values of time.";
|
|
1967
|
-
readonly "x-go-type": "sql.NullTime";
|
|
1968
|
-
readonly type: "string";
|
|
1969
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1970
|
-
};
|
|
1971
|
-
};
|
|
1972
|
-
};
|
|
1973
|
-
};
|
|
1974
|
-
};
|
|
1975
|
-
};
|
|
1976
|
-
readonly "400": {
|
|
1977
|
-
readonly description: "Invalid request body or request param";
|
|
1978
|
-
readonly content: {
|
|
1979
|
-
readonly "text/plain": {
|
|
1980
|
-
readonly schema: {
|
|
1981
|
-
readonly type: "string";
|
|
1982
|
-
};
|
|
1983
|
-
};
|
|
1984
|
-
};
|
|
1985
|
-
};
|
|
1986
|
-
readonly "401": {
|
|
1987
|
-
readonly description: "Expired JWT token used or insufficient privilege";
|
|
1988
|
-
readonly content: {
|
|
1989
|
-
readonly "text/plain": {
|
|
1990
|
-
readonly schema: {
|
|
1991
|
-
readonly type: "string";
|
|
1992
|
-
};
|
|
1993
|
-
};
|
|
1994
|
-
};
|
|
1995
|
-
};
|
|
1996
|
-
readonly "404": {
|
|
1997
|
-
readonly description: "Result not found";
|
|
1998
|
-
readonly content: {
|
|
1999
|
-
readonly "text/plain": {
|
|
2000
|
-
readonly schema: {
|
|
2001
|
-
readonly type: "string";
|
|
2002
|
-
};
|
|
2003
|
-
};
|
|
2004
|
-
};
|
|
2005
|
-
};
|
|
2006
|
-
readonly "500": {
|
|
2007
|
-
readonly description: "Internal server error";
|
|
2008
|
-
readonly content: {
|
|
2009
|
-
readonly "text/plain": {
|
|
2010
|
-
readonly schema: {
|
|
2011
|
-
readonly type: "string";
|
|
2012
|
-
};
|
|
2013
|
-
};
|
|
2014
|
-
};
|
|
2015
|
-
};
|
|
2016
|
-
};
|
|
2017
|
-
};
|
|
2018
|
-
};
|
|
2019
|
-
};
|
|
2020
|
-
};
|
|
5
|
+
declare const TeamSchema: Record<string, unknown>;
|
|
2021
6
|
|
|
2022
7
|
export { TeamSchema as default };
|