Get GC Configuration

Xray REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Returns the current configurations of the Garbage Collector.

Security: Requires an admin user.

Usage: GET /api/v1/configuration/gc

Produces: application/json

Sample Response

{
   "scheduler_enabled": true/false,
   "scheduler_period_minutes" : int,
   "max_duration_seconds" : int,
   "max_retry_count" : int,
   "Idle_listener_enabled" : true/false,
   "Idle_listener_gc_duration_seconds" : int,
   "Idle_listener_sampling_rate_seconds" : int
}

Response Codes:

200: ok

500: failed to retrieve current settings

401: unauthorized

403: forbidden