Skip to content

Commit c423d37

Browse files
Merge pull request #2366 from MicrosoftDocs/main638971994238588399sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 4464106 + 0774baa commit c423d37

14 files changed

+75
-102
lines changed
38.3 KB
Loading
-21.7 KB
Loading
-140 Bytes
Loading
-11.7 KB
Loading
35.1 KB
Loading
-119 KB
Binary file not shown.
-66.6 KB
Loading
13.5 KB
Loading

docs/admin/organizational-visuals.md

Lines changed: 57 additions & 63 deletions
Large diffs are not rendered by default.

docs/data-factory/apache-airflow-jobs-api-capabilities.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The primary online reference documentation for Microsoft Fabric REST APIs can be
4747

4848
In addition to CRUD APIs, there are a series of additional operational APIs offered for Apache Airflow Jobs:
4949

50-
- **Job File Management APIs**
50+
- **File Management APIs**
5151

5252
## Get started with REST APIs for Apache Airflow Jobs
5353

@@ -101,7 +101,7 @@ Create an Apache Airflow Job in a specified workspace.
101101
{
102102
"displayName": "My Apache Airflow Job",
103103
"description": "My Apache Airflow Job description",
104-
"type": "ApacheAirflowJobs"
104+
"type": "ApacheAirflowJob"
105105
}
106106
```
107107

@@ -110,7 +110,7 @@ Create an Apache Airflow Job in a specified workspace.
110110
```rest
111111
{
112112
"id": "<artifactId>",
113-
"type": "ApacheAirflowJobs",
113+
"type": "ApacheAirflowJob",
114114
"displayName": "My Apache Airflow Job",
115115
"description": "My Apache Airflow Job description",
116116
"workspaceId": "<workspaceId>"
@@ -120,6 +120,7 @@ Create an Apache Airflow Job in a specified workspace.
120120
## Create an Apache Airflow Job with definition
121121

122122
Create an Apache Airflow Job with a public definition in a specified workspace.
123+
For additional details on creating an Apache Airflow Job with definition, please review - [Microsoft Fabric REST API](/rest/api/fabric/apacheairflowjob/items/create-apache-airflow-job).
123124

124125
**Sample request**:
125126

@@ -141,7 +142,7 @@ Create an Apache Airflow Job with a public definition in a specified workspace.
141142
"displayName": " My Apache Airflow Job",
142143
"description": "My Apache Airflow Job description",
143144
144-
"type": "ApacheAirflowJobs",
145+
"type": "ApacheAirflowJob",
145146
"definition": {
146147
"parts": [
147148
{
@@ -164,7 +165,7 @@ Create an Apache Airflow Job with a public definition in a specified workspace.
164165
```rest
165166
{
166167
"id": "<Your artifactId>",
167-
"type": "ApacheAirflowJobs",
168+
"type": "ApacheAirflowJob",
168169
"displayName": "My Apache Airflow Job",
169170
"description": "My Apache Airflow Job description",
170171
"workspaceId": "<Your workspaceId>"
@@ -192,7 +193,7 @@ Returns properties of specified Apache Airflow Job.
192193
```rest
193194
{
194195
"id": "<Your artifactId>",
195-
"type": "ApacheAirflowJobs",
196+
"type": "ApacheAirflowJob",
196197
"displayName": "My Apache Airflow Job",
197198
"description": "My Apache Airflow Job description",
198199
"workspaceId": "<Your workspaceId>"
@@ -202,6 +203,7 @@ Returns properties of specified Apache Airflow Job.
202203
## Get Apache Airflow Job with definition
203204

204205
Returns the Apache Airflow Job item definition.
206+
For additional details on getting an Apache Airflow Job with definition, please review - [Microsoft Fabric REST API](/rest/api/fabric/apacheairflowjob/items/get-apache-airflow-job-definition).
205207

206208
**Sample request**:
207209

@@ -259,7 +261,7 @@ Updates the properties of the Apache Airflow Job.
259261
{
260262
"displayName": "My Apache Airflow Job updated",
261263
"description": "My Apache Airflow Job description updated",
262-
"type": "ApacheAirflowJobs"
264+
"type": "ApacheAirflowJob"
263265
}
264266
```
265267

@@ -268,7 +270,7 @@ Updates the properties of the Apache Airflow Job.
268270
```rest
269271
{
270272
"id": "<Your artifactId>",
271-
"type": "ApacheAirflowJobs",
273+
"type": "ApacheAirflowJob",
272274
"displayName": "My Apache Airflow Job updated",
273275
"description": "My Apache Airflow Job description updated",
274276
"workspaceId": "<Your workspaceId>"
@@ -278,6 +280,7 @@ Updates the properties of the Apache Airflow Job.
278280
## Update Apache Airflow Job with definition
279281

280282
Updates the Apache Airflow Job item definition.
283+
For additional details on updating an Apache Airflow Job with definition, please review - [Microsoft Fabric REST API](/rest/api/fabric/apacheairflowjob/items/update-apache-airflow-job-definition).
281284

282285
**Sample request**:
283286

@@ -297,7 +300,7 @@ Updates the Apache Airflow Job item definition.
297300
```rest
298301
{
299302
"displayName": "My Apache Airflow Job",
300-
"type": "ApacheAirflowJobs",
303+
"type": "ApacheAirflowJob",
301304
"definition": {
302305
"parts": [
303306
{
@@ -343,13 +346,13 @@ Deletes the specified Apache Airflow Job.
343346
200 OK
344347
```
345348

346-
## Job File Management APIs
349+
## File Management APIs
347350

348351
### Get Apache Airflow Job File
349352

350353
Returns job file from Apache Airflow by path.
351354

352-
**Request URI**: ```GET https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/apacheairflowjobs/{apacheAirflowJobId}/files/{filePath}```
355+
**Request URI**: ```GET https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/apacheairflowjobs/{apacheAirflowJobId}/files/{filePath}?preview=true```
353356

354357
**Sample Results**:
355358

@@ -361,12 +364,11 @@ Returns job file from Apache Airflow by path.
361364

362365
Creates or updates an Apache Airflow Job file.
363366

364-
**Request URI**: ```PUT https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/apacheairflowjobs/{apacheAirflowJobId}/files/{filePath}```
367+
**Request URI**: ```PUT https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/apacheairflowjobs/{apacheAirflowJobId}/files/{filePath}?preview=true```
365368

366369
**Request Payload**:
367370

368371
```rest
369-
Binary
370372
PYTHON files (DAGs), should be UTF-8 encoded
371373
```
372374

@@ -380,7 +382,7 @@ PYTHON files (DAGs), should be UTF-8 encoded
380382

381383
Deletes the specified Apache Airflow Job file.
382384

383-
**Request URI**: ```DELETE https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/apacheairflowjobs/{apacheAirflowJobId}/files/{filePath}```
385+
**Request URI**: ```DELETE https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/apacheairflowjobs/{apacheAirflowJobId}/files/{filePath}?preview=true```
384386

385387
**Sample Results**:
386388

@@ -392,7 +394,7 @@ Deletes the specified Apache Airflow Job file.
392394

393395
Lists the files the specified Apache Airflow Job file.
394396

395-
**Request URI**: ```GET https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/apacheairflowjobs/{apacheAirflowJobId}/files?rootPath=”my_folder”&continuationToken={token}```
397+
**Request URI**: ```GET https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/apacheairflowjobs/{apacheAirflowJobId}/files?rootPath=”my_folder”&continuationToken={token}?preview=true```
396398

397399
Note that rootPath and continutationToken are optional.
398400

0 commit comments

Comments
 (0)