Files

Get details of a file by Id

Get file details of a given fileId. If the remote flag is true, it'll fetch the corresponding remote file info, otherwise by default the flag is false and scanner file information will be shown.

SecuritybearerAuth
Request
path Parameters
fileId
required
integer <int64> >= 1

ID of the File

Example: 1
query Parameters
isRemote
boolean
Default: false

if true, fetch results of corresponding remote file

Responses
200

OK

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Server Error

get/files/{fileId}

Mark file reviewed/unreviewed

For the given fileId mark as reviewed/unreviewed. Only the Analyst has the permission to do this operation.

SecuritybearerAuth
Request
path Parameters
fileId
required
integer <int64> >= 1

ID of the File

Example: 1
query Parameters
isRemote
boolean
Default: false

if true, fetch results of corresponding remote file

markAsReviewed
boolean
Default: false

if true, mark file as reviewed

Responses
200

OK

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Server Error

put/files/{fileId}/review