Admin flagged projects
const url = 'https://api.deploybase.eu/api/v1/api/v1/admin/abuse-scans';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.deploybase.eu/api/v1/api/v1/admin/abuse-scans \ --header 'Authorization: <Authorization>'Latest finished keyword scan per project and branch, plus any older scan whose deployment is live again (a superseded one is returned as new), reported projects first, then by priority and score. Each row carries report_count (non-rejected abuse reports naming the project), team_name and site_host.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “ Query Parameters ”New, dismissed or actioned (default new)
Page number (default 1)
Page size, 1-100 (default 20)
Responses
Section titled “ Responses ”OK
object
object
object
object
object
object
OthersInProject is not a column: the admin list and detail fill it with the project’s other open listed scans (other branches, or an older deployment live again), DEP-880.
Example generated
{ "data": { "page": 1, "page_size": 1, "scans": [ { "branch": "example", "created_at": "example", "deployment_id": "example", "error": "example", "files_scanned": 1, "handled_at": "example", "handled_by": "example", "id": "example", "matches": [ { "category": "example", "examples": [ { "path": "example", "snippet": "example" } ], "hits": 1, "rule_id": "example" } ], "others_in_project": 1, "priority": "example", "project_id": "example", "report_count": 1, "resolution": "example", "review_status": "example", "scanned_at": "example", "score": 1, "site_host": "example", "status": "example", "team_id": "example", "team_name": "example", "truncated": true } ], "total": 1 }, "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Bad Request
object
object
object
The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.
Example generated
{ "code": "example", "details": "example", "docs_url": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }, "next_actions": [ { "action": "example", "cli": "example", "description": "example", "http": "example", "tool": "example" } ], "reason": "example", "who_acts": "example"}Unauthorized
object
object
object
The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.
Example generated
{ "code": "example", "details": "example", "docs_url": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }, "next_actions": [ { "action": "example", "cli": "example", "description": "example", "http": "example", "tool": "example" } ], "reason": "example", "who_acts": "example"}Forbidden
object
object
object
The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.
Example generated
{ "code": "example", "details": "example", "docs_url": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }, "next_actions": [ { "action": "example", "cli": "example", "description": "example", "http": "example", "tool": "example" } ], "reason": "example", "who_acts": "example"}Internal Server Error
object
object
object
The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.
Example generated
{ "code": "example", "details": "example", "docs_url": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }, "next_actions": [ { "action": "example", "cli": "example", "description": "example", "http": "example", "tool": "example" } ], "reason": "example", "who_acts": "example"}Service Unavailable
object
object
object
The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.
Example generated
{ "code": "example", "details": "example", "docs_url": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }, "next_actions": [ { "action": "example", "cli": "example", "description": "example", "http": "example", "tool": "example" } ], "reason": "example", "who_acts": "example"}Live 582ac705 built