# /tasks/view

**GET /tasks/view/** *(int: id)*

Belirtilen ID'ye sahip görevle ilgili ayrıntıları döndürür.

Örnek request:

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

Örnek response:

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

Not: Key status için olası değerler:

- pending
- running
- completed
- reported

Parametreler:

- id (gereklidir) (int) - Bakılacak görevin ID'si

Durum kodları:

- 200 - hata yok
- 404 - görev bulunamadı