Get projects
Gets a list of existing projects
- Parameters
- Advanced call ?
Function GetProjects(Val URL, Val Token, Val Page = 1) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| URL | --url | String | ✔ | ReportPortal server URL |
| Token | --token | String | ✔ | Access token |
| Page | --page | Number | ✖ | List page number |
Returns
Map Of KeyAndValue - serialized JSON response from ReportPortal
| Parameter | Description |
|---|---|
| proxy | InternetProxy or a structure with fields Protocol, Host, Port, User, Password, UseOSAuthentication |
| timeout | Request execution timeout |
| adv_response | Formats the response as a complete HTTP structure with fields code, body, and headers |
| retries | Number of HTTP request send attempts on 5** status codes or internal client errors |
| dontwait | Creates a background job and returns its data (for 1C and OneScript only) |
1C:Enterprise/OneScript code example
URL = "tests.openintegrations.dev";
Token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX25hbWUiOiJzdXBlcmFkbWluIiwic2NvcGVzIjpbInVpIl0sImV4cCI6MTc2MjAwMDI3NiwiaWF0IjoxNzYxOTEzODc2LCJqdGkiOiI0NTI3YTc5OS0wN2...";
Result = OPI_ReportPortal.GetProjects(URL, Token);
- Bash
- CMD/Bat
oint rportal GetProjects \
--url "tests.openintegrations.dev" \
--token "***"
oint rportal GetProjects ^
--url "tests.openintegrations.dev" ^
--token "***"
Result
{
"content": [
{
"id": 1,
"projectName": "superadmin_personal",
"usersQuantity": 1,
"launchesQuantity": 84,
"launchesPerUser": null,
"uniqueTickets": null,
"launchesPerWeek": null,
"lastRun": "2026-05-26T13:20:04Z",
"creationDate": "2026-03-18T09:44:43.417341Z",
"entryType": "PERSONAL",
"organization": null
},
{
"id": 4,
"projectName": "test",
"usersQuantity": 2,
"launchesQuantity": 6,
"launchesPerUser": null,
"uniqueTickets": null,
"launchesPerWeek": null,
"lastRun": "2026-01-01T10:00:00Z",
"creationDate": "2026-03-21T12:12:51.737289Z",
"entryType": "INTERNAL",
"organization": null
},
{
"id": 8,
"projectName": "default_personal",
"usersQuantity": 1,
"launchesQuantity": 0,
"launchesPerUser": null,
"uniqueTickets": null,
"launchesPerWeek": null,
"lastRun": null,
"creationDate": "2026-03-21T12:14:42.494131Z",
"entryType": "PERSONAL",
"organization": null
},
{
"id": 154,
"projectName": "testproject",
"usersQuantity": 1,
"launchesQuantity": 0,
"launchesPerUser": null,
"uniqueTickets": null,
"launchesPerWeek": null,
"lastRun": null,
"creationDate": "2026-05-26T14:38:18.710741Z",
"entryType": "INTERNAL",
"organization": null
}
],
"page": {
"number": 1,
"size": 30,
"totalElements": 4,
"totalPages": 1
}
}