Create Org Alert Resolution
Changed onCreate an alert resolution. The vigil_selector describes which alerts the resolution applies to; matching alerts are hidden after the next org snapshot. Returns the same row shape as the list endpoint. Tokens restricted to specific repositories may only create resolutions anchored to a single granted repository via location.repo; org-wide or multi-repository selectors require an org-wide token.
This endpoint consumes 1 unit of your quota.
This endpoint requires the following org token scopes:
- alert-resolution:create
Request
- Base URLhttps://api.socket.dev/v0
- URLhttps://api.socket.dev/v0/orgs/{org_slug}/alerts/resolutions
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
The slug of the organization
Query parameters
Rehearse the write: authorize and validate the request and return the response body a real write would produce, then discard it. Accepts true, 1, or yes. Other present values return 400 so a typo cannot persist. Nothing is persisted. A dry-run success is HTTP 200 with dry_run: true, not 201.
Request body
Response
Dry-run: the write was not persisted.
Changes
- info
endpoint added
- info