Step 4 OR Finalize and save an additional uploaded file as a new asset.

Finalize additional file

The endpoints described in Step 4 are an Either/Or choice. You should use either the Finalise an uploaded file endpoint to finalize and process a standard upload, or the Finalize additional file endpoint to finalize and save an additional uploaded file as a new asset.

post/api/v4/media/{id}/save/additional/{uploadId}/

Request

  • Base URL
    https://your-bynder-domain
  • URL
    https://your-bynder-domain/api/v4/media/{id}/save/additional/{uploadId}/
  • Auth
    none required

Path parameters

idstring required
Example:00000000-0000-0000-0000000000000000

Asset id to which to save the new additional.

uploadIdstring required
Example:T3.fS5.5HPhtYFtm2b_.e7wVe910tL5XQutKw1jkMqlP5cPQVyZkOZxZ9lJiGUk4FIw6M0CFZ3xogTWrm.GPI2p2CaglQcAS5aH37zT_vHJnbtkebYbheXIQc_.M_6hM

The upload id of the file.

Request body application/x-www-form-urlencoded

chunksnumber

Total number of chunks uploaded.

s3_filenamestring

Base location of the uploaded file.

targetIdstring

Target id as returned by the initialise call.

Example request

{
  "chunks": 5,
  "s3_filename": "api_uploads/00000000-0000-0000-0000000000000000/00000000-0000-0000-000000000000/Logo.png",
  "targetId": "final/00000000-0000-0000-0000000000000000/Logo.png"
}

Response

Created

unknown required

Example response

{
  "batchId": "00000000-0000-0000-0000000000000000",
  "mediaid": "00000000-0000-0000-0000000000000000",
  "mediaitems": [
    {
      "destination": "___URL_TO_BYNDER_CDN___",
      "original": "final/00000000-0000-0000-0000000000000000/image.jpg"
    },
    {
      "destination": "___URL_TO_BYNDER_CDN___",
      "original": "final/00000000-0000-0000-0000000000000000/thul-image.jpg"
    },
    {
      "destination": "___URL_TO_BYNDER_CDN___",
      "original": "final/00000000-0000-0000-0000000000000000/mini-image.jpg"
    }
  ],
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.