Update to v3.1 of the Computer Vision Analyze API #244
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of the Change
We are currently using the v1.0 Computer Vision Analyze API, while the most recent is v3.1. This PR updates the API endpoint to v3.1.
Testing this locally, I did not run into any issues or regressions with this update. In addition, I've looked through the documentation for each version of the API:
When it comes to the analyze endpoint, no features have been removed and the response(s) provided are the exact same.
The differences are with newly added features:
And newly supported languages:
Alternate Designs
None
Benefits
Ensures we are utilizing the most up-to-date API endpoint
Possible Drawbacks
None
Verification Process
With the plugin properly setup, ensured that all Image Processing functions still worked as expected. This includes getting alt text for images and properly tagging images.
Checklist: