Skip to main content
POST
/
media
/
save-staged-svg-file-generic
Converts the chunk-saved SVG item into a database record.
curl --request POST \
  --url https://api.example.com/media/save-staged-svg-file-generic \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "originalFilename": "some svg file.svg",
  "stagedFileCode": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "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
originalFilename
string
default:some svg file.svg
required
Minimum string length: 1
stagedFileCode
string<uuid>

Response

200 - application/json

Success

success
boolean
data
unknown