Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Replace existing image directly

Type

Endpoint

Input

Functionality

Output

Ximilar AI

https://dgz-integration-broker.azurewebsites.net/api/integrations/asset/invoke?clientId={SECRET_CLIENT_ID}&integrationType=XimilarRemoveBackgroundAiService&assetId=<assetid>&code={SECRET_CODE}

  • clientId: provided by Digizuite

  • integrationType: XimilarRemoveBackgroundAiService

  • code: provided by digizuite

Note

Notice that it replaces from the function so please having the right clientId for each environment is important. Dev won’t work for prod for instance, and can have massive impact if not used correctly.

Returns 200

Remove.bg as replaced asset

https://dgz-integration-broker.azurewebsites.net/api/integrations/asset/invoke?clientId={SECRET_CLIENT_ID}&integrationType=RemoveBgService&assetId=<assetid>&code={SECRET_CODE}

  • clientId: provided by Digizuite

  • integrationType: removebgservice

  • code: provided by digizuite

Replace existing image directly

Note

Notice that it replaces from the function so please having the right clientId for each environment is important. Dev won’t work for prod for instance, and can have massive impact if not used correctly.

Returns 200

And the result will be (but in this case the asset will be the same because it is a replace):

Code Block
interface UploadResponse {
   ItemId: number;
   AssetId: number;
}

Remove.bg as NEW asset

https://dgz-integration-broker.azurewebsites.net/api/integrations/asset/invoke?clientId={SECRET_CLIENT_ID}&integrationType=RemoveBgServiceNewAsset&assetId=<assetid>&code={SECRET_CODE}

  • clientId: provided by Digizuite

  • integrationType: RemoveBgServiceNewAsset

  • code: provided by digizuite

Replace existing image directly

Note

Notice that it UPLOADS from the function so please having the right clientId for each environment is important. Dev won’t work for prod for instance, and can have massive impact if not used correctly.

Returns 200

And the result will be:

Code Block
interface UploadResponse {
   ItemId: number;
   AssetId: number;
}

...