Projects | Retrieve Projects
Retrieves information about all projects that the current user is a member of.
Pagination:
Note: This endpoint supports pagination. Refer to the "General" section for details on using page
and limit
query params.
get
Query Parameter(s)
Field |
Type |
Description |
includeHidden
optional
|
Boolean |
Whether to include hidden projects in the response. Defaults to true.
Default value: true
|
Success 200
Field |
Type |
Description |
username
required
|
String
|
Username of the user making the request.
|
email
required
|
String
|
Email of the user making the request.
|
projects
required
|
Object[]
|
Array of project objects.
|
_id
required
|
String
|
Unique identifier of the project.
|
name
required
|
String
|
Name of the project.
|
description
required
|
String
|
Description of the project.
|
date
required
|
String
|
ISO 8601 date string representing the creation time of the project.
|
Error 4xx
Name |
Type |
Description |
error
required
|
String
|
Error message describing what went wrong.
|
Projects | Retrieve Project's Members
Retrieves detailed information about all members assigned to a specific project identified by the project's unique ID.
get
URL Parameters
Field |
Type |
Description |
PROJECT_ID
required
|
String
|
The unique identifier of the project.
|
Success 200
Field |
Type |
Description |
username
required
|
String
|
Username of the user making the request.
|
email
required
|
String
|
Email of the user making the request.
|
members
required
|
Object[]
|
Array of project member objects.
|
_id
required
|
String
|
Unique identifier of the member.
|
role
required
|
String
|
Role of the member within the project (e.g., admin, member).
|
email
required
|
String
|
Email of the member.
|
username
required
|
String
|
Username of the member.
|
hiddenProjects
required
|
String[]
|
Array of hidden project IDs associated with the member.
|
lastActiveAt
required
|
String
|
ISO 8601 date string representing the last active time of the member.
|
Error 4xx
Name |
Type |
Description |
error
required
|
String
|
Error message describing what went wrong.
|
Projects | Retrieve Project's Repositories
Retrieves information about all repositories linked to a specific project, identified by the project's unique PROJECT_ID
.
get
URL Parameters
Field |
Type |
Description |
PROJECT_ID
required
|
String
|
The unique identifier of the project.
|
Success 200
Field |
Type |
Description |
username
required
|
String
|
Username of the requesting user.
|
email
required
|
String
|
Email of the requesting user.
|
repositories
required
|
Object[]
|
Array of repository objects.
|
_id
required
|
String
|
Unique identifier of the repository.
|
name
required
|
String
|
Name of the repository.
|
owner
required
|
String
|
Owner of the repository.
|
isPrivate
required
|
Boolean
|
Indicates if the repository is private.
|
branches
required
|
String[]
|
List of all branch names in the repository.
|
productionBranch
required
|
String
|
The main production branch of the repository.
|
addedBy
required
|
Object
|
User who added the repository, with their username and email.
|
root
required
|
String
|
Root directory of the repository.
|
language
required
|
String
|
Programming language of the repository.
|
date
required
|
String
|
Timestamp of when the repository was created.
|
Error 4xx
Name |
Type |
Description |
error
required
|
String
|
Error message describing what went wrong.
|
Projects | Retrieve Project's Analyses
Request info for all analyses that are linked to a project with a specific PROJECT_ID
.
post
Parameters
Field |
Type |
Description |
PROJECT_ID
required
|
Number
|
Project's unique ID .
|
Request Body
Field |
Type |
Description |
repositories
required
|
Array |
The repositories to fetch analyses for.
|
Success 200
Field |
Type |
Description |
username
required
|
String
|
Your username.
|
email
required
|
String
|
Your email.
|
_id
required
|
String
|
Repository's Id .
|
name
required
|
String
|
The repository's name.
|
owner
required
|
String
|
Owner of the repository.
|
branch
required
|
Array
|
The selected branch of the repository.
|
Error 4xx
Name |
Type |
Description |
error
required
|
String
|
Error message describing what went wrong.
|
Projects | Retrieve Project's Tasks
Retrieves all tasks associated with a specific project, identified by the project's unique PROJECT_ID
. Allows filtering to include closed tasks.
get
URL Parameters
Field |
Type |
Description |
PROJECT_ID
required
|
String
|
The unique identifier of the project.
|
Query Parameter(s)
Field |
Type |
Description |
includeClosed
optional
|
Boolean |
Optionally include tasks that are closed.
Default value: false
|
Success 200
Field |
Type |
Description |
username
required
|
String
|
Username of the requesting user.
|
email
required
|
String
|
Email of the requesting user.
|
tasks
required
|
Object[]
|
Array of task objects.
|
id
required
|
String
|
Unique identifier of the task.
|
title
required
|
String
|
Title of the task.
|
body
required
|
String
|
Description body of the task.
|
author
required
|
String
|
Username of the task's author.
|
closed
required
|
Boolean
|
Indicates if the task is closed.
|
closedAt
required
|
String
|
Timestamp when the task was closed, null if not closed.
|
assignees
required
|
Object[]
|
Array of assignee objects.
|
username
required
|
String
|
Username of the assignee.
|
email
required
|
String
|
Email of the assignee.
|
dueDate
required
|
String
|
Due date for the task, null if not set.
|
points
required
|
Object
|
Points details for the task.
|
total
required
|
Number
|
Total points estimated for the task.
|
done
required
|
Number
|
Points completed for the task.
|
status
required
|
String
|
Current status of the task.
|
priority
required
|
String
|
Priority level of the task.
|
updatedAt
required
|
String
|
Timestamp of the last update to the task.
|
date
required
|
String
|
Creation date and time of the task.
|
Error 4xx
Name |
Type |
Description |
error
required
|
String
|
Error message describing what went wrong.
|
Projects | Retrieve Project's Task
Retrieves detailed information about a specific task within a project. Both the project and the task are identified by their unique identifiers, PROJECT_ID
and TASK_ID
, respectively.
get
URL Parameters
Field |
Type |
Description |
PROJECT_ID
required
|
String
|
The unique identifier of the project.
|
TASK_ID
required
|
String
|
The unique identifier of the task.
|
Success 200
Field |
Type |
Description |
username
required
|
String
|
The username of the user making the request.
|
email
required
|
String
|
The email address of the user making the request.
|
task
required
|
Object
|
The task object containing detailed information.
|
id
required
|
String
|
The unique identifier of the task.
|
title
required
|
String
|
The title of the task.
|
body
required
|
String
|
The detailed description of the task.
|
author
required
|
String
|
The username of the task's author.
|
closed
required
|
Boolean
|
Indicates whether the task is closed.
|
closedAt
required
|
String
|
The timestamp when the task was closed (null if not closed).
|
assignees
required
|
Object[]
|
An array of objects containing information about the task's assignees.
|
username
required
|
String
|
The username of the assignee.
|
email
required
|
String
|
The email of the assignee.
|
dueDate
required
|
String
|
The due date for the task (null if not set).
|
points
required
|
Object
|
An object containing point details of the task.
|
total
required
|
Number
|
The total points estimated for the task.
|
done
required
|
Number
|
The points completed for the task.
|
status
required
|
String
|
The current status of the task.
|
priority
required
|
String
|
The priority level of the task (e.g., none, high, low).
|
createdAt
required
|
String
|
The timestamp when the task was created.
|
updatedAt
required
|
String
|
The timestamp when the task was last updated.
|
Error 4xx
Name |
Type |
Description |
error
required
|
String
|
Error message describing what went wrong.
|
Projects | Create Task
Create a new task in a project with a specific PROJECT_ID
.
post
Parameters
Field |
Type |
Description |
PROJECT_ID
required
|
Number
|
Project's unique ID .
|
Request Body
Field |
Type |
Description |
title
required
|
String |
Task's title.
|
body
required
|
String |
Task's body.
|
assignees
required
|
Array |
Task's assignees.
|
dueDate
required
|
String |
Task's due date.
|
points
required
|
Object |
Task's points.
|
done
required
|
Number |
Task's points done.
|
total
required
|
Number |
Task's points total.
|
priority
required
|
String |
Task's priority [none, high, low].
|
Success 200
Field |
Type |
Description |
username
required
|
String
|
Your username in our database.
|
email
required
|
String
|
Your email in our database.
|
id
required
|
String
|
Task's id.
|
Error 4xx
Name |
Type |
Description |
error
required
|
String
|
Error message describing what went wrong.
|
Projects | Update a Project's Task
Update task with a specific TASK_ID
in a project with a specific PROJECT_ID
.
put
Parameters
Field |
Type |
Description |
PROJECT_ID
required
|
Number
|
Project's unique ID .
|
TASK_ID
required
|
Number
|
Task's unique ID .
|
Request Body
Field |
Type |
Description |
title
required
|
String |
Task's title.
|
body
required
|
String |
Task's body.
|
assignees
required
|
Array |
Task's assignees.
|
dueDate
required
|
String |
Task's due date.
|
points
required
|
Object |
Task's points.
|
done
required
|
Number |
Task's points done.
|
total
required
|
Number |
Task's points total.
|
status
required
|
String |
Task's status.
|
priority
required
|
String |
Task's priority [none, high, low].
|
Success 200
Field |
Type |
Description |
username
required
|
String
|
Your username in our database.
|
email
required
|
String
|
Your email in our database.
|
id
required
|
String
|
Task's id.
|
Error 4xx
Name |
Type |
Description |
error
required
|
String
|
Error message describing what went wrong.
|
Projects | Modify Task's points
Modify the points in a task with a specific TASK_ID
in a project with a specific PROJECT_ID
.
post
Parameters
Field |
Type |
Description |
PROJECT_ID
required
|
Number
|
Project's unique ID .
|
TASK_ID
required
|
Number
|
Task's unique ID .
|
Request Body
Field |
Type |
Description |
total
required
|
Number |
Task's total points.
|
done
required
|
Number |
Task's done points.
|
Success 200
Field |
Type |
Description |
username
required
|
String
|
Your username in our database.
|
email
required
|
String
|
Your email in our database.
|
id
required
|
String
|
Task's id.
|
Error 4xx
Name |
Type |
Description |
error
required
|
String
|
Error message describing what went wrong.
|
Projects | Close task
Close a task with a specific TASK_ID
in a project with a specific PROJECT_ID
.
patch
Parameters
Field |
Type |
Description |
PROJECT_ID
required
|
Number
|
Project's unique ID .
|
TASK_ID
required
|
Number
|
Task's unique ID .
|
Success 200
Field |
Type |
Description |
username
required
|
String
|
Your username in our database.
|
email
required
|
String
|
Your email in our database.
|
id
required
|
String
|
Task's id.
|
Error 4xx
Name |
Type |
Description |
error
required
|
String
|
Error message describing what went wrong.
|
Projects | Reopen Closed Task
Reopen a closed task with a specific TASK_ID
in a project with a specific PROJECT_ID
.
patch
Parameters
Field |
Type |
Description |
PROJECT_ID
required
|
Number
|
Project's unique ID .
|
TASK_ID
required
|
Number
|
Task's unique ID .
|
Success 200
Field |
Type |
Description |
username
required
|
String
|
Your username in our database.
|
email
required
|
String
|
Your email in our database.
|
id
required
|
String
|
Task's id.
|
Error 4xx
Name |
Type |
Description |
error
required
|
String
|
Error message describing what went wrong.
|
Projects | Delete Task
Delete a task with a specific TASK_ID
in a project with a specific PROJECT_ID
.
delete
Parameters
Field |
Type |
Description |
PROJECT_ID
required
|
Number
|
Project's unique ID .
|
TASK_ID
required
|
Number
|
Task's unique ID .
|
Success 200
Field |
Type |
Description |
username
required
|
String
|
Your username in our database.
|
email
required
|
String
|
Your email in our database.
|
id
required
|
String
|
Task's id.
|
Error 4xx
Name |
Type |
Description |
error
required
|
String
|
Error message describing what went wrong.
|