discovery-runs

Enqueue scheduled discovery targets

Changed on

Enqueue a durable discovery job for each enabled schedule target and return immediately. Designed for invocation by Cloud Scheduler or other cron triggers; the durable worker performs the discovery work. Re-triggering the same target on the same day reuses the already-enqueued job, so a duplicate cron fire is a no-op.

Use this discovery operation to create, synchronize, lease, inspect, or cancel research work. Treat discovered actors as reviewable leads until their source evidence and visibility state are checked.

post/api/discovery-runs/scheduled

Request

  • Base URL: https://atlas.rebuildingus.org
  • URL: https://atlas.rebuildingus.org/api/discovery-runs/scheduled
  • Auth: none declared

Response

Successful Response

enqueuedinteger required

Number of durable jobs enqueued for schedule targets

Changes

    • warning

      deleted the header request parameter x-api-key

    • warning

      deleted the header request parameter x-atlas-actor-email

    • warning

      deleted the header request parameter x-atlas-actor-id

    • warning

      deleted the header request parameter x-atlas-internal-secret

    • warning

      deleted the header request parameter x-atlas-organization-id

    • info

      removed the non-success response with the status