Skip to main content

Summary

Scale an image by a uniform factor applied to both dimensions.
  • Operation ID: images.scale
  • API member path: editor.doc.images.scale(...)
  • Mutates document: yes
  • Idempotency: non-idempotent
  • Supports tracked mode: yes
  • Supports dry run: yes
  • Deterministic target resolution: yes

Expected result

Returns an ImagesMutationResult with the updated image address.

Input fields

Example request

Output fields

Example response

Pre-apply throws

  • TARGET_NOT_FOUND
  • AMBIGUOUS_TARGET
  • INVALID_TARGET
  • CAPABILITY_UNAVAILABLE
  • INVALID_INPUT

Non-applied failure codes

  • NO_OP

Raw schemas