curl --request POST \
--url https://api.example.com/v1/projects/{project}/sheets:batchCreate \
--header 'Content-Type: application/json' \
--data '
{
"parent": "<string>",
"requests": [
{
"parent": "<string>",
"sheet": {
"name": "<string>",
"title": "<string>",
"content": "<string>",
"engine": "ENGINE_UNSPECIFIED",
"payload": {
"type": "TYPE_UNSPECIFIED",
"commands": [
{
"start": 123,
"end": 123
}
]
}
}
}
]
}
'{
"sheets": [
{
"name": "<string>",
"title": "<string>",
"content": "<string>",
"engine": "ENGINE_UNSPECIFIED",
"creator": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"contentSize": "<string>",
"payload": {
"type": "TYPE_UNSPECIFIED",
"commands": [
{
"start": 123,
"end": 123
}
]
}
}
]
}Creates multiple SQL sheets in a single operation. Permissions required: bb.sheets.create
curl --request POST \
--url https://api.example.com/v1/projects/{project}/sheets:batchCreate \
--header 'Content-Type: application/json' \
--data '
{
"parent": "<string>",
"requests": [
{
"parent": "<string>",
"sheet": {
"name": "<string>",
"title": "<string>",
"content": "<string>",
"engine": "ENGINE_UNSPECIFIED",
"payload": {
"type": "TYPE_UNSPECIFIED",
"commands": [
{
"start": 123,
"end": 123
}
]
}
}
}
]
}
'{
"sheets": [
{
"name": "<string>",
"title": "<string>",
"content": "<string>",
"engine": "ENGINE_UNSPECIFIED",
"creator": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"contentSize": "<string>",
"payload": {
"type": "TYPE_UNSPECIFIED",
"commands": [
{
"start": 123,
"end": 123
}
]
}
}
]
}Was this page helpful?