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
|
number
|
Number of returning objects, 1…100. To get more objects, use several requests and the offset parameter. By default, count=10.
|
No
|
offset
|
number
|
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.
|
POST samples
Description
|
Parameters
|
Result
|
Upload a sample to the Dr.Web vxCube server.
|
File
|
Sample object.
|
Usage example
|