Decision
Decision Layer

Baseline Capture

Baseline capture - capture initial metrics for new videos.

Called hourly by GCP Cloud Scheduler.

Flow:

  1. Get videos from BASELINE queue
  2. Fetch current stats from YouTube
  3. Store as baseline metrics
  4. Move to OPTIMIZE queue

Returns: BaselineResponse with capture summary

post/api/v1/decision/baseline

Query parameters

authorizationstring nullable

Response

Successful Response

successboolean required
capturedinteger required
moved_to_optimizeinteger required
errorsinteger required
duration_msnumber required

Changes

No recorded changes to this endpoint across all 1 revision of this API.