Scispot API - ELN API - Update

Attach Image to Experiment

Embeds an image — already uploaded to the labspace S3 bucket — into a Protocol, Experiment, or Documentation page by generating an XML tag and applying it at the chosen position.

Validation notes: provide at least one of name, hrid, uuid.

post/labspace/experiment/attach-image

Request

  • Base URL: https://cloudlab.scispot.io
  • URL: https://cloudlab.scispot.io/labspace/experiment/attach-image
  • Auth: HTTP bearer

Request body

namestring
uuidstring
hridstring
image_uuidstring required
image_mime_typestring
image_namestring
position'append' | 'prepend' | 'replace'

Response

OK

successboolean
uuidstring
image_uuidstring
extensionstring
namestring
positionstring

Changes

No recorded changes to this operation across all 1 revision of this API.