Exchange a tokenless GitHub Actions token for a Snapvisor token
Called by GitHub Actions to exchange a tokenless bearer token for a short-lived Snapvisor project token. The provided commit and branch must match the GitHub workflow run.
Called by GitHub Actions to exchange a tokenless bearer token for a short-lived Snapvisor project token. The provided commit and branch must match the GitHub workflow run.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/auth/github-actions/tokenless/exchange" \ -H "Content-Type: application/json" \ -d '{ "tokenlessToken": "string", "commit": "string", "branch": "string" }'{ "token": "string", "expiresAt": "string"}Exchange a GitHub Actions OIDC token for a Snapvisor token POST
Called by GitHub Actions to exchange an OIDC token for a short-lived Snapvisor project token.
List a project's automation rules GET
List the automation rules of a project, most recent first. Requires administrator access to the project. Use it to see which actions, such as Slack messages, a project runs automatically on build events.