Document apiReferenceImages
images.setAltText
Set the accessibility description (alt text) for an image.
mutates documenttracked modedry runconditional
doc.images.setAltText(…)Expected result
Returns an ImagesMutationResult; reports NO_OP if unchanged.
Inputs
imageIdstringrequireddescriptionstringrequiredResult
Output fields
successbooleanimageobjectfailureobjectFailures
Pre-apply throws
TARGET_NOT_FOUNDAMBIGUOUS_TARGETINVALID_TARGET
2 more codes
CAPABILITY_UNAVAILABLEINVALID_INPUT
Non-applied receipt codes
NO_OP
Raw schemas
Open the generated JSON artifact for the exact input, output, success, and failure schemas represented by this contract version.
View raw JSON schemas