@@ -21,15 +21,9 @@ paths:
21
21
type : string
22
22
description : status
23
23
result :
24
- allOf :
25
- - type : object
26
- properties :
27
- appId :
28
- type : integer
29
- description : unique application id
30
- required :
31
- - appId
32
- - $ref : ' #/components/schemas/AppLabel'
24
+ type : array
25
+ items :
26
+ $ref : ' #/components/schemas/AppLabel'
33
27
default :
34
28
description : unexpected error
35
29
content :
@@ -62,15 +56,14 @@ paths:
62
56
type : string
63
57
description : status
64
58
result :
65
- type : object
66
- description : meta info project name and labels
67
59
$ref : ' #/components/schemas/AppMetaInfo'
68
60
default :
69
61
description : unexpected error
70
62
content :
71
63
application/json :
72
64
schema :
73
65
$ref : ' #/components/schemas/ErrorResponse'
66
+
74
67
/orchestrator/helm/meta/info/{appId} :
75
68
get :
76
69
description : application info for all types of helm apps
@@ -95,9 +88,22 @@ paths:
95
88
type : string
96
89
description : status
97
90
result :
98
- type : object
99
- description : meta info project name and labels
100
- $ref : ' #/components/schemas/AppMetaInfo'
91
+ allOf :
92
+ - $ref : ' #/components/schemas/AppMetaInfo'
93
+ - type : object
94
+ properties :
95
+ chartUsed :
96
+ $ref : ' #/components/schemas/ChartUsed'
97
+ gitMaterials :
98
+ type : array
99
+ items :
100
+ $ref : ' #/components/schemas/GitMaterialMeta'
101
+ default :
102
+ description : unexpected error
103
+ content :
104
+ application/json :
105
+ schema :
106
+ $ref : ' #/components/schemas/ErrorResponse'
101
107
102
108
# components mentioned below
103
109
components :
@@ -107,6 +113,7 @@ components:
107
113
required :
108
114
- key
109
115
- value
116
+ - propagate
110
117
properties :
111
118
key :
112
119
type : string
@@ -118,20 +125,6 @@ components:
118
125
type : boolean
119
126
description : Whether to propagate to kubernetes resources
120
127
121
- AppLabels :
122
- type : object
123
- required :
124
- - appId
125
- - labels
126
- properties :
127
- appId :
128
- type : integer
129
- description : application id
130
- labels :
131
- type : array
132
- items :
133
- $ref : ' #/components/schemas/AppLabel'
134
-
135
128
AppMetaInfo :
136
129
type : object
137
130
required :
@@ -141,7 +134,7 @@ components:
141
134
- projectName
142
135
- createdOn
143
136
- createdBy
144
- - labels
137
+ - active
145
138
properties :
146
139
appId :
147
140
type : integer
@@ -155,16 +148,81 @@ components:
155
148
projectName :
156
149
type : string
157
150
description : team/project name
151
+ description :
152
+ type : string
153
+ description : app description
158
154
labels :
159
155
type : array
160
156
items :
161
157
$ref : ' #/components/schemas/AppLabel'
162
158
createdOn :
163
159
type : string
160
+ format : date-time
164
161
description : app creation date
165
162
createdBy :
166
163
type : string
167
164
description : app created by
165
+ active :
166
+ type : boolean
167
+ description : whether app is active
168
+ note :
169
+ $ref : ' #/components/schemas/GenericNoteResponse'
170
+
171
+ ChartUsed :
172
+ type : object
173
+ properties :
174
+ appStoreChartName :
175
+ type : string
176
+ description : Name of the chart from app store
177
+ appStoreChartId :
178
+ type : integer
179
+ description : ID of the chart from app store
180
+ appStoreAppName :
181
+ type : string
182
+ description : Name of the app in app store
183
+ appStoreAppVersion :
184
+ type : string
185
+ description : Version of the app in app store
186
+ chartAvatar :
187
+ type : string
188
+ description : Avatar/icon of the chart
189
+
190
+ GitMaterialMeta :
191
+ type : object
192
+ properties :
193
+ displayName :
194
+ type : string
195
+ description : Display name of the git material
196
+ redirectionUrl :
197
+ type : string
198
+ description : HTTPS URL for redirection
199
+ originalUrl :
200
+ type : string
201
+ description : Original git URL
202
+
203
+ GenericNoteResponse :
204
+ type : object
205
+ properties :
206
+ id :
207
+ type : integer
208
+ description : Note ID
209
+ note :
210
+ type : string
211
+ description : Note content
212
+ createdOn :
213
+ type : string
214
+ format : date-time
215
+ description : Creation timestamp
216
+ createdBy :
217
+ type : string
218
+ description : Creator's email
219
+ updatedOn :
220
+ type : string
221
+ format : date-time
222
+ description : Last update timestamp
223
+ updatedBy :
224
+ type : string
225
+ description : Last updater's email
168
226
169
227
ErrorResponse :
170
228
required :
0 commit comments