Projects
Parameters
| Name | Description |
|---|---|
| id * | Numeric ID of the Project. Type: integer (path) |
Responses
| Code | Description |
|---|---|
| 200 |
Project was retrieved successfully. Media type: application/json Example Value: { "id": 0, "name": "string" } |
| 404 |
Resource was not found. Media type: application/json Example Value: { "id": 0, "name": "string" } |
Parameters
| Name | Description |
|---|---|
| id * | Numeric ID of the Project. Type: integer (path) |
Request body *
{ "name": "string" }
Responses
| Code | Description |
|---|---|
| 200 |
Project was updated successfully. Media type: application/json Example Value: { "id": 0, "name": "string" } |
| 404 |
Resource was not found. Media type: application/json Example Value: { "id": 0, "name": "string" } |
Parameters
| Name | Description |
|---|---|
| id * | Numeric ID of the Project. Type: integer (path) |
Responses
| Code | Description |
|---|---|
| 200 | Project was deleted successfully. |
| 404 | Resource was not found. |
| 409 | Resource cannot be deleted. |
Parameters
No parameters
Request body *
{ "entityType": "TEST_NODE", "entityIds": [0] }
Responses
| Code | Description |
|---|---|
| 200 |
Listing was processed successfully. Media type: application/json Example Value: { "entityType": "TEST_NODE", "assignments": { "additionalProp1": [ { "id": 0, "name": "string" } ], "additionalProp2": [ { "id": 0, "name": "string" } ], "additionalProp3": [ { "id": 0, "name": "string" } ] } } The keys of |
| 404 |
Resource was not found. Media type: application/json Example Value: { "entityType": "TEST_NODE", "assignments": { "additionalProp1": [ { "id": 0, "name": "string" } ], "additionalProp2": [ { "id": 0, "name": "string" } ], "additionalProp3": [ { "id": 0, "name": "string" } ] } } |
Parameters
No parameters
Request body *
{ "entityType": "TEST_NODE", "entityIds": [0], "projectNames": ["string"] }
| Field | Description |
|---|---|
| entityType * | The type of the entities being assigned. Type: string One of: TEST_NODE, TEST_CASE, TEST_SUITE, MOBILE_ID, API_CLIENT, TRACE_FILTER, TOKEN |
| entityIds * | Numeric IDs of the entities to assign. Batches are supported — every ID in the list is processed in the same request. Type: array of integer |
| projectNames | The projects to assign, identified by name — this endpoint does not take project IDs. Type: array of string |
Note: the request replaces the current assignments of each entity rather than adding to
them. Projects that are not listed in projectNames are unassigned, so an empty or
omitted projectNames clears every project assignment of the listed entities and
still returns 200. Send the full set of project names the
entity should end up with.
Note: a name that does not match an existing project creates a new project with that name, so a typo results in a new, near-empty project instead of an error.
Responses
| Code | Description |
|---|---|
| 200 |
Action was handled successfully. The response body is empty, and a 200 only confirms that the request was accepted
— not which assignments it produced. Read the result back with
|
| 401 |
Not authorized for entity. Users without the ADMIN role can only assign entities they own. |
| 404 |
Resource was not found. |
Parameters
| Name | Description |
|---|---|
| page | The page to list entries. Type: string (query) Default value: 0 |
| size | The page size for listing entries. Type: string (query) Default value: 20 |
| sort | The sort type for listing entries. Type: string (query) |
Responses
| Code | Description |
|---|---|
| 200 |
OK Media type: application/json Example Value: { "totalElements": 0, "totalPages": 0, "number": 0, "sort": { "sorted": true, "unsorted": true, "empty": true }, "size": 0, "content": [ { "id": 0, "name": "string" } ], "first": true, "last": true, "pageable": { "sort": { "sorted": true, "unsorted": true, "empty": true }, "offset": 0, "paged": true, "unpaged": true, "pageNumber": 0, "pageSize": 0 }, "numberOfElements": 0, "empty": true } |
Parameters
No parameters
Request body *
{ "name": "string", "entityType": "TEST_NODE", "entityIds": [0] }
Responses
| Code | Description |
|---|---|
| 201 |
ID of the Project. Media type: application/json Example Value: { "id": 0 } |
| 409 |
Name needs to be unique. Media type: application/json Example Value: { "id": 0 } |