SweetConnect LogoSweetConnect
ApiAsset pictures

Preview asset picture

GET
/v1/pictures/asset/{assetId}/preview

Streams the asset picture associated with the specified asset ID. This allows the client to preview the image directly in the browser or app.

Access restricted to roles:

  • admin
  • manufacturer-admin
  • manufacturer-user
  • producer-admin
  • producer-user
  • sales-agent
AuthorizationBearer <token>

In: header

Path Parameters

assetId*string

The ID of the asset whose picture should be previewed

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/pictures/asset/dcaa25c0-6141-4b47-961a-581e661526c2/preview"
Empty