Programmatic Pages

Run Programmatic Page Action

Run a lifecycle action on one page. unpublish takes it OFF the live site.

override replaces the page's rendered HTML with html_output (sanitised by the app); reset_override returns it to the template.

Spends nothing.

post/programmatic-campaigns/{campaign_id}/pages/{page_id}/actions

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/programmatic-campaigns/{campaign_id}/pages/{page_id}/actions
  • Auth: HTTP bearer

Path parameters

campaign_idstring required

Programmatic campaign id.

page_idstring required

Generated page id, from GET .../pages.

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

action'mark_ready_to_deploy' | 'unpublish' | 'mark_for_regeneration' | 'override' | 'reset_override' | 'publish' | 'regenerate' required
html_outputstring nullable
manual_overrideobject 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.