REST API

Binaries Endpoint

Updated: October 14, 2024

Deprecated Garbage Collection
For MongoDB there is a new implementation that solves scalability problems, when possible use the new Blobs endpoint.

Garbage Collect Orphaned (unused) Binaries

DELETE /management/binaries/orphaned

Response

If successful, returns a JSON representation of the binary manager status.

Status Codes

  • 200 OK - Success.
  • 409 Conflict - Garbage collection is already in progress.

Sample

curl -X DELETE -u Administrator:Administrator \
http://localhost:8080/nuxeo/api/v1/management/binaries/orphaned
{
    "gcDuration": 6,
    "numBinaries": 1,
    "sizeBinaries": 4451,
    "numBinariesGC": 0,
    "sizeBinariesGC": 0,
    "gcduration": 6
}

Learn More