internal

get status of prepare gc commits operation

Changed on
get/repositories/{repository}/gc/prepare_commits/status

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/repositories/{repository}/gc/prepare_commits/status
  • Auth
    • HTTP bearer
    • or HTTP basic
    • or API key in cookie internal_auth_session

Query parameters

idstring required

Unique identifier of the prepare GC commits task

Response

prepare GC commits task status

task_idstring required

the id of the task preparing the GC commits

completedboolean required

true if the task has completed (either successfully or with an error)

update_timestring date-time required

last time the task status was updated

Example response

{
  "result": {
    "run_id": "64eaa103-d726-4a33-bcb8-7c0b4abfe09e",
    "gc_commits_location": "s3://my-storage-namespace/_lakefs/retention/commits",
    "gc_addresses_location": "s3://my-storage-namespace/_lakefs/retention/addresses"
  }
}

Changes