Skip to main content

get_pending_agent_changes

Function get_pending_agent_changes 

Source
async fn get_pending_agent_changes(
    page_id: Path<Uuid>,
    pool: Data<PgPool>,
    user: AuthUser,
) -> ControllerResult<Json<Option<AgentChangeset>>>
Expand description

GET /api/v0/cms/pages/:page_id/pending-agent-changes - Whether the signed-in user has unpublished AI agent changes on the page, for the notice in the page editor. null if not.