Replaces an existing image with a new image. Replacing an image removes some image effects from the existing image in order to mirror the behavior of the Docs editor.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ReplaceImageRequest",
"type": "object",
"description": "Replaces an existing image with a new image. Replacing an image removes some image effects from the existing image in order to mirror the behavior of the Docs editor.",
"properties": {
"imageObjectId": {
"type": "string",
"description": "The ID of the existing image that will be replaced."
},
"uri": {
"type": "string",
"description": "The URI of the new image. The image is fetched once at insertion time and a copy is stored for display inside the document."
},
"imageReplaceMethod": {
"type": "string",
"description": "The replacement method."
},
"tabId": {
"type": "string",
"description": "The tab that the image to be replaced is in."
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.