Step 6 OR Save uploaded file to existing asset

Save uploaded file to existing asset

Be aware that the endpoints described in Step 6 are an Either/Or choice. You should use either the Save as a new asset endpoint to save the uploaded file as a new asset, or the Update existing asset endpoint to update an existing asset with the uploaded file.

post/api/v4/media/{id}/save/{importId}

Request

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

Path parameters

idstring required
Example:00000000-0000-0000-0000000000000000

Asset id to which to save the uploaded file. This id must be in requires Bynder's 32-character 8-4-4-16 GUID format.

importIdstring required
Example:00000000-0000-0000-0000000000000000

Import id of a finalised and processed upload to be saved. This id must be in requires Bynder's 32-character 8-4-4-16 GUID format.

Request body text/plain

unknown required

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.