Admin flagged projects
GET
/api/v1/admin/abuse-scans
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 ” review_status
string
New, dismissed or actioned (default new)
page
integer
Page number (default 1)
page_size
integer
Page size, 1-100 (default 20)
Responses
Section titled “ Responses ”OK
Media type application/json
object
data
meta
object
request_id
string
timestamp
string
trace_id
string
data
object
page
integer
page_size
integer
scans
Array<object>
object
branch
string
created_at
string
deployment_id
string
error
string
files_scanned
integer
handled_at
string
handled_by
string
id
string
matches
Array<object>
object
category
string
examples
Array<object>
object
path
string
snippet
string
hits
integer
rule_id
string
priority
string
project_id
string
report_count
integer
resolution
string
review_status
string
scanned_at
string
score
integer
site_host
string
status
string
team_id
string
team_name
string
truncated
boolean
total
integer
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" } ], "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
Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Unauthorized
Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Forbidden
Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Internal Server Error
Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Service Unavailable
Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Live 174db30c built