# /tasks/sample

**GET /tasks/sample/** *(int: sample\_id)*

Belirtilen örnek için görev listesini döndürür.

Örnek request:

> curl -H "Authorization: Bearer S4MPL3" http://localhost:8090/tasks/sample/1

Örnek response:

> {  
>  "tasks": \[  
>  {  
>  "category": "file",  
>  "machine": null,  
>  "errors": \[\],  
>  "target": "/tmp/malware.exe",  
>  "package": null,  
>  "sample\_id": 1,  
>  "guest": {},  
>  "custom": null,  
>  "owner": "",  
>  "priority": 1,  
>  "platform": null,  
>  "options": null,  
>  "status": "pending",  
>  "enforce\_timeout": false,  
>  "timeout": 0,  
>  "memory": false,  
>  "tags": \[  
>  "32bit",  
>  "acrobat\_6",  
>  \],  
>  "id": 2,  
>  "added\_on": "2012-12-19 14:18:25",  
>  "completed\_on": null  
>  }  
>  \]  
> }

Parametreler:

- sample\_id (gereklidir) (int) - görevleri listelemek için örnek kimliği

Durum kodları:

- 200 - hata yok