Vision Eventの画像をアップロード
ワークスペースレベルの画像をアップロードし、Vision Event を作成する際に sourceId を参照します。
概要
HTTP API
Upload an image for use in vision events.
認可
Authorizationstring必須
Roboflow API key passed as a Bearer token.
本文
filestring · binary必須
The image file to upload.
namestringオプション
Custom name for the image.
metadatastringオプション
JSON string of custom metadata.
レスポンス
201
Image uploaded successfully.
application/json
successbooleanオプション
sourceIdstringオプション
Reference ID for use in event images.
urlstringオプション
Public URL of the uploaded image.
400
Missing file or invalid metadata.
application/json
403
Insufficient permissions for this resource.
application/json
post/vision-events/upload
リクエスト例
リクエストパラメータ
レスポンス例
Python SDK
最終更新
役に立ちましたか?