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
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
Authentication
string
Bearer token.
Accept
string
Should be application/json
.
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
id
integer
The ID of the task to retrieve.
Headers
Authentication
string
Bearer token.
Accept
string
Should be application/json
.
Create a task
POST
https://app.gem-books.com/api/tasks
This endpoint allows you to create a task. Returns the created task.
Headers
Authentication
string
Bearer token.
Content-Type
string
Should be application/json
.
Accept
string
Should be application/json
.
Request Body
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
id
integer
Task id to update
Headers
Authentication
string
Bearer token.
Content-Type
string
Should be application/json
.
Accept
string
Should be application/json
.
Last updated