@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Computer Vision Client
@base https://westcentralus.api.cognitive.microsoft.com/vision/v2.1
@version 2.1
@auth ApiKey Ocp-Apim-Subscription-Key in header
@endpoints 9
@toc analyze(1), describe(1), detect(1), models(2), ocr(1), tag(1), generateThumbnail(1), areaOfInterest(1)

@group analyze
@endpoint POST /analyze
@required {ImageUrl: map}
@optional {visualFeatures: any, details: any, language: any, descriptionExclude: any}
@returns(200)

@endgroup

@group describe
@endpoint POST /describe
@required {ImageUrl: map}
@optional {maxCandidates: any, language: any, descriptionExclude: any}
@returns(200)

@endgroup

@group detect
@endpoint POST /detect
@required {ImageUrl: map}
@returns(200)

@endgroup

@group models
@endpoint GET /models
@returns(200)

@endpoint POST /models/{model}/analyze
@required {model: any, ImageUrl: map}
@optional {language: any}
@returns(200)

@endgroup

@group ocr
@endpoint POST /ocr
@required {detectOrientation: any, ImageUrl: map}
@optional {language: any}
@returns(200)

@endgroup

@group tag
@endpoint POST /tag
@required {ImageUrl: map}
@optional {language: any}
@returns(200)

@endgroup

@group generateThumbnail
@endpoint POST /generateThumbnail
@required {width: any, height: any, ImageUrl: map}
@optional {smartCropping: any}
@returns(200)

@endgroup

@group areaOfInterest
@endpoint POST /areaOfInterest
@required {ImageUrl: map}
@returns(200)

@endgroup

@end
