List projects
Description
List the projects of a company, using service account toke.
Response
200 OK
The response is an array of objects where each object contains the information of each project.
{
"totalCount": 9082,
"projects": [
{
"_id": "667ae984645bfbxxxxxeda46",
"title": "Conjoint build",
"ownerId": "62015f7aaxxxxxxxxxx87eab",
"createdAt": "2024-06-25T16:00:04.169Z",
"updatedAt": "2024-06-25T16:38:39.399Z",
"id": "667ae984645bfbxxxxxeda46",
"totalQuestionsCount": 0
},
{
"_id": "667a9498645bfbxxxxxe47c6",
"title": "asd12",
"ownerId": "65e1d0bbdxxxxxxxxxxa91db",
"createdAt": "2024-06-25T09:57:44.899Z",
"updatedAt": "2024-06-25T10:05:24.091Z",
"id": "667a9498645bfbxxxxxe47c6",
"totalQuestionsCount": 0
},
{
"_id": "667a86e6645bfbxxxxxe2f66",
"title": "asd1",
"ownerId": "65e1d0bbdxxxxxxxxxxa91db",
"createdAt": "2024-06-25T08:59:18.029Z",
"updatedAt": "2024-06-25T09:24:08.371Z",
"id": "667a86e6645bfbxxxxxe2f66",
"totalQuestionsCount": 0
},
{
"_id": "667a8386645bfbxxxxxe2976",
"title": "conjoint price",
"ownerId": "630660207xxxxxxxxxx13fbb",
"createdAt": "2024-06-25T08:44:54.322Z",
"updatedAt": "2024-06-25T08:50:11.297Z",
"id": "667a8386645bfbxxxxxe2976",
"totalQuestionsCount": 0
}
]
}
where:
-
totalCount: total projects within your company. -
projects: list of projects data. -
projects[index]-
_id or id: Id of the project. -
title: name/title or the project, -
ownerId: userId of the owner of the project. -
createdAt: Date of creation of the project in the formatYYYY-MM-DDTHH:mm:ss.SSSZ. -
updatedAt: Date of the last update of the project in the formatYYYY-MM-DDTHH:mm:ss.SSSZ. -
totalQuestionsCount:Number of answers the project has.
-
401 Unauthorized
The user doesn’t have permissions.
403 Forbidden
You are not allowed to see projects.
422 Unprocessable Content
Cannot process the request. the sortBy field is incorrect.
500 Internal Server Error
Error occurred while processing the request.
Description
List the projects of a company, using service account toke.Response
200 OK
The response is an array of objects where each object contains the information of each project.-
totalCount: total projects within your company. -
projects: list of projects data. -
projects[index]-
_id or id: Id of the project. -
title: name/title or the project, -
ownerId: userId of the owner of the project. -
createdAt: Date of creation of the project in the formatYYYY-MM-DDTHH:mm:ss.SSSZ. -
updatedAt: Date of the last update of the project in the formatYYYY-MM-DDTHH:mm:ss.SSSZ. -
totalQuestionsCount:Number of answers the project has.
-
401 Unauthorized
The user doesn’t have permissions.
403 Forbidden
You are not allowed to see projects.
422 Unprocessable Content
Cannot process the request. the sortBy field is incorrect.
500 Internal Server Error
Error occurred while processing the request.