Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added container scoped batch #11927

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1453,6 +1453,92 @@
}
]
},
"/{containerName}?restype=container&comp=batch": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add this to 06-12 as well

"post": {
"tags": [
"container"
],
"operationId": "Container_SubmitBatch",
"description": "The Batch operation allows multiple API calls to be embedded into a single HTTP request.",
"parameters": [
{
"$ref": "#/parameters/Body"
},
{
"$ref": "#/parameters/ContentLength"
},
{
"$ref": "#/parameters/MultipartContentType"
},
{
"$ref": "#/parameters/Timeout"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/ClientRequestId"
}
],
"responses": {
"202": {
"description": "Success.",
"headers": {
"Content-Type": {
"type": "string",
"description": "The media type of the body of the response. For batch requests, this is multipart/mixed; boundary=batchresponse_GUID"
},
"x-ms-request-id": {
"x-ms-client-name": "RequestId",
"type": "string",
"description": "This header uniquely identifies the request that was made and can be used for troubleshooting the request."
},
"x-ms-version": {
"x-ms-client-name": "Version",
"type": "string",
"description": "Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above."
}
},
"schema": {
"type": "object",
"format": "file"
}
},
"default": {
"description": "Failure",
"headers": {
"x-ms-error-code": {
"x-ms-client-name": "ErrorCode",
"type": "string"
}
},
"schema": {
"$ref": "#/definitions/StorageError"
}
}
}
},
"parameters": [
{
"name": "restype",
"in": "query",
"required": true,
"type": "string",
"enum": [
"container"
]
},
{
"name": "comp",
"in": "query",
"required": true,
"type": "string",
"enum": [
"batch"
]
}
]
},
"/{containerName}?comp=lease&restype=container&acquire": {
"put": {
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1453,6 +1453,92 @@
}
]
},
"/{containerName}?restype=container&comp=batch": {
"post": {
"tags": [
"container"
],
"operationId": "Container_SubmitBatch",
"description": "The Batch operation allows multiple API calls to be embedded into a single HTTP request.",
"parameters": [
{
"$ref": "#/parameters/Body"
},
{
"$ref": "#/parameters/ContentLength"
},
{
"$ref": "#/parameters/MultipartContentType"
},
{
"$ref": "#/parameters/Timeout"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/ClientRequestId"
}
],
"responses": {
"202": {
"description": "Success.",
"headers": {
"Content-Type": {
"type": "string",
"description": "The media type of the body of the response. For batch requests, this is multipart/mixed; boundary=batchresponse_GUID"
},
"x-ms-request-id": {
"x-ms-client-name": "RequestId",
"type": "string",
"description": "This header uniquely identifies the request that was made and can be used for troubleshooting the request."
},
"x-ms-version": {
"x-ms-client-name": "Version",
"type": "string",
"description": "Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above."
}
},
"schema": {
"type": "object",
"format": "file"
}
},
"default": {
"description": "Failure",
"headers": {
"x-ms-error-code": {
"x-ms-client-name": "ErrorCode",
"type": "string"
}
},
"schema": {
"$ref": "#/definitions/StorageError"
}
}
}
},
"parameters": [
{
"name": "restype",
"in": "query",
"required": true,
"type": "string",
"enum": [
"container"
]
},
{
"name": "comp",
"in": "query",
"required": true,
"type": "string",
"enum": [
"batch"
]
}
]
},
"/{containerName}?comp=lease&restype=container&acquire": {
"put": {
"tags": [
Expand Down