Skip to main content
POST
/
media
/
svg
/
save
Save a SVG file
curl --request POST \
  --url https://api.example.com/media/svg/save \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "svgid": null,
  "svgCode": null,
  "svgPointer": null,
  "bytes": 1234,
  "originalFilename": "some svg file.svg"
}
'
{
  "success": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
svgid
integer<int32> | null
svgCode
string<uuid> | null
svgPointer
string | null

the uploaded URL path of the svg file after it has been uploaded into blob storage.

bytes
integer<int64> | null
default:1234

the number of bytes in the svg file. not the actual bytes.

originalFilename
string | null
default:some svg file.svg

Response

Success

success
boolean
data
unknown