Skip to content

Commit

Permalink
update API docs (influxdata#832)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel Cook authored Aug 24, 2016
1 parent 54936ac commit 1db71bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,9 @@ PATCH /kapacitor/v1/tasks/TASK_ID
Define a new task that is enabled on creation.

```
POST /kapacitor/v1/tasks/TASK_ID
POST /kapacitor/v1/tasks
{
"id" : "TASK_ID",
"type" : "stream",
"dbrps" : [{"db": "DATABASE_NAME", "rp" : "RP_NAME"}],
"script" : "stream\n |from()\n .measurement('cpu')\n",
Expand Down

0 comments on commit 1db71bc

Please sign in to comment.