Get All Project Details - GET /projects (v8.6.0)
Get details of all visible projects. The retrieval of project details should be performed after creating a project. To create a project use the POST/projects API.
Usage:
- POST /projects and create new project with default configuration settings
- GET /projects and get details of all projects
URL
/cxrestapi/projects
Method:
GET
Media Type (header):
Authorization: Bearer <access token value>
Accept: application/json;v=1.0
URL Parameters
None
Success Response:
Code: 200 OK
Error Response:
Code: 400 Bad Request
Sample Response:
[
{
"id": 1,
"name": "Project 1",
"teamId": "00000000-1111-1111-b111-989c9070eb11",
"link": {
"rel": "self",
"uri": "/projects/1"
}
},
{
"id": 2,
"name": "Project 2",
"teamId": "00000000-1111-1111-b111-989c9070eb11",
"link": {
"rel": "self",
"uri": "/projects/2"
}
}
]
Notes:
Retrieves details of all visible projects. If the request fails, it returns an error response. Project Id (id) can be used to get details of a specific project using GET/projects/{id}. Team Id (id) can be used to create a new project with default configuration setting using POST /projects.
Read more: