Automations
Scan repositories for CI workflows
Changed onget/api/v0/automations/ci/scan
Request
- Base URLhttps://api.factory.ai
- AuthHTTP bearer
Query parameters
forceRefresh, boolean
Pass true to bypass the cached scan and rescan GitHub
Headers
X-Factory-Org-Id, string
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Response
Response for status 200
Scan Ci Repositories200 Response Body required
workflows, object[] required
CI workflows found in the repositories the user can access.
scannedAt, number
Unix ms timestamp of when this scan was performed (server time).
cacheTtlMs, number
How long the client may reuse this scan before requesting a new one, in ms.
integration, object required
Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info