Share via

OpenAPI 3.0 specification for Azure ComputerVision REST APIs

Ashkan Izadpanah 41 Reputation points
2024-10-23T20:18:35.6633333+00:00

Hello Azure Team,

In our existing application, we call Image Analysis v2.0 through REST API. The client classes and responses for these API calls are in Java (e.g., BoundingBox.java, Brand.java, Categories.java). We use Swagger Codegen to generate these Java classes from the OpenAPI specification.

We have the following questions regarding Image Analysis v3.2 and v4.0:

  1. For Image Analysis v3.2 and v4.0, do you have REST API specifications available in OpenAPI JSON format?
  2. While I can see the API documentation for v3.2 and v4.0 in the Analyze Image - REST API section on Microsoft Learn, is there any way to download these specifications in OpenAPI JSON format?

For your reference, I have shared a snippet of our AzureComputerVisionAPIV2.0 JSON schema.

azureComputerVisionAPIv2-json.png

Many thanks in advance!

Azure Vision in Foundry Tools
0 comments No comments

1 answer

Sort by: Most helpful
  1. VasaviLankipalle-MSFT 18,741 Reputation points Moderator
    2024-10-24T00:12:30.5133333+00:00

    Hello @Ashkan Izadpanah , Thanks for using Microsoft Q&A Platform.

    Unfortunately, this is not available in the requested format. The available documentation related to Image Analysis v3.2 and v4.0 REST API are attached here: https://learn.microsoft.com/en-us/rest/api/computervision/analyze-image/analyze-image?view=rest-computervision-v3.2&tabs=HTTP

    https://learn.microsoft.com/en-us/rest/api/computervision/image-analysis/analyze-image?view=rest-computervision-v4.0-preview%20(2023-04-01)&tabs=HTTP

    I hope this helps.

    Regards,
    Vasavi

    -Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.