{"_id":"567c479a8eb5b20d00210557","parentDoc":null,"user":"5511dee39171e82b00897349","version":{"_id":"5661fdca55e4450d00e62c73","project":"5511df3be2990b0d00fb071d","__v":2,"createdAt":"2015-12-04T20:55:38.639Z","releaseDate":"2015-12-04T20:55:38.639Z","categories":["5661fdcb55e4450d00e62c74","5661fdcb55e4450d00e62c75","5661fdcb55e4450d00e62c76","5661fdcb55e4450d00e62c77","5661fdcb55e4450d00e62c78","5661fdcb55e4450d00e62c79","567c42b13241c20d00b7312e"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2.0"},"project":"5511df3be2990b0d00fb071d","__v":7,"category":{"_id":"5661fdcb55e4450d00e62c79","version":"5661fdca55e4450d00e62c73","__v":8,"pages":["5661fdcc55e4450d00e62c80","5661fdcc55e4450d00e62c81","5661fdcc55e4450d00e62c82","5661fdcc55e4450d00e62c83","5661fdcc55e4450d00e62c84","5661fdcc55e4450d00e62c85","5661fdcc55e4450d00e62c86","5661fdcc55e4450d00e62c87","5661fdcc55e4450d00e62c88","567c46a37c40060d005604c1","567c479a8eb5b20d00210557","567c4829815f250d0094adbb","567c48a3815f250d0094adbd","567c496b7c40060d005604c5","567c4af88eb5b20d00210559","567c4cb9abbcf90d00ca50c2"],"project":"5511df3be2990b0d00fb071d","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-08-27T12:30:20.218Z","from_sync":false,"order":1,"slug":"alerts-notifications","title":"Tasks & Results"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-12-24T19:29:30.942Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"curl https://api.astrodigital.com/v2.0/tasks/1 -H 'Authorization: Token YOUR_TOKEN'","language":"text"}]},"method":"get","results":{"codes":[{"status":200,"name":"","code":"{\n    \"id\":1,\n    \"name\":\"My Alert\",\n    \"created_at\":\"2016-01-27T15:24:03.126309Z\",\n    \"updated_at\":\"2016-01-27T15:24:03.126335Z\",\n    \"query\":{\n        \"date_to\":\"2015-02-02\",\n        \"aoi\":{\n            \"coordinates\":[\n              [\n                [10.571722984313965,51.38249533118676],\n                [10.571722984313965,51.39307388836406],\n                [10.588459968566895,51.39307388836406],\n                [10.588459968566895,51.38249533118676],\n                [10.571722984313965,51.38249533118676]\n              ]\n            ],\n            \"type\":\"Polygon\"\n        },\n        \"date_from\":\"2015-01-01\"\n    },\n    \"recurring\":false,\n    \"end_date\":null,\n    \"status\":\"ACTIVE\",\n    \"status_time\":\"2016-01-27T15:24:03.126087Z\",\n    \"expected_results\":20,\n    \"aoi\":1,\n    \"products\":[\n        {\n            \"product\":\"true_color\",\n            \"actions\":[\"mapbox\"]\n        }\n    ]\n}","language":"json"},{"name":"","code":"{\"detail\":\"Not found.\"}","language":"json","status":400}]},"settings":"56a8d993c0e02f0d007fa916","auth":"required","params":[],"url":"/tasks/:id"},"isReference":false,"order":3,"body":"Provides information for a specific Task. The result will return the complete state of the Task, including it's current status, what [Products](doc:products) it is producing, and the full query used to create the Task.","excerpt":"","slug":"tasksid","type":"endpoint","title":"/tasks/:id"}

Definition

{{ api_url }}{{ page_api_url }}

Examples


Result Format


Documentation

Provides information for a specific Task. The result will return the complete state of the Task, including it's current status, what [Products](doc:products) it is producing, and the full query used to create the Task.

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}