Storage
Cleanup storage
Performs cleanup of specified storage targets (temp files, Docker cache) on a server.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredCleanup targets: temp, docker_cache
targetsarray<string>Path Parameters
idRequiredstringServer ID (UUID)
OK
Get Docker usage
Returns Docker disk usage breakdown for a server.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringServer ID (UUID)
OK
List Docker images
Returns a list of Docker images on the server.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringServer ID (UUID)
OK
Remove Docker image
Removes a Docker image by ID from the server.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredDocker image ID to remove
imageIdstringPath Parameters
idRequiredstringServer ID (UUID)
OK
Get instance storage breakdown
Returns per-instance directory size breakdown for a server.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringServer ID (UUID)
OK
Get storage overview
Returns filesystem usage and storage category breakdown for a server.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringServer ID (UUID)
OK
List temp files
Returns a list of /tmp/ocore-* temporary files on the server.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringServer ID (UUID)
OK
Delete temp file
Deletes a specific /tmp/ocore-* temporary file on the server.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredFilename to delete
filenamestringPath Parameters
idRequiredstringServer ID (UUID)
OK