view_mode validation

Logic governing the validation and permitted types for various view modes within the API and job queue systems.

Implementation Updates

  • site/admin/queue_api_shared.php
    • Added [[concepts/stakeholder-graph-view|stakeholder_graph_view]] to $JOB_TYPES (hidden, no file upload).
    • Updated defaultScheduleType() to return 'window'.
  • site/lab/market_radar_api.php
    • Added [[concepts/queue-graph-view|stakeholder_graph_view]] to mrQueueCortexJob() allowed types.
    • Added to $mrTypes in both list_mr_jobs and clear_mr_jobs.
    • 3 new [[concepts/api-actions|API actions]] implemented.

Metadata