Skip to main content

Purpose

Returns boosted page progress for the dashboard. Shows weekly target completion and total pages created.

Architecture

Query Parameters

ParameterTypeDescription
product_idstringFilter by product (optional)

Response Format

{
  "org_slug": "org-slug-123",
  "product_id": null,
  "this_week": 45,
  "target": 100,
  "progress_percent": 45,
  "total": 350
}

Week Calculation

  • Week runs Monday 00:00:00 to Sunday 23:59:59 (UTC)
  • Target is 100 pages per week
  • Progress capped at 100%

Code Location

src/app/apis/what_were_doing/boosted_pages/routes.py