code-scan
Mark Code Scan Finding Treated
Record that this hardcoded string became a key (Developer+).
IDEMPOTENT: re-marking an already-treated finding with the SAME (namespace, key) returns the existing row untouched — treated_at does not move, so a client retry cannot rewrite when the decision was taken. An unknown finding_id is a 404, never a silent create. When namespace is given and the key does not exist there, the request is refused 422 — treated may not point at a key that does not exist.
post/v1/projects/{project_id}/code-scan/findings/{finding_id}/treated
Request
- Base URL: https://api.sonenta.dev
- URL: https://api.sonenta.dev/v1/projects/{project_id}/code-scan/findings/{finding_id}/treated
- Auth: none declared
Path parameters
project_idstring required
finding_idstring required
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.