Garbage Collector Status

Xray REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Returns the current status of the Garbage Collector.

Security: Requires an admin user.

Usage: GET /api/v1/gc/status

Produces: application/json

Sample Response

{
"is_running" : true/false,
“last_time_started” : Date,
“last_time_ended” : Date,
"last_successful_run" : Date,
“Last_state”:  “running”/“succeeded”/”failed”/”aborted”
"last_error": "cause error if there is"
}

Response Codes:

200: ok

500: failed to retrieve current settings

401: unauthorized

403: forbidden