Skip to content

Commit 04b845f

Browse files
idear1203Dongwei Wang
andauthored
[Synapse] - library_append API adds comp parameter (Azure#13841)
* [Synapse] - add comp parameter * Update example files Co-authored-by: Dongwei Wang <[email protected]>
1 parent 5090295 commit 04b845f

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/Library_Append.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"parameters": {
33
"endpoint": "exampleWorkspace.dev.azuresynapse.net",
44
"libraryName": "exampleLibraryName.jar",
5+
"comp": "appendblock",
56
"api-version": "2019-06-01-preview",
67
"content": "file binary chunk",
78
"x-ms-blob-condition-appendpos": 12324

specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/library.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@
295295
},
296296
{
297297
"name": "x-ms-blob-condition-appendpos",
298+
"x-ms-client-name": "blobConditionAppendPosition",
298299
"in": "header",
299300
"description": "Set this header to a byte offset at which the block is expected to be appended. The request succeeds only if the current offset matches this value. Otherwise, the request fails with the AppendPositionConditionNotMet error (HTTP status code 412 – Precondition Failed)",
300301
"required": false,
@@ -313,7 +314,18 @@
313314
}
314315
}
315316
}
316-
}
317+
},
318+
"parameters": [
319+
{
320+
"name": "comp",
321+
"in": "query",
322+
"required": true,
323+
"type": "string",
324+
"enum": [
325+
"appendblock"
326+
]
327+
}
328+
]
317329
}
318330
},
319331
"definitions": {

0 commit comments

Comments
 (0)