CrushMFT Documentation

Server#

From openapi.json: CrushMFT API, version v1, build 27.0.0_2143.

The server as a whole: its status, history and statistics, restarts and updates, its own Java and when it is kept up to date, its licence and memory, its threads and its own folders, FIPS mode and the Kerberos configuration.

GET /WebInterface/api/v1/server/status #

Live values of the server: version, uptime, connections, speeds, memory, listeners. keys picks the values.

  • Operation: server.status.get
  • Credentials: token or basic or session
  • Permission: server.status.view
  • Tier: 2
  • Legacy: getServerInfoItems, getDashboardItems
  • Token: by its grants
  • Read only: yes

Parameters

Name In Type Required Description
keys query list of string The values wanted. Default: the scalar values. The history values (for example server_cpu_history) are lists.

Responses

Status Description Body
200 The result. object application/json
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
allow_logins boolean
concurrent_users integer
connected_unique_ips integer
current_datetime_millis integer
current_download_speed integer
current_upload_speed integer
dmz_mode boolean
failed_logins integer
health_job_engine string
health_overall string
health_replication string
health_serverbeat string
hostname string
incoming_transfers_count integer
last_login_date_time string
last_login_ip string
last_login_user string
logged_in_users integer
max_open_files integer
max_threads integer
max_users string
open_files integer
os_cpu integer
outgoing_transfers_count integer
ram_free integer
ram_max integer
ram_used integer
ram_used_percent integer
replicated_servers_count integer
restart_when_idle boolean
running_event_threads integer
server_cpu integer
server_start_time string
shutdown_when_idle boolean
sub_version_info_str string
successful_logins integer
thread_pool_available integer
thread_pool_busy integer
total_logins integer
total_server_bytes_received integer
total_server_bytes_sent integer
update_available boolean
update_available_version string
update_when_idle boolean
used_threads integer
users_connected integer
version_info_str string
Example 200 response
{
  "failed_logins": 0
}

GET /WebInterface/api/v1/server/history #

An archived snapshot of the live values. Without date and time: which snapshot is the oldest. The recent history of single values is in GET /server/status (the keys that end in _history).

  • Operation: server.history.get
  • Credentials: token or basic or session
  • Permission: server.status.view
  • Tier: 2
  • Legacy: getStatHistory, getDashboardHistory
  • Token: by its grants
  • Read only: yes

Parameters

Name In Type Required Description
date query string The snapshot's date, as the answer without parameters names it.
time query string The snapshot's time, as the answer without parameters names it.

Responses

Status Description Body
200 The result. object application/json
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
history_date integer
history_time integer or string
Example 200 response
{
  "history_date": 261122,
  "history_time": 2130
}

GET /WebInterface/api/v1/server/dataflow #

The transfers in flight by protocol and the logged-in users, each with its location, as the dashboard's map shows them.

  • Operation: server.dataflow.get
  • Credentials: token or basic or session
  • Permission: server.status.view
  • Tier: 2
  • Legacy: getDataFlowItems
  • Token: by its grants
  • Read only: yes

Responses

Status Description Body
200 The result. object application/json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
logged_in list of object
logged_in[].country string
logged_in[].country_code string
logged_in[].direction string
logged_in[].ip string
logged_in[].lat integer
logged_in[].lon integer
logged_in[].t integer
logged_in[].transfer_type string
logged_in[].user_name string
logged_in[].user_protocol string
server_lat integer
server_lon integer
Example 200 response
{
  "logged_in": [
    {
      "country": "UNKNOWN",
      "country_code": "UNKNOWN",
      "direction": "login",
      "ip": "192.0.2.10",
      "lat": 0,
      "lon": 0,
      "t": 1795375780295,
      "transfer_type": "user",
      "user_name": "viewer",
      "user_protocol": "HTTP"
    },
    {
      "country": "UNKNOWN",
      "country_code": "UNKNOWN",
      "direction": "login",
      "ip": "192.0.2.10",
      "lat": 0,
      "lon": 0,
      "t": 1795375780295,
      "transfer_type": "user",
      "user_name": "apiadmin",
      "user_protocol": "HTTP"
    },
    {
      "country": "UNKNOWN",
      "country_code": "UNKNOWN",
      "direction": "login",
      "ip": "192.0.2.10",
      "lat": 0,
      "lon": 0,
      "t": 1795375780295,
      "transfer_type": "user",
      "user_name": "apiadmin",
      "user_protocol": "HTTP"
    }
  ],
  "server_lat": 0,
  "server_lon": 0
}

GET /WebInterface/api/v1/server/metrics #

The Prometheus metrics as text, the same the /metrics endpoint serves.

  • Operation: server.metrics.get
  • Credentials: token or basic or session
  • Permission: server.metrics.view
  • Tier: 2
  • Legacy: prometheusMetrics
  • Token: by its grants
  • Read only: yes

Responses

Status Description Body
200 The result. string text/plain
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

GET /WebInterface/api/v1/server/fips #

FIPS 140-3 mode: the status block (the module and its certificate, the pack's jars, the Java, the providers, TLS in force, the watch) and the catalog of what FIPS mode turns off, limits or forces. On a server launched without -Dcrushmft.fips=true: fips false and mode off, nothing more.

  • Operation: server.fips.get
  • Credentials: token or basic or session
  • Permission: server.status.view
  • Tier: 2
  • Legacy: getFipsInfo
  • Token: by its grants
  • Read only: yes

Responses

Status Description Body
200 The result. object application/json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
approved_only boolean
catalog_rows integer
certificate string
certificate_url string
dmzs array
entropy string
fips boolean
ignored list of string
in_force list of object
in_force[].detail string
in_force[].id string
in_force_count integer
jars list of object
jars[].file string
jars[].pinned string
jars[].role string
jars[].sha256 string
jars[].version string
java_listed boolean
java_listed_versions string
java_vendor string
java_version string
job_engines list of object
job_engines[].fips boolean
job_engines[].fips_runners list of object
job_engines[].fips_runners[].fips boolean
job_engines[].fips_runners[].fips_watch integer
job_engines[].fips_runners[].kind string
job_engines[].fips_runners[].runner string
job_engines[].fips_watch integer
job_engines[].id string
job_engines[].local boolean
job_engines[].name string
job_engines[].state string
mode string
module_hmac string
module_name string
module_native boolean
module_version string
os_fips string
parameter string
providers list of string
removed_providers list of string
restrictions list of object
restrictions[].area string
restrictions[].effect string
restrictions[].forced_to string
restrictions[].id string
restrictions[].instead string
restrictions[].key string
restrictions[].kind string
restrictions[].reason string
restrictions[].title string
restrictions[].values string
rsa15_receive boolean
secrets_key string
self_test string
ssh_ciphers list of string
ssh_ciphers_cbc list of string
ssh_dh_min integer
ssh_kex list of string
ssh_macs list of string
ssh_public_keys list of string
ssh_rsa_min integer
standard string
start_ms integer
started string
tls12only boolean
tls_dh_min string
tls_ems string
tls_groups string
tls_protocols list of string
tls_suites list of string
trust_file string
watch string
watch_kinds list of object
watch_kinds[].call string
watch_kinds[].count string
watch_left_out integer
watch_not_module integer
Example 200 response
{
  "fips": true,
  "mode": "FIPS 140-3",
  "parameter": "-Dcrushmft.fips=true",
  "module_name": "BC-FJA",
  "module_version": "2.1.1",
  "certificate": "4943",
  "certificate_url": "https://csrc.nist.gov/projects/cryptographic-module-validation-program/certificate/4943",
  "standard": "FIPS 140-3",
  "approved_only": true,
  "self_test": "READY",
  "module_hmac": "0f861e85a3fdc00707c9d164f8335bc81d81723944575d5ac80b4273c0d930a5",
  "module_native": false,
  "jars": [
    {
      "file": "bc-fips-2.1.1.jar",
      "role": "module",
      "version": "2.1.1",
      "sha256": "a430d935ad6cec6d045930758457740f5a5f8f9715894e347f6800f7926a7321",
      "pinned": "true"
    },
    {
      "file": "bcutil-fips-2.1.8.jar",
      "role": "util",
      "version": "2.1.8",
      "sha256": "f44904f61552c823bcc3686a24052ee3135212d547754eaa2ff6532e210103cb",
      "pinned": "true"
    },
    {
      "file": "bctls-fips-2.1.25.jar",
      "role": "tls",
      "version": "2.1.25",
      "sha256": "af604aa5b337725872651067a819ebc03aa298685572b0b2ad5343c786faad0a",
      "pinned": "true"
    }
  ],
  "java_version": "27.0.1.0.3",
  "java_vendor": "Homebrew",
  "java_listed": false,
  "java_listed_versions": "8, 11, 17, 21",
  "os_fips": "not available on Mac OS X",
  "entropy": "NativePRNGBlocking from SUN, through CrushEntropy",
  "providers": [
    "BCFIPS",
    "BCJSSE",
    "CrushEntropy"
  ],
  "tls_protocols": [
    "TLSv1.3",
    "TLSv1.2"
  ],
  "tls_suites": [
    "TLS_AES_256_GCM_SHA384",
    "TLS_AES_128_GCM_SHA256",
    "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
  ],
  "tls_groups": "secp256r1,secp384r1,secp521r1,ffdhe2048,ffdhe3072,ffdhe4096",
  "tls_ems": "required (TLS 1.2 clients without the extended master secret are refused)",
  "tls_dh_min": "2048",
  "ssh_kex": [
    "ecdh-sha2-nistp256",
    "ecdh-sha2-nistp384",
    "ecdh-sha2-nistp521"
  ],
  "ssh_public_keys": [
    "rsa-sha2-512",
    "rsa-sha2-256",
    "ecdsa-sha2-nistp256"
  ],
  "ssh_ciphers": [
    "aes256-ctr",
    "aes192-ctr",
    "aes128-ctr"
  ],
  "ssh_ciphers_cbc": [
    "aes256-cbc",
    "aes192-cbc",
    "aes128-cbc"
  ],
  "ssh_macs": [
    "hmac-sha2-256-etm@openssh.com",
    "hmac-sha2-512-etm@openssh.com",
    "hmac-sha2-256"
  ],
  "ssh_dh_min": 2048,
  "ssh_rsa_min": 2048,
  "trust_file": "/var/opt/CrushMFT27/./fips/anchors-89285.bcfks",
  "tls12only": false,
  "rsa15_receive": false,
  "watch": "on",
  "watch_not_module": 0,
  "watch_left_out": 10765,
  "watch_kinds": [],
  "ignored": [],
  "removed_providers": [
    "SUN",
    "SunRsaSign",
    "SunEC"
  ],
  "catalog_rows": 87,
  "in_force_count": 2,
  "in_force": [
    {
      "id": "port.tls.builtin",
      "detail": "the settings name the built-in certificate; this server's own, ./fips/builtin.bcfks, is served in its place"
    },
    {
      "id": "port.plain",
      "detail": "HTTP 192.0.2.10:443"
    }
  ],
  "started": "2026-11-22 21:37:43",
  "start_ms": 1141,
  "job_engines": [],
  "dmzs": [],
  "secrets_key": "b56ce3d893d5e130",
  "restrictions": [
    {
      "id": "provider.custom",
      "title": "Adding a security provider (-Dcrushmft.sslprovider)",
      "area": "server",
      "kind": "feature",
      "key": "crushmft.sslprovider",
      "values": "",
      "effect": "off",
      "forced_to": "",
      "reason": "In FIPS mode every cryptographic operation goes to the validated module, so no other security provider may be added. The launch property -Dcrushmft.sslprovider is ignored, and the log says so at start.",
      "instead": "Nothing: the module's own TLS provider serves every TLS connection."
    },
    {
      "id": "keystore.format",
      "title": "JKS and PKCS#12 key stores",
      "area": "encryption",
      "kind": "pref_value",
      "key": "keystore_format",
      "values": "JKS, PKCS12",
      "effect": "off",
      "forced_to": "",
      "reason": "Both formats protect their keys with algorithms that are not approved, and the validated module does not read them.",
      "instead": "A BCFKS key store, or PEM files with a PKCS#8 key."
    },
    {
      "id": "secrets.builtin",
      "title": "The built-in key for stored secrets (as CrushFTP 11)",
      "area": "encryption",
      "kind": "pref_value",
      "key": "at_rest_key_mode",
      "values": "",
      "effect": "off",
      "forced_to": "",
      "reason": "It is single DES under a key every copy of CrushMFT has, and DES is not approved. In FIPS mode a server stores a secret only under a key of its own.",
      "instead": "Give this server its own key: Preferences, Encryption, Stored Secrets, a key file or a passphrase."
    }
  ]
}

GET /WebInterface/api/v1/server/kerberos #

The server's Kerberos configuration (Preferences, Kerberos): where its krb5.conf comes from and its text, the file Java uses, whether a restart is needed, and what is in the way. The realms and credentials are preferences of the section userstore.

  • Operation: server.kerberos.get
  • Credentials: token or basic or session
  • Permission: prefs.userstore.view
  • Tier: 1
  • Legacy: getKerberosStatus
  • Token: by its grants
  • Read only: yes

Responses

Status Description Body
200 The result. object application/json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
active string
folder string
in_use string
java_version string
jdk_default string
jdk_default_exists boolean
krb5_conf string
problems array
restart boolean
restart_why string
source string
started_with string
wanted string
written_path string
Example 200 response
{
  "source": "none",
  "krb5_conf": "",
  "wanted": "",
  "in_use": "",
  "active": "",
  "jdk_default": "/etc/krb5.conf",
  "jdk_default_exists": false,
  "started_with": "",
  "java_version": "27.0.1.0.3",
  "written_path": "/var/opt/CrushMFT27/kerberos/krb5.conf",
  "folder": "/var/opt/CrushMFT27/kerberos",
  "restart": false,
  "restart_why": "",
  "problems": []
}

GET /WebInterface/api/v1/server/time #

The server's clock.

  • Operation: server.time.get
  • Credentials: token or basic or session
  • Permission: any login
  • Tier: -
  • Legacy: getTime
  • Token: by its grants
  • Read only: yes

Responses

Status Description Body
200 The result. object application/json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
epoch_ms integer
time string
Example 200 response
{
  "time": "2026-11-22T19:33:56.881Z",
  "epoch_ms": 1795376036881
}

PUT /WebInterface/api/v1/server/logins #

Stop new logins, or allow them again. Sessions that are logged in go on.

  • Operation: server.logins.set
  • Credentials: token or basic or session
  • Permission: server.logins.pause
  • Tier: 1
  • Legacy: startLogins, stopLogins
  • Token: by its grants
  • Read only: no

Request body (required): application/json

Field Type Required Description
allow boolean yes true allows logins, false stops new ones.
Example request body
{
  "allow": true
}

Responses

Status Description Body
200 The result. object application/json
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
412 If-Match did not match: someone changed the object since it was read. Problem application/problem+json
422 A field fails its rule: errors lists every one. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
allow_logins boolean
restart_when_idle boolean
shutdown_when_idle boolean
Example 200 response
{
  "allow_logins": true,
  "restart_when_idle": false,
  "shutdown_when_idle": false
}

GET /WebInterface/api/v1/server/lifecycle #

Are logins allowed, is a restart or shutdown waiting for the server to be idle, and what is still running.

  • Operation: server.lifecycle.get
  • Credentials: token or basic or session
  • Permission: server.lifecycle.view
  • Tier: 2
  • Legacy: getRestartShutdownIdleStatus
  • Token: by its grants
  • Read only: yes

Responses

Status Description Body
200 The result. object application/json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
allow_logins boolean
downloading integer
jobs_running integer
restart_when_idle boolean
shutdown_when_idle boolean
uploading integer
Example 200 response
{
  "allow_logins": true,
  "restart_when_idle": false,
  "shutdown_when_idle": false,
  "downloading": 0,
  "uploading": 0,
  "jobs_running": 0
}

POST /WebInterface/api/v1/server/lifecycle/restart-when-idle #

Stop new logins and restart the server once no transfer and no job is running.

  • Operation: server.restart-when-idle
  • Credentials: token or basic or session
  • Permission: server.lifecycle.restart
  • Tier: 1
  • Legacy: restartIdle
  • Token: by its grants
  • Read only: no

Parameters

Name In Type Required Description
dry_run query boolean Run every check, change nothing, and answer what would happen. Default false.

Responses

Status Description Body
202 Accepted: the work goes on, as the operation in the answer. object application/json
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
409 The object exists already, or its state does not allow this. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 202 response

Field Type Required Description
allow_logins boolean
restart_when_idle boolean
shutdown_when_idle boolean
Example 202 response
{
  "allow_logins": false,
  "restart_when_idle": true,
  "shutdown_when_idle": false
}

POST /WebInterface/api/v1/server/lifecycle/shutdown-when-idle #

Stop new logins and shut the server down once no transfer and no job is running.

  • Operation: server.shutdown-when-idle
  • Credentials: token or basic or session
  • Permission: server.lifecycle.restart
  • Tier: 1
  • Legacy: shutdownIdle
  • Token: by its grants
  • Read only: no

Parameters

Name In Type Required Description
dry_run query boolean Run every check, change nothing, and answer what would happen. Default false.

Responses

Status Description Body
202 Accepted: the work goes on, as the operation in the answer. object application/json
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
409 The object exists already, or its state does not allow this. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 202 response

Field Type Required Description
allow_logins boolean
restart_when_idle boolean
shutdown_when_idle boolean
Example 202 response
{
  "allow_logins": false,
  "restart_when_idle": false,
  "shutdown_when_idle": true
}

POST /WebInterface/api/v1/server/lifecycle/restart #

Restart the server process now. Every connection ends.

  • Operation: server.restart
  • Credentials: token or basic or session
  • Permission: server.lifecycle.restart
  • Tier: 1
  • Legacy: restartProcess
  • Token: by its grants
  • Read only: no

Parameters

Name In Type Required Description
dry_run query boolean Run every check, restart nothing. Default false.

Responses

Status Description Body
202 Accepted: the work goes on, as the operation in the answer. object application/json
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
409 The object exists already, or its state does not allow this. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 202 response

Field Type Required Description
restarting boolean
Example 202 response
{
  "restarting": true
}

GET /WebInterface/api/v1/server/update #

The server's version and the version folder it runs from, the update state, the versions kept on disk and those that failed to start, and whether an update is known. check=true asks the update server first.

  • Operation: server.update.get
  • Credentials: token or basic or session
  • Permission: server.update.view
  • Tier: 2
  • Legacy: checkForUpdate, updateNowProgress
  • Token: by its grants
  • Read only: yes

Parameters

Name In Type Required Description
check query boolean Ask the vendor's update server first. Default false.

Responses

Status Description Body
200 The result. object application/json
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
available boolean
available_version string
bad list of string
channel string
check_error string
current string
highest string
mode string
previous string
progress object
progress.current integer
progress.maximum integer
progress.status string
running string
running_version string
state string
state_message string
state_step string
unsigned boolean
update_when_idle boolean
version string
versions list of object
versions[].bad boolean
versions[].signed_at string
versions[].version string
Example 200 response
{
  "version": "Version 27.0.0_319",
  "available": false,
  "available_version": "Version 27.0.0",
  "check_error": "the update server could not be read (https://www.crushftp.com/updates/27/latest-release.txt): java.lang.Exception: HTTP 404 for https://www.crushftp.com/updates/27/latest-release.txt",
  "progress": {
    "status": "",
    "current": 0,
    "maximum": 0
  },
  "update_when_idle": false,
  "state": "idle",
  "state_message": "",
  "state_step": "",
  "running": "unchecked (started without CrushLauncher), version 27.0.0_319",
  "running_version": "27.0.0_319",
  "unsigned": false,
  "current": "27.0.0_319",
  "previous": "",
  "highest": "27.0.0_319",
  "channel": "release",
  "mode": "live",
  "versions": [],
  "bad": []
}

POST /WebInterface/api/v1/server/update/run #

Fetch the newest signed build and switch to it now, or once the server is idle. The switch keeps the listening ports open and lets the transfers in progress finish (design/62); update_mode=restart restarts instead.

  • Operation: server.update.run
  • Credentials: token or basic or session
  • Permission: server.update.run
  • Tier: 1
  • Legacy: updateNow, updateWebNow, updateIdle
  • Token: by its grants
  • Read only: no

Parameters

Name In Type Required Description
dry_run query boolean Run every check, install nothing. Default false.

Request body (required): application/json

Field Type Required Description
what string, one of server, web server; web is kept for older callers and runs the same update, as a build is one unit (design/62). Default server.
when string, one of now, idle Now, or once no transfer and no job runs. Default now.

Responses

Status Description Body
200 The result. Its fields are not described yet: no test run recorded this reply.
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
409 The object exists already, or its state does not allow this. Problem application/problem+json
422 A field fails its rule: errors lists every one. Problem application/problem+json
default Any other error. Problem application/problem+json

POST /WebInterface/api/v1/server/update/cancel #

Stop an update that is downloading, or call off one that waits for idle.

  • Operation: server.update.cancel
  • Credentials: token or basic or session
  • Permission: server.update.run
  • Tier: 1
  • Legacy: cancelUpdateProgress
  • Token: by its grants
  • Read only: no

Responses

Status Description Body
200 The result. object application/json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
409 The object exists already, or its state does not allow this. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
cancelled boolean
update_when_idle_cancelled boolean
Example 200 response
{
  "cancelled": true,
  "update_when_idle_cancelled": false
}

POST /WebInterface/api/v1/server/update/rollback #

Switch back to a version kept on this server, checked as an update is; the switch keeps connections as an update's does.

  • Operation: server.update.rollback
  • Credentials: token or basic or session
  • Permission: server.update.run
  • Tier: 1
  • Legacy: updateRollback
  • Token: by its grants
  • Read only: no

Parameters

Name In Type Required Description
dry_run query boolean Run every check, switch nothing. Default false.

Request body (required): application/json

Field Type Required Description
version string yes The version of a build kept on this server (server.update.get, versions), such as 27.0.0_257.

Responses

Status Description Body
202 Accepted: the work goes on, as the operation in the answer. object application/json
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
409 The object exists already, or its state does not allow this. Problem application/problem+json
422 A field fails its rule: errors lists every one. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 202 response

Field Type Required Description
rolling_back_to string
state string
state_message string

POST /WebInterface/api/v1/server/update/bad/clear #

Take a version off the list of versions that failed to start, so it may be switched to again.

  • Operation: server.update.bad.clear
  • Credentials: token or basic or session
  • Permission: server.update.run
  • Tier: 1
  • Legacy: updateClearBad
  • Token: by its grants
  • Read only: no

Request body (required): application/json

Field Type Required Description
version string yes The version to take off the list of versions that failed to start, such as 27.0.0_257.
Example request body
{
  "version": "27.0.0_1"
}

Responses

Status Description Body
200 The result. object application/json
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
409 The object exists already, or its state does not allow this. Problem application/problem+json
422 A field fails its rule: errors lists every one. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
cleared string
Example 200 response
{
  "cleared": "27.0.0_1"
}

GET /WebInterface/api/v1/server/java #

CrushMFT's own Java (Temurin's JRE in the Java folder, design/72): what runs, whether CrushMFT keeps it up to date and why, the line, the newest release, the state of a download or swap. check=true asks Adoptium first.

  • Operation: server.java.get
  • Credentials: token or basic or session
  • Permission: server.update.view
  • Tier: 2
  • Legacy: javaRuntimeStatus
  • Token: by its grants
  • Read only: yes

Parameters

Name In Type Required Description
check query boolean Ask Adoptium for the newest Temurin JRE first, and fetch it when it is due. Default false.

Responses

Status Description Body
200 The result. object application/json
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
auto_update boolean
bad list of string
bytes_done integer
bytes_total integer
check_error string
install_own boolean
installed_release string
java_home string
java_vendor string
java_version string
last_check string
latest_release string
managed string
managed_reason string
message string
ready_release string
security string
state string
track string
window string
Example 200 response
{
  "java_home": "/opt/homebrew/Cellar/openjdk/27.0.1.0.3/libexec/openjdk.jdk/Contents/Home",
  "java_version": "27.0.1.0.3",
  "java_vendor": "Homebrew",
  "managed": "no",
  "managed_reason": "an OS Java (/opt/homebrew/Cellar/openjdk/27.0.1.0.3/libexec/openjdk.jdk/Contents/Home): not CrushMFT's to keep up to date (design/72 D6)",
  "auto_update": true,
  "track": "lts",
  "install_own": false,
  "installed_release": "",
  "latest_release": "",
  "ready_release": "",
  "state": "idle",
  "message": "",
  "bytes_done": 0,
  "bytes_total": 0,
  "last_check": "",
  "check_error": "",
  "window": "in the update window (03:00 to 05:00, at the first idle moment)",
  "bad": [],
  "security": "Java4Shell (CVE-2026-114938) check: safe: Java 27.0.1.0.3 on aarch64: only x86-64 has the affected Base64 decoder"
}

POST /WebInterface/api/v1/server/java/run #

Ask Adoptium now and fetch the newest Temurin JRE when it is due (check), put the ready Java in place now, which restarts the server (install), or let a release that failed to start here be tried again (clear_bad).

  • Operation: server.java.run
  • Credentials: token or basic or session
  • Permission: server.update.run
  • Tier: 1
  • Legacy: javaRuntimeRun
  • Token: by its grants
  • Read only: no

Parameters

Name In Type Required Description
dry_run query boolean Run every check, change nothing. Default false.

Request body (required): application/json

Field Type Required Description
action string, one of check, install, clear_bad yes check: ask Adoptium now and fetch when due; install: put the ready Java in place now (the server restarts); clear_bad: let release be tried again.
release string With clear_bad: the Temurin release that failed to start here, such as jdk-25.0.5.1+2.

Responses

Status Description Body
200 The result. object application/json
202 Accepted: the work goes on, as the operation in the answer. object application/json
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
409 The object exists already, or its state does not allow this. Problem application/problem+json
422 A field fails its rule: errors lists every one. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
action string
cleared string

Fields of the 202 response

Field Type Required Description
action string
message string
state string

POST /WebInterface/api/v1/server/cache/clear #

Empty one cache: the key stores and SSH public keys held in memory (keys), the LDAP caches (ldap), or one connection item's OAuth token and key vault entries (connection).

  • Operation: server.cache.clear
  • Credentials: token or basic or session
  • Permission: server.cache.clear
  • Tier: 2
  • Legacy: clearCache, resetLdapCaches, clearItemCache
  • Token: by its grants
  • Read only: no

Request body (required): application/json

Field Type Required Description
cache string, one of keys, ldap, connection keys: the key stores and SSH public keys held in memory; ldap: the LDAP caches; connection: one connection item's cached tokens. Default keys.
oauth_client_id string connection: the item's OAuth client id.
oauth_refresh_token string connection: the item's refresh token, when the cache is keyed by it.
keyvault_profile string connection: the key vault profile the item names.
Example request body
{
  "cache": "keys"
}

Responses

Status Description Body
200 The result. object application/json
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
409 The object exists already, or its state does not allow this. Problem application/problem+json
422 A field fails its rule: errors lists every one. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
cache string
cleared integer
Example 200 response
{
  "cache": "keys"
}

POST /WebInterface/api/v1/server/stats/reset #

Set the server's counters back to zero: logins, transfers, bytes, or all of them.

  • Operation: server.stats.reset
  • Credentials: token or basic or session
  • Permission: server.stats.reset
  • Tier: 2
  • Legacy: adminAction:allStats, adminAction:loginStats, adminAction:uploadDownloadStats, adminAction:transferStats, adminAction:serverStats
  • Token: by its grants
  • Read only: no

Request body (required): application/json

Field Type Required Description
what string, one of all, logins, transfers, bytes Which counters: logins, transfers (upload and download counts), bytes (bytes in and out), or all. Default all.

Responses

Status Description Body
204 Done, with nothing to answer.
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
409 The object exists already, or its state does not allow this. Problem application/problem+json
422 A field fails its rule: errors lists every one. Problem application/problem+json
default Any other error. Problem application/problem+json

POST /WebInterface/api/v1/server/diagnostics/gc #

Ask the Java runtime to free memory now.

  • Operation: server.gc.run
  • Credentials: token or basic or session
  • Permission: server.jvm.gc
  • Tier: 2
  • Legacy: system.gc
  • Token: by its grants
  • Read only: no

Responses

Status Description Body
200 The result. object application/json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
409 The object exists already, or its state does not allow this. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
ram_used integer
ram_used_before integer
Example 200 response
{
  "ram_used_before": 86204536,
  "ram_used": 22822920
}

GET /WebInterface/api/v1/server/diagnostics/threads #

A dump of every thread of the server, as text.

  • Operation: server.threads.get
  • Credentials: token or basic or session
  • Permission: server.diagnostics.threads
  • Tier: 1
  • Legacy: dumpStack
  • Token: by its grants
  • Read only: yes

Responses

Status Description Body
200 The result. string text/plain
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

POST /WebInterface/api/v1/server/diagnostics/upload #

Send the vendor's support a debug bundle (thread dumps, the server's state, its recent log), or answer it as a zip (send false). The licence code is never in it.

  • Operation: server.debug.upload
  • Credentials: token or basic or session
  • Permission: server.diagnostics.upload
  • Tier: 1
  • Legacy: upload_debug_info
  • Token: by its grants
  • Read only: no

Parameters

Name In Type Required Description
dry_run query boolean Run every check, send nothing. Default false.

Request body (required): application/json

Field Type Required Description
send boolean Send the bundle to the vendor (true), or answer it as a zip (false). Default true.
threads integer How many thread dumps, three seconds apart: 1 to 30 to send (30), 1 to 3 to download (1).

Responses

Status Description Body
200 The result. string application/zip
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
409 The object exists already, or its state does not allow this. Problem application/problem+json
422 A field fails its rule: errors lists every one. Problem application/problem+json
default Any other error. Problem application/problem+json

PUT /WebInterface/api/v1/server/memory #

Set the memory of the server (read when it starts) and of the job engine (restarted at once), in MB.

  • Operation: server.memory.set
  • Credentials: token or basic or session
  • Permission: server.jvm.memory
  • Tier: 1
  • Legacy: setMaxServerMemory, setMaxJobMemory
  • Token: by its grants
  • Read only: no

Parameters

Name In Type Required Description
dry_run query boolean Run every check, change nothing. Default false.

Request body (required): application/json

Field Type Required Description
server_mb integer The server's maximum memory in MB, read when it starts.
jobs_mb integer The job engine's maximum memory in MB; the engine restarts at once.
Example request body
{
  "server_mb": 1024
}

Responses

Status Description Body
200 The result. object application/json
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
412 If-Match did not match: someone changed the object since it was read. Problem application/problem+json
422 A field fails its rule: errors lists every one. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
jobs_mb null
restart_needed boolean
server_mb integer
Example 200 response
{
  "server_mb": 1024,
  "jobs_mb": null,
  "restart_needed": true
}

PUT /WebInterface/api/v1/server/license #

Register the server with its licence: name, email and code. The code never comes back.

  • Operation: server.license.set
  • Credentials: token or basic or session
  • Permission: prefs.license.register
  • Tier: 1
  • Legacy: register
  • Token: by its grants
  • Read only: no

Request body (required): application/json

Field Type Required Description
name string yes The registration name.
email string yes The registration email.
code string yes The registration code.
Example request body
{
  "name": "Example Ltd",
  "email": "admin@example.com",
  "code": "\u003cyour registration code\u003e"
}

Responses

Status Description Body
200 The result. object application/json
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
412 If-Match did not match: someone changed the object since it was read. Problem application/problem+json
422 A field fails its rule: errors lists every one. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
email string
max_users integer
name string
registered boolean
Example 200 response
{
  "registered": true,
  "name": "Example Ltd",
  "email": "ADMIN@EXAMPLE.COM",
  "max_users": 32768
}

POST /WebInterface/api/v1/server/integrity-check #

Check the install against the signed manifest of the version it runs, with no network: the signature, every jar, the copies at the top, the starters and the web files; and list the jars at the top that are not signed.

  • Operation: server.integrity.check
  • Credentials: token or basic or session
  • Permission: server.integrity.check
  • Tier: 2
  • Legacy: validateAppMD5s
  • Token: by its grants
  • Read only: no

Responses

Status Description Body
200 The result. object application/json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
409 The object exists already, or its state does not allow this. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
allow_unsigned_plugins boolean
changed list of string
checked integer
dev_root boolean
how string
key string
ok boolean
problems list of string
root string
unsigned list of string
version string
web_checked integer
Example 200 response
{
  "how": "unchecked (started without CrushLauncher), version 27.0.0_319",
  "version": "27.0.0_319",
  "key": "crushci-2027a",
  "root": "crushftp-root-2027a",
  "dev_root": false,
  "checked": 22,
  "web_checked": 1595,
  "problems": [],
  "changed": [],
  "unsigned": [],
  "allow_unsigned_plugins": false,
  "ok": true
}

GET /WebInterface/api/v1/server/cloud-identity #

Which cloud the server runs in, and its machine identity there, from the cloud's metadata service.

  • Operation: server.cloud-identity.get
  • Credentials: token or basic or session
  • Permission: connections.cloud-identity.view
  • Tier: 2
  • Legacy: detectCloudVmIdentity
  • Token: by its grants
  • Read only: yes

Responses

Status Description Body
200 The result. object application/json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
detected boolean
identity null
Example 200 response
{
  "detected": true,
  "identity": null
}

GET /WebInterface/api/v1/server/roots #

The folders the server confines server files and user files to.

  • Operation: server.roots.list
  • Credentials: token or basic or session
  • Permission: server.files.roots
  • Tier: 2
  • Legacy: getServerRoots
  • Token: by its grants
  • Read only: yes

Responses

Status Description Body
200 The result. object application/json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
server_root string
user_root string
Example 200 response
{
  "server_root": "",
  "user_root": ""
}

GET /WebInterface/api/v1/server/files #

A folder of the server's own file system (area server) or of the users' (area user), for picking a path.

  • Operation: server.files.list
  • Credentials: token or basic or session
  • Permission: server.files.browse
  • Tier: 1
  • Legacy: getAdminXMLListing
  • Token: by its grants
  • Read only: yes

Parameters

Name In Type Required Description
path query string The folder. Default /.
area query string, one of server, user The server's files (server.root) or the users' (user.root). Default server.
limit query integer At most this many items, 1 to 1000. Default 100.
cursor query string The next_cursor of the page before.

Responses

Status Description Body
200 The result. object application/json
400 The request is not JSON, or a parameter is of the wrong kind. Problem application/problem+json
401 No credential, or one that did not log in. Problem application/problem+json
403 Logged in, and refused: detail says why, permission names what was missing. Problem application/problem+json
default Any other error. Problem application/problem+json

Fields of the 200 response

Field Type Required Description
area string
items list of vfs_item
next_cursor null
path string
Example 200 response
{
  "items": [
    {
      "name": "hello.txt",
      "path": "/var/opt/CrushMFT27/files/bob/hello.txt",
      "type": "file",
      "size": 15,
      "modified": 0
    }
  ],
  "next_cursor": null,
  "path": "/var/opt/CrushMFT27/files/bob/",
  "area": "server"
}

Schemas used here#

Problem #

An error (RFC 9457), as application/problem+json. code is stable and is what a program switches on; detail says it in words; request_id finds the request in the server log.

Code Status Meaning
bad_request 400 The request cannot be read: a broken path, an unknown or badly typed parameter, a body that is not a JSON object.
validation_failed 422 The body is well-formed, but one or more of its fields cannot be used. errors lists each field, the rule and a message.
unauthenticated 401 No credential, or one that did not log in.
forbidden 403 Logged in, and refused. detail carries the reason the access engine gave.
tier0 403 The operation is equal to full control of the server. No token may use it, and of the accounts only the Administrator role.
read_only_token 403 The token is read-only and the operation changes something.
legacy_account 403 The account holds legacy admin flags, which the API does not act on. Convert it to roles, or issue a token for it.
not_open_yet 403 The command behind the operation is not switched on for roles and tokens yet. An administrator's own login can use it.
dmz_not_allowed 403 The request came through a DMZ, and the API does not answer those unless api_from_dmz allows it.
edition_required 403 The operation needs an edition this server is not licensed for.
not_found 404 No such operation, no such object, or an object the caller's scope does not cover.
method_not_allowed 405 The path exists and the method does not. Allow lists the methods that do.
conflict 409 The object already exists, or is in a state that does not allow this.
precondition_failed 412 If-Match did not match: the object changed since it was read.
payload_too_large 413 The body is larger than api_max_body_kb.
unsupported_media_type 415 A body must be Content-Type: application/json.
rate_limited 429 Too many requests for this credential or address in this minute. Retry-After says when to try again.
internal_error 500 A fault in the server. The server log has the cause under the request id.
not_implemented 501 The operation is in the registry and is not built on this server yet.
unavailable 503 The server is starting or shutting down.
fips_restricted 409 The server runs in FIPS 140-3 mode (launched with -Dcrushmft.fips=true), and FIPS mode does not allow what was asked: the detail is the catalog row's reason and what to use instead, fips_id its id (CrushFTP design/61 section 5).
Field Type Required Description
type string
title string
code string, one of bad_request, validation_failed, unauthenticated, forbidden, tier0, read_only_token, legacy_account, not_open_yet, dmz_not_allowed, edition_required, not_found, method_not_allowed, conflict, precondition_failed, payload_too_large, unsupported_media_type, rate_limited, internal_error, not_implemented, unavailable, fips_restricted
detail string
operation string
permission string
request_id string
status integer

vfs_item #

Field Type Required Description
extra object Keys this table does not name yet, and values that did not fit their field's type, as the server holds them. A read followed by a write of the same object loses nothing.
modified string (date-time) or null
name string
path string The virtual folder the item is in
type string DIR or FILE
url string Where it points. A password inside the URL is masked