Landing Pages

Set Landing Page Media

Point an <img> / <video> at a URL, or remove it. FREE.

remove: true DELETES the element. It is the one destructive field in the body and it is not implied by any other field.

This is the API-shaped alternative to the multipart upload route, which is deliberately not published: host the asset (the image library will do it), then send its URL here.

post/landing-pages/{landing_page_id}/set-media-edit

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/landing-pages/{landing_page_id}/set-media-edit
  • Auth: HTTP bearer

Path parameters

landing_page_idstring required

Landing page id.

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

g8_action_idstring required
kind'img' | 'video' required
removeboolean
srcstring nullable
altstring nullable
object_fit'cover' | 'contain' | 'fill' | 'none' | 'scale-down' nullable
object_positionstring nullable
posterstring nullable
mutedboolean nullable
autoplayboolean nullable
loopboolean nullable
controlsboolean nullable

Response

Successful Response

dataStudioContentPayload required

One Studio object, open-shaped. See the module docstring.

Changes

No recorded changes to this operation across all 2 revisions of this API.