Use the endpoint to manage samples.
GET samples
Description
|
Result
|
Get a list of samples that were uploaded earlier.
|
List of Sample objects.
|
Parameters
Parameter
|
Type
|
Description
|
Required
|
count
|
integer
|
Number of returning objects, 1…100. To get more objects, use several requests and the offset parameter. By default, count=10.
|
No
|
offset
|
integer
|
Offset, 0…+∞. By default, offset=0.
|
No
|
md5
|
string
|
Filter by MD5.
|
No
|
sha1
|
string
|
Filter by SHA1.
|
No
|
sha256
|
string
|
Filter by SHA256.
|
No
|
format_name
|
string
|
Filter by file format.
|
No
|
format_group_name
|
string
|
Filter by file type.
|
No
|
GET samples/<sample_id:number>
Description
|
Parameters
|
Result
|
Get data about the file that was uploaded earlier.
|
—
|
Sample object.
|
GET samples/<sample_id:number>/analyses
Description
|
Parameters
|
Result
|
Get data about the file analyses.
|
—
|
Analysis object.
|
POST samples
Description
|
Result
|
Upload a sample to the Dr.Web vxCube server.
|
Sample object.
|
Parameters
Parameter
|
Type
|
Description
|
Required
|
file
|
string
|
The sample that needs to be uploaded to the server. Specify a full filepath preceded by the @ symbol.
|
Yes
|
password
|
string
|
The password for the uploaded archive. The password can be 1 to 25 characters long.
|
No
|
Usage example
|