Skip to content

Save multiple SVG icons

POST
/api/v1/icons/batch
curl --request POST \
--url http://127.0.0.1:58259/api/v1/icons/batch \
--header 'Content-Type: application/json' \
--data '{ "icons": [ { "svgName": "example", "svgData": "example" } ] }'

Saves multiple SVG icons to the system in batch.

Media type application/json
object
icons
required
Array<object>
>= 1 items
object
svgName
required
string
>= 1 characters <= 255 characters /^[a-zA-Z0-9-]+$/
svgData
required
string
0 <= 1048576 characters
Example generated
{
"icons": [
{
"svgName": "example",
"svgData": "example"
}
]
}

Batch save completed with detailed results

Media type */*
object
totalRequested
integer format: int32
successCount
integer format: int32
failureCount
integer format: int32
results
Array<object>
object
iconName
string
success
boolean
errorMessage
string