Skip to content

Commit

Permalink
Update factory-automation.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
tyayers authored Apr 29, 2021
1 parent 2804646 commit f033c5b
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions tutorial-demos/sapigee/specs/factory-automation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,25 +163,7 @@ paths:
$ref: '#/components/schemas/MachineReading'
responses:
'201':
description: item updated
'/vision':
post:
summary: Analyzes the posted image using cloud vision AI and returns the labels and scores of the objects found in the image.
description: Analyzes the posted image using cloud vision AI and returns the labels and scores of the objects found in the image. Used in combination with device reading reporting using a camera to capture data.
requestBody:
description: 'Image object to analyze'
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ImageRequest'
responses:
'200':
description: "Successful response"
content:
application/json:
schema:
$ref: '#/components/schemas/ImageResponse'
description: item updated
components:
securitySchemes:
ApiKeyAuth:
Expand Down

0 comments on commit f033c5b

Please sign in to comment.