wizard

Record the tools a wizard scan found in a codebase

Changed on
post/api/projects/{project_id}/wizard/scans/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/wizard/scans/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Request body

session_idstring required

The wizard run that made the scan.

programstring required

The wizard program that scanned, such as posthog-integration or warehouse-source.

wizard_versionstring required

Version of the wizard that made the scan.

workspace_fingerprintstring required

sha256 hex digest that identifies the scanned repository without naming it.

scanned_atstring date-time required

When the wizard scanned the codebase.

completeboolean

False when the scan could not read the whole workspace. Tools it did not find are then kept.

Response

This session already reported its scan.

idstring uuid required

ID of the stored scan.

createdboolean required

False when this session had already reported its scan, so nothing changed.

Changes