Skip to content

Commit 111dc7f

Browse files
navneet35Navneet Singh
andauthored
Data-plane specs added for Library Apis (Azure#11423)
* Data-plane specs added for Library Apis * Swagger specs added for Append Library Api * Resolved reviewer comments in data plane library apis * Append API is changed to have application/octet-stream content * API schema changed for create and append api Co-authored-by: Navneet Singh <[email protected]>
1 parent 772c440 commit 111dc7f

File tree

9 files changed

+759
-0
lines changed

9 files changed

+759
-0
lines changed

custom-words.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2066,3 +2066,5 @@ regionality
20662066
Resource
20672067
Metastores
20682068
maintenancewindows
2069+
appendpos
2070+
appendblock
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"parameters": {
3+
"endpoint": "exampleWorkspace.dev.azuresynapse.net",
4+
"libraryName": "exampleLibraryName.jar",
5+
"api-version": "2019-06-01-preview",
6+
"comp": "appendblock",
7+
"content": "file binary chunk"
8+
},
9+
"responses": {
10+
"200": {},
11+
"201": {
12+
"headers": {
13+
"Date": "Fri, 23 Oct 2020 08:28:16 GMT",
14+
"X-Content-Type-Options": "nosniff",
15+
"x-ms-ratelimit-remaining-subscription-writes": "1192",
16+
"x-ms-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264",
17+
"x-ms-correlation-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264"
18+
}
19+
},
20+
"202": {
21+
"headers": {
22+
"Date": "Fri, 23 Oct 2020 08:28:16 GMT",
23+
"X-Content-Type-Options": "nosniff",
24+
"x-ms-ratelimit-remaining-subscription-writes": "1192",
25+
"x-ms-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264",
26+
"x-ms-correlation-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264"
27+
},
28+
"body": {
29+
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/libraryartifacts/exampleLibraryName.jar",
30+
"recordId": 1234,
31+
"state": "Creating",
32+
"created": "2020-10-23T07:59:29.1573546+00:00",
33+
"changed": "2020-10-23T07:59:29.1573546+00:00",
34+
"type": "LibraryArtifact",
35+
"name": "exampleLibraryName.jar",
36+
"operationId": "1500474f-0000-0200-0000-5cbe090d0000",
37+
"artifactId": "2222222e-222d-222f-2222-22a2f222d2f2"
38+
}
39+
},
40+
"412": {}
41+
}
42+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parameters": {
3+
"endpoint": "exampleWorkspace.dev.azuresynapse.net",
4+
"libraryName": "exampleLibraryName.jar",
5+
"api-version": "2019-06-01-preview"
6+
},
7+
"responses": {
8+
"200": {},
9+
"202": {
10+
"headers": {
11+
"Date": "Fri, 23 Oct 2020 08:28:16 GMT",
12+
"X-Content-Type-Options": "nosniff",
13+
"x-ms-ratelimit-remaining-subscription-writes": "1192",
14+
"x-ms-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264",
15+
"x-ms-correlation-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264"
16+
},
17+
"body": {
18+
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/libraryartifacts/exampleLibraryName.jar",
19+
"recordId": 1234,
20+
"state": "Creating",
21+
"created": "2020-10-23T07:59:29.1573546+00:00",
22+
"changed": "2020-10-23T07:59:29.1573546+00:00",
23+
"type": "LibraryArtifact",
24+
"name": "exampleLibraryName.jar",
25+
"operationId": "1500474f-0000-0200-0000-5cbe090d0000",
26+
"artifactId": "2222222e-222d-222f-2222-22a2f222d2f2"
27+
}
28+
},
29+
"409": {}
30+
}
31+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"endpoint": "exampleWorkspace.dev.azuresynapse.net",
4+
"libraryName": "exampleLibraryName.jar",
5+
"api-version": "2019-06-01-preview"
6+
},
7+
"responses": {
8+
"200": {},
9+
"202": {
10+
"headers": {
11+
"Date": "Fri, 23 Oct 2020 08:28:16 GMT",
12+
"X-Content-Type-Options": "nosniff",
13+
"x-ms-ratelimit-remaining-subscription-writes": "1192",
14+
"x-ms-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264",
15+
"x-ms-correlation-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264"
16+
},
17+
"body": {
18+
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/libraryartifacts/exampleLibraryName.jar",
19+
"recordId": 1234,
20+
"state": "Creating",
21+
"created": "2020-10-23T07:59:29.1573546+00:00",
22+
"changed": "2020-10-23T07:59:29.1573546+00:00",
23+
"type": "LibraryArtifact",
24+
"name": "exampleLibraryName.jar",
25+
"operationId": "1500474f-0000-0200-0000-5cbe090d0000",
26+
"artifactId": "2222222e-222d-222f-2222-22a2f222d2f2"
27+
}
28+
}
29+
}
30+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"endpoint": "exampleWorkspace.dev.azuresynapse.net",
4+
"libraryName": "exampleLibraryName.jar",
5+
"ifNoneMatch": "1500474f-0000-0200-0000-5cbe090d0000",
6+
"api-version": "2019-06-01-preview"
7+
},
8+
"responses": {
9+
"304": {},
10+
"200": {
11+
"headers": {
12+
"Date": "Fri, 23 Oct 2020 08:28:16 GMT",
13+
"X-Content-Type-Options": "nosniff",
14+
"x-ms-ratelimit-remaining-subscription-reads": "11995",
15+
"x-ms-request-id": "99e5d0d9-55e6-45a0-8bd2-cf39210f317c",
16+
"x-ms-correlation-request-id": "99e5d0d9-55e6-45a0-8bd2-cf39210f317c"
17+
},
18+
"body": {
19+
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/libraryartifacts/exampleLibraryName.jar",
20+
"name": "exampleLibraryName.jar",
21+
"type": "Microsoft.Synapse/workspaces/libraryartifacts",
22+
"properties": {
23+
"name": "exampleLibraryName.jar",
24+
"path": "exampleWorkspace/libraries/exampleLibraryName.jar",
25+
"containerName": "exampleContainer",
26+
"type": "jar",
27+
"uploadedTimestamp": "2020-10-23T07:59:29.1573546+00:00",
28+
"provisioningStatus": "Succeeded",
29+
"creatorId": "2222222e-222d-222f-2222-22a2f222d2f2"
30+
},
31+
"etag": "1500474f-0000-0200-0000-5cbe090d0000"
32+
}
33+
}
34+
}
35+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"parameters": {
3+
"endpoint": "exampleWorkspace.dev.azuresynapse.net",
4+
"operationId": "exampleOperationId",
5+
"api-version": "2019-06-01-preview"
6+
},
7+
"responses": {
8+
"200": {
9+
"headers": {
10+
"Date": "Fri, 23 Oct 2020 08:28:16 GMT",
11+
"X-Content-Type-Options": "nosniff",
12+
"x-ms-ratelimit-remaining-subscription-writes": "1192",
13+
"x-ms-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264",
14+
"x-ms-correlation-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264"
15+
},
16+
"body": {
17+
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/libraryartifacts/exampleLibraryName.jar",
18+
"name": "exampleLibraryName.jar",
19+
"type": "Microsoft.Synapse/workspaces/libraryartifacts",
20+
"properties": {
21+
"name": "exampleLibraryName.jar",
22+
"path": "exampleWorkspace/libraries/exampleLibraryName.jar",
23+
"containerName": "exampleContainer",
24+
"type": "jar",
25+
"uploadedTimestamp": "2020-10-23T07:59:29.1573546+00:00",
26+
"provisioningStatus": "Succeeded",
27+
"creatorId": "2222222e-222d-222f-2222-22a2f222d2f2"
28+
},
29+
"etag": "1500474f-0000-0200-0000-5cbe090d0000"
30+
}
31+
},
32+
"202": {
33+
"headers": {
34+
"Date": "Fri, 23 Oct 2020 08:28:16 GMT",
35+
"X-Content-Type-Options": "nosniff",
36+
"x-ms-ratelimit-remaining-subscription-writes": "1192",
37+
"x-ms-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264",
38+
"x-ms-correlation-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264"
39+
},
40+
"body": {
41+
"status": "InProgress"
42+
}
43+
}
44+
}
45+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"parameters": {
3+
"endpoint": "exampleWorkspace.dev.azuresynapse.net",
4+
"api-version": "2019-06-01-preview"
5+
},
6+
"responses": {
7+
"200": {
8+
"headers": {
9+
"Date": "Sat, 16 Jun 2018 00:37:36 GMT",
10+
"X-Content-Type-Options": "nosniff",
11+
"x-ms-ratelimit-remaining-subscription-reads": "14994",
12+
"x-ms-request-id": "558d0fd8-dc1f-44b6-9ca9-59fcca8af9a5",
13+
"x-ms-correlation-request-id": "558d0fd8-dc1f-44b6-9ca9-59fcca8af9a5"
14+
},
15+
"body": {
16+
"value": [
17+
{
18+
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/libraryartifacts/exampleLibraryName.jar",
19+
"name": "exampleLibraryName.jar",
20+
"type": "Microsoft.Synapse/workspaces/libraryartifacts",
21+
"properties": {
22+
"name": "exampleLibraryName.jar",
23+
"path": "exampleWorkspace/libraries/exampleLibraryName.jar",
24+
"containerName": "exampleContainer",
25+
"type": "jar",
26+
"uploadedTimestamp": "2020-10-23T07:59:29.1573546+00:00",
27+
"provisioningStatus": "Succeeded",
28+
"creatorId": "2222222e-222d-222f-2222-22a2f222d2f2"
29+
},
30+
"etag": "1500474f-0000-0200-0000-5cbe090d0000"
31+
}
32+
]
33+
}
34+
}
35+
}
36+
}

0 commit comments

Comments
 (0)