There will be two rest endpoints: the Create Bundle Rest endpoint and the Get Bundle Rest endpoint.
First, create the support bundle with the Create Bundle endpoint.
First, create the support bundle with the Create Bundle endpoint.
$ curl -uadmin -XPOST "<JFROG_URL>/artifactory/api/system/support/bundle" -H "Content-Type: application/json" -d '{"name": "Support Bundle Test", "description": "Testing support bundle generation", "parameters": { "configuration": "true", "system": "true", "collectSlowQueriesFromDatabase": "false", "logs": { "include": "true", "start_date": "2024-07-07", "end_date": "2024-07-09"}, "thread_dump": {"count": "2", "interval": "15000"} }}'
{
"id" : "20240708-203816-917",
"artifactory" : {
"service_id" : "jfrt@01hzqseztgjhw40dxeka740k9d",
"bundle_url" : "<JFROG_URL>/artifactory/jfrog-support-bundle/20240708-203816-917/jfrt/jfrt@01hzqseztgjhw40dxeka740k9d"
}
}