Tasks
This page includes all endpoints available for the tasks(projects) module of Logiciel Actif.
List all tasks
GET
https://app.gem-books.com/api/tasks
This endpoint allows you to get the list of your tasks. The tasks are returned sorted by creation date.
Query Parameters
Name | Type | Description |
---|---|---|
page | integer | The number of the page you wish to see. Default is 1. |
per_page | integer | The number of the desired result per page. Default is 20. Maximum values is 100. |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Bearer token. |
Accept | string | Should be |
Retrieve a task
GET
https://app.gem-books.com/api/tasks/:id
This endpoint allows you to get the details of the task.
Path Parameters
Name | Type | Description |
---|---|---|
id | integer | The ID of the task to retrieve. |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Bearer token. |
Accept | string | Should be |
Create a task
POST
https://app.gem-books.com/api/tasks
This endpoint allows you to create a task. Returns the created task.
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Bearer token. |
Content-Type | string | Should be |
Accept | string | Should be |
Request Body
Name | Type | Description |
---|---|---|
project_id | integer | ID of project. |
name | string | Task name. |
Update a task
PUT
https://app.gem-books.com/api/tasks/:id
This endpoint allows you to update a specific task. Returns the updated task.
Path Parameters
Name | Type | Description |
---|---|---|
id | integer | Task id to update |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Bearer token. |
Content-Type | string | Should be |
Accept | string | Should be |
Last updated