extensions
parameter the name
of the auto-tagging extension(s) to be used along with its minConfidence
and maxTags
parameters.\extensions
parameter the name
of the auto-tagging extension(s) to be used along with its minConfidence
and maxTags
parameters.extensions
parameter of both upload and update APIs takes an array of objects specifying the extensions to be used along with their parameters. Each object in this array is a self-contained block containing information about one single extension. This information includes the name of the extension and other parameters associated with that extension. The object for an auto-tagging extension will have the following fields:google-auto-tagging
or aws-auto-tagging
maxTags
is 5, then only the top five tags returned from the API will be attached. Valid values are between 0 and 30.extensions
parameter formation that will result in the execution of two different extensions - auto-tagging using Google Cloud Vision and Amazon Rekognition:AITags
field containing the newly generated tags. However, there is no guarantee that any extension will be performed synchronously. You can inspect the response field extensionStatus
to identify the status of each extension in your request.extensions
field array with a non-zero length, then the response will include an extensionStatus
field object, which will contain the status of each extension at the time of completion of the update/upload request. For auto-tagging extensions, the status has three possible values:success
: The extension has been successfully applied.failed
: The extension has failed and will not be retried.pending
: The extension will finish processing in some time. On completion, the final status (success/failure) will be sent to the webhookUrl
provided.AITags
field is populated only because the google-auto-tagging
extension executed synchronously i.e. it received a success
response. The aws-auto-tagging
extension has not yet completed execution and hence its tags are not included in this response.webhookUrl
parameter in your update/upload API calls. The final status of extensions after they have completed execution will be delivered to this endpoint as a POST request. The request body sent to this endpoint will look like the examples below.google-auto-tagging
extension to the below image: