Arango v0.0.1 Arangoex.Task

ArangoDB Administration methods

Summary

Functions

Creates a task

Deletes the task with id

Fetch one task with id

Fetch all tasks or one task

Types

t()
t() :: %Arangoex.Task{command: String.t, name: String.t, offset: nil | non_neg_integer, params: map, period: non_neg_integer}

Functions

create(endpoint, task)

Creates a task

POST /_api/tasks

create_with_id(endpoint, task_id, task)

Creates a task with id

PUT /_api/tasks/{id}

delete(endpoint, task_id)

Deletes the task with id

DELETE /_api/tasks/{id}

new(map_or_kwlist, opts \\ [])
new(ExConstructor.map_or_kwlist, Keyword.t) :: %Arangoex.Task{command: term, name: term, offset: term, params: term, period: term}
task(endpoint, task_id)

Fetch one task with id

GET /_api/tasks/{id}

tasks(endpoint)

Fetch all tasks or one task

GET /_api/tasks