I'm trying to use the Google Slides API to create nested bullet points within a paragraph. Currently, I'm able to create a paragraph with bullet points, but I'm struggling to create sub-bullet points (nested bullet points) under existing bullet points.
Here's the current request body I'm using:
{
"requests": [
{
"createParagraphBullets": {
"objectId": "i0",
"textRange": {
"type": "ALL"
},
"bulletPreset": "BULLET_DISC_CIRCLE_SQUARE"
}
},
{
"createParagraphBullets": {
"objectId": "i0",
"textRange": {
"type": "ALL"
},
"bulletPreset": "BULLET_DISC_CIRCLE_SQUARE"
}
}
]
}
How can I modify the above code to create sub bullet points (nested bullet points) under the bullet points created by the first request using the Google Slides API? I tried nestingLevel suggested by ChatGPT but no luck!
ChatGPT result:
{
"requests": [
{
"createParagraphBullets": {
"objectId": "i0",
"textRange": {
"type": "ALL"
},
"bulletPreset": "BULLET_DISC_CIRCLE_SQUARE"
}
},
{
"createParagraphBullets": {
"objectId": "i0",
"textRange": {
"type": "ALL"
},
"bulletPreset": "BULLET_DISC_CIRCLE_SQUARE",
"nestingLevel": 1
}
}
]
}
