project_ids
. This endpoint is ideal for bulk-fetching project metadata in a single request, improving efficiency and reducing the number of API calls.project_ids
(in body): An array of integer IDs representing the projects to be retrieved.project_id
, follow this guide:curl --location -g --request POST 'https:///v2/api/project/batch' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"project_ids": [
1,
2
]
}'
{
"success": true,
"message": "Projects found successfully.",
"data": [
{
"id": 2,
"created_by": "user@example.com",
"created_on": "2024-01-23T16:49:01.320701Z",
"modified_by": "user@example.com",
"modified_on": "2024-09-09T22:39:02.737244Z",
"project_name": "Example Project",
"team_visibility": false,
"is_deleted": false,
"team": 2
}
]
}