@@ -46,16 +46,22 @@ paths:
46
46
" bundles " : [
47
47
{
48
48
" bundleId " : " system-bundle-rev-3" ,
49
- " authCode " : " @#$nike#$#$stage&#$(^#" ,
50
- " uri " : " file:///apid/bundles/system-bundle-release-1-1233.zip"
49
+ " uri " : " file:///apid/bundles/system-bundle-release-1-1233.zip" ,
50
+ " scope " : " @#$nike#$#$stage&#$(^#" ,
51
+ " org " : " nike" ,
52
+ " env " : " stage" ,
51
53
},{
52
54
" bundleId " : " bundleA-rev-9" ,
53
- " authCode " : " @#$nike#$#$prod&#$(^#" ,
54
- " uri " : " file:///apid/bundles/bundleA-rev-9-26372.zip"
55
+ " uri " : " file:///apid/bundles/bundleA-rev-9-26372.zip" ,
56
+ " scope " : " @#$nike#$#$prod&#$(^#" ,
57
+ " org " : " nike" ,
58
+ " env " : " prod" ,
55
59
},{
56
60
" bundleId " : " bundleB-rev-1" ,
57
- " authCode " : " @#$nike#$#$test&#$(^#" ,
58
- " uri " : " file:///somewhere/bundles/bundleB-rev-1-72351.zip"
61
+ " uri " : " file:///somewhere/bundles/bundleB-rev-1-72351.zip" ,
62
+ " scope " : " @#$nike#$#$test&#$(^#" ,
63
+ " org " : " nike" ,
64
+ " env " : " test" ,
59
65
}
60
66
]
61
67
}
@@ -126,20 +132,28 @@ definitions:
126
132
type : object
127
133
required :
128
134
- bundleId
129
- - url
135
+ - uri
130
136
properties :
131
137
bundleId :
132
138
type : string
133
- url :
139
+ uri :
134
140
type : string
141
+
135
142
UserBundle :
136
143
allOf :
137
144
- $ref : ' #/definitions/SystemBundle'
138
145
required :
139
- - authCode
146
+ - scope
140
147
properties :
141
- authCode :
148
+ scope :
149
+ type : string
150
+ description : Used to convey request scope information to APID APIs
151
+ org :
142
152
type : string
153
+ description : Available for legacy purposes
154
+ env :
155
+ type : string
156
+ description : Available for legacy purposes
143
157
144
158
DeploymentResult :
145
159
type : object
@@ -158,7 +172,6 @@ definitions:
158
172
" status " : " SUCCESS"
159
173
}
160
174
161
-
162
175
DeploymentResultError :
163
176
type : object
164
177
required :
@@ -176,7 +189,7 @@ definitions:
176
189
example : {
177
190
" error " : {
178
191
" errorCode " : 5,
179
- " reason " : " Failed to restart NGINX " ,
192
+ " reason " : " Failed restart" ,
180
193
" bundleErrors " : [
181
194
{
182
195
" bundleId " : " system-bundle-rev-3" ,
0 commit comments