Get the Workers Count

Xray REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Get the number of workers for new content and existing content.

Since: 3.6

Notes: Self-Hosted only

Security: Requires an admin user

Usage: GET /api/v1/configuration/workersCount

Sample Response:

{
    "index": {
        "new_content": 8,
        "existing_content": 4
    },
    "persist": {
        "new_content": 8,
        "existing_content": 4
    },
    "analysis": {
        "new_content": 8,
        "existing_content": 4
    },
    "alert": {
        "new_content": 8,
        "existing_content": 4
    },
    "impact_analysis": {
        "new_content": 4
    },
    "notification": {
        "new_content": 8
    }
}

Response Codes:

200: Success

500: Failed to get worker settings

403: Forbidden

401: Unauthorized