|
13 | 13 | "cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/OS cmd/bundle_deploy cmd-exec-id/[UUID] auth/pat" |
14 | 14 | ] |
15 | 15 | }, |
16 | | - "method": "POST", |
17 | | - "path": "/api/2.0/workspace-files/import-file/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock", |
| 16 | + "method": "GET", |
| 17 | + "path": "/api/2.0/workspace/export", |
18 | 18 | "q": { |
19 | | - "overwrite": "false" |
20 | | - }, |
21 | | - "body": { |
22 | | - "ID": "[UUID]", |
23 | | - "AcquisitionTime": "[TIMESTAMP]", |
24 | | - "IsForced": false, |
25 | | - "User": "[USERNAME]" |
| 19 | + "direct_download": "true", |
| 20 | + "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock" |
26 | 21 | } |
27 | 22 | } |
28 | 23 | { |
|
32 | 27 | ] |
33 | 28 | }, |
34 | 29 | "method": "GET", |
35 | | - "path": "/api/2.0/workspace/get-status", |
| 30 | + "path": "/api/2.0/workspace/export", |
36 | 31 | "q": { |
37 | | - "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock", |
38 | | - "return_export_info": "true" |
| 32 | + "direct_download": "true", |
| 33 | + "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock" |
39 | 34 | } |
40 | 35 | } |
41 | 36 | { |
|
45 | 40 | ] |
46 | 41 | }, |
47 | 42 | "method": "GET", |
48 | | - "path": "/api/2.0/workspace/export", |
| 43 | + "path": "/api/2.0/workspace/get-status", |
49 | 44 | "q": { |
50 | | - "direct_download": "true", |
51 | | - "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock" |
| 45 | + "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files" |
52 | 46 | } |
53 | 47 | } |
54 | 48 | { |
|
60 | 54 | "method": "GET", |
61 | 55 | "path": "/api/2.0/workspace/get-status", |
62 | 56 | "q": { |
63 | | - "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/resources.json", |
| 57 | + "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock", |
64 | 58 | "return_export_info": "true" |
65 | 59 | } |
66 | 60 | } |
|
73 | 67 | "method": "GET", |
74 | 68 | "path": "/api/2.0/workspace/get-status", |
75 | 69 | "q": { |
76 | | - "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deployment.json", |
| 70 | + "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock", |
77 | 71 | "return_export_info": "true" |
78 | 72 | } |
79 | 73 | } |
|
83 | 77 | "cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/OS cmd/bundle_deploy cmd-exec-id/[UUID] auth/pat" |
84 | 78 | ] |
85 | 79 | }, |
86 | | - "method": "POST", |
87 | | - "path": "/api/2.0/workspace/delete", |
88 | | - "body": { |
89 | | - "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/artifacts/.internal", |
90 | | - "recursive": true |
| 80 | + "method": "GET", |
| 81 | + "path": "/api/2.0/workspace/get-status", |
| 82 | + "q": { |
| 83 | + "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock", |
| 84 | + "return_export_info": "true" |
91 | 85 | } |
92 | 86 | } |
93 | 87 | { |
|
96 | 90 | "cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/OS cmd/bundle_deploy cmd-exec-id/[UUID] auth/pat" |
97 | 91 | ] |
98 | 92 | }, |
99 | | - "method": "POST", |
100 | | - "path": "/api/2.0/workspace/mkdirs", |
101 | | - "body": { |
102 | | - "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/artifacts/.internal" |
| 93 | + "method": "GET", |
| 94 | + "path": "/api/2.0/workspace/get-status", |
| 95 | + "q": { |
| 96 | + "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deployment.json", |
| 97 | + "return_export_info": "true" |
103 | 98 | } |
104 | 99 | } |
105 | 100 | { |
|
111 | 106 | "method": "GET", |
112 | 107 | "path": "/api/2.0/workspace/get-status", |
113 | 108 | "q": { |
114 | | - "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files" |
| 109 | + "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/resources.json", |
| 110 | + "return_export_info": "true" |
115 | 111 | } |
116 | 112 | } |
117 | 113 | { |
|
126 | 122 | "overwrite": "true" |
127 | 123 | } |
128 | 124 | } |
| 125 | +{ |
| 126 | + "headers": { |
| 127 | + "User-Agent": [ |
| 128 | + "cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/OS cmd/bundle_deploy cmd-exec-id/[UUID] auth/pat" |
| 129 | + ] |
| 130 | + }, |
| 131 | + "method": "POST", |
| 132 | + "path": "/api/2.0/workspace-files/import-file/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock", |
| 133 | + "q": { |
| 134 | + "overwrite": "false" |
| 135 | + }, |
| 136 | + "body": { |
| 137 | + "ID": "[UUID]", |
| 138 | + "AcquisitionTime": "[TIMESTAMP]", |
| 139 | + "IsForced": false, |
| 140 | + "User": "[USERNAME]" |
| 141 | + } |
| 142 | +} |
129 | 143 | { |
130 | 144 | "headers": { |
131 | 145 | "User-Agent": [ |
|
158 | 172 | ] |
159 | 173 | }, |
160 | 174 | "method": "POST", |
161 | | - "path": "/api/2.1/unity-catalog/schemas", |
| 175 | + "path": "/api/2.0/workspace-files/import-file/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/metadata.json", |
| 176 | + "q": { |
| 177 | + "overwrite": "true" |
| 178 | + }, |
162 | 179 | "body": { |
163 | | - "catalog_name": "mycatalog", |
164 | | - "name": "myschema" |
| 180 | + "version": 1, |
| 181 | + "config": { |
| 182 | + "bundle": { |
| 183 | + "git": { |
| 184 | + "bundle_root_path": "." |
| 185 | + } |
| 186 | + }, |
| 187 | + "workspace": { |
| 188 | + "file_path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files" |
| 189 | + }, |
| 190 | + "resources": {}, |
| 191 | + "presets": { |
| 192 | + "source_linked_deployment": false |
| 193 | + } |
| 194 | + }, |
| 195 | + "extra": {} |
165 | 196 | } |
166 | 197 | } |
167 | 198 | { |
|
196 | 227 | ] |
197 | 228 | }, |
198 | 229 | "method": "POST", |
199 | | - "path": "/api/2.0/workspace-files/import-file/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/metadata.json", |
200 | | - "q": { |
201 | | - "overwrite": "true" |
202 | | - }, |
| 230 | + "path": "/api/2.0/workspace/delete", |
203 | 231 | "body": { |
204 | | - "version": 1, |
205 | | - "config": { |
206 | | - "bundle": { |
207 | | - "git": { |
208 | | - "bundle_root_path": "." |
209 | | - } |
210 | | - }, |
211 | | - "workspace": { |
212 | | - "file_path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files" |
213 | | - }, |
214 | | - "resources": {}, |
215 | | - "presets": { |
216 | | - "source_linked_deployment": false |
217 | | - } |
218 | | - }, |
219 | | - "extra": {} |
220 | | - } |
221 | | -} |
222 | | -{ |
223 | | - "headers": { |
224 | | - "User-Agent": [ |
225 | | - "cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/OS cmd/bundle_deploy cmd-exec-id/[UUID] auth/pat" |
226 | | - ] |
227 | | - }, |
228 | | - "method": "GET", |
229 | | - "path": "/api/2.0/workspace/get-status", |
230 | | - "q": { |
231 | | - "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock", |
232 | | - "return_export_info": "true" |
| 232 | + "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/artifacts/.internal", |
| 233 | + "recursive": true |
233 | 234 | } |
234 | 235 | } |
235 | 236 | { |
|
238 | 239 | "cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/OS cmd/bundle_deploy cmd-exec-id/[UUID] auth/pat" |
239 | 240 | ] |
240 | 241 | }, |
241 | | - "method": "GET", |
242 | | - "path": "/api/2.0/workspace/get-status", |
243 | | - "q": { |
244 | | - "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock", |
245 | | - "return_export_info": "true" |
| 242 | + "method": "POST", |
| 243 | + "path": "/api/2.0/workspace/delete", |
| 244 | + "body": { |
| 245 | + "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock" |
246 | 246 | } |
247 | 247 | } |
248 | 248 | { |
|
251 | 251 | "cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/OS cmd/bundle_deploy cmd-exec-id/[UUID] auth/pat" |
252 | 252 | ] |
253 | 253 | }, |
254 | | - "method": "GET", |
255 | | - "path": "/api/2.0/workspace/export", |
256 | | - "q": { |
257 | | - "direct_download": "true", |
258 | | - "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock" |
| 254 | + "method": "POST", |
| 255 | + "path": "/api/2.0/workspace/mkdirs", |
| 256 | + "body": { |
| 257 | + "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/artifacts/.internal" |
259 | 258 | } |
260 | 259 | } |
261 | 260 | { |
|
265 | 264 | ] |
266 | 265 | }, |
267 | 266 | "method": "POST", |
268 | | - "path": "/api/2.0/workspace/delete", |
| 267 | + "path": "/api/2.1/unity-catalog/schemas", |
269 | 268 | "body": { |
270 | | - "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock" |
| 269 | + "catalog_name": "mycatalog", |
| 270 | + "name": "myschema" |
271 | 271 | } |
272 | 272 | } |
0 commit comments