Scanners
Note
These APIs are subject to change at any time and are for internal use only.
List scanner results
This endpoint returns a list of labelled scanner results.
Note
Requires authentication and the current user to have read access to the scanner results.
- GET /api/v5/scanner/results/
- Query Parameters:
label (string) – Filter by label.
scanner (string) – Filter by scanner name.
- Response JSON Object:
id (int) – The scanner result ID.
scanner (string) – The scanner name.
label (string) – Either
goodorbad.results (object) – The scanner (raw) results.
created (string) – The date the result was created, formatted with this format.
model_version (string|null) – The model version when applicable,
nullotherwise.
Patch - Update results
This endpoint allows to update scanner results.
Note
Requires JWT authentication using the service account credentials associated with the scanner webhook.
- PATCH /api/v5/scanner/results/(int: pk)/
- Query Parameters:
id (string) – The scanner result ID.
- Request JSON Object:
results (object) – The scanner results.
- Status Codes:
204 No Content – Results successfully updated.
400 Bad Request – Invalid payload.
409 Conflict – Scanner results already recorded.