Get capabilities
Returns a summary of supported features and limits.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Capability document
The API groups, features, and limits that a deployment advertises.
object
The advertised API groups, as group/version. The deployment implements every required operation in each group.
Named features and whether this deployment supports them. An absent key means unsupported. Known keys are listed below; deployments may advertise additional keys. The response example is illustrative, not a guarantee of support.
object
Create namespaces.
Fork namespaces.
Permanently delete and retire namespaces.
Create, list, extend, delete, and read snapshots with optional expiry.
Send small file contents directly in a commit.
Upload an object through one presigned request.
Upload an object through presigned multipart requests.
Download an object through a presigned request.
Search file contents with grep.
Advisory numeric limits clients may use to pre-validate requests. Known keys are listed below; deployments may advertise additional keys. Values vary by deployment: use the returned values rather than assuming the illustrative response example is universal.
object
Largest service-proxied upload body, in bytes.
Largest object accepted through one presigned direct_put request, in bytes. Provider-dependent; advertised only when known.
Largest upload-completion JSON body, in bytes.
Largest service-proxied content read, in bytes.
Maximum concurrent proxied uploads.
Maximum concurrent proxied content reads.
Maximum filesystem operations per commit.
Maximum request-level preconditions per commit.
Maximum decoded bytes per inline file value.
Maximum content-preparation tokens per commit.
Maximum distinct external content references per commit.
Maximum commit message size in UTF-8 bytes.
Maximum principal IDs in one request’s subject context.
Retention window, in milliseconds, of a namespace created without one. Advertised when the deployment gives such a namespace a window.
Page size used when a standard paged request omits limit.
Maximum standard page size.
Grep match limit when omitted. Advertised when grep is supported.
Maximum grep match limit. Advertised when grep is supported.
Maximum files scanned by a plan-less allow_scan query. Advertised when grep is supported.
Maximum unindexed revisions scanned before reporting index lag. Advertised when grep is supported.
The protocol version, v0.
Example
{ "protocol_version": "v0", "api_groups": [ "filesystem/v0", "query/v0" ], "features": { "filesystem.namespaces.create": true, "filesystem.namespaces.fork": true, "filesystem.namespaces.delete": true, "filesystem.snapshots": true, "filesystem.commits.inline_content": true, "filesystem.uploads.direct_put": true, "filesystem.uploads.direct_multipart": true, "filesystem.downloads.direct_get": true, "query.grep": true }, "limits": { "upload.service_proxied.max_content_bytes": 268435456, "upload.direct_put.max_content_bytes": 5368709120, "upload.complete.max_request_body_bytes": 8388608, "download.service_proxied.max_content_bytes": 268435456, "upload.service_proxied.max_concurrent_requests": 8, "download.service_proxied.max_concurrent_requests": 16, "commit.max_operations": 4096, "commit.max_preconditions": 1024, "commit.max_inline_content_bytes_per_operation": 65536, "commit.max_content_tokens": 4096, "commit.max_external_content_refs": 4096, "commit.max_message_bytes": 4096, "access.max_principals_per_request": 64, "namespace.default_retention_window_ms": 2592000000, "pagination.default_limit": 1000, "pagination.max_limit": 1000, "query.grep.default_limit": 1000, "query.grep.max_limit": 1000, "query.grep.scan_budget_files": 4096, "query.grep.tail_budget_files": 512 }}Headers
Section titled “Headers ”Unique request identifier echoed in error envelopes and server logs
Unknown query parameter
The JSON body that LoonFS APIs return with an HTTP error status.
object
The stable, machine-readable error code.
Optional machine-readable context for the error code.
object
The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.
The namespace’s current writer epoch.
The writer of the current epoch. It’s present in every writer_fenced error.
The access revision that is actually current for the inode.
The fork sequence that the merge started after.
The attribute revision that is actually current for the inode.
The current binding token.
The deletion sequence that is actually active for the inode.
The namespace’s actual head sequence.
The inode that the path actually contained.
Example
ino_000000r0000013kje0d47gc8kwThe revision that is actually current. It’s absent when the inode has no current revision.
The after_seq value from the change feed request.
Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.
The idempotency key of the commit that the error is about.
Example
cmt_7kn71d9dq885x91hejz3gvf9p0The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.
The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.
The first inode whose change a refused merge can’t apply.
object
The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The inode. It has the same ID in the fork and in the namespace being merged into.
Example
ino_000000r0000013kje0d47gc8kwWhich check failed.
The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The number of inodes whose change a refused merge can’t apply.
The access revision that the request expected to be current.
The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.
The attribute revision that the request expected to be current.
The opaque binding token that the request supplied.
The deletion sequence that the restore expected to be active.
The head sequence that the request required.
The inode that the request expected the path to contain.
Example
ino_000000r0000013kje0d47gc8kwThe revision that the request expected to be current.
The epoch of the failed writer session at the time another writer displaced it.
The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.
The from_seq value from the diff request.
The inode that the failed precondition or operation targeted.
Example
ino_000000r0000013kje0d47gc8kwThe bound that a merge’s size exceeded.
The deleted namespace that caused the operation to fail.
Example
demoThe index of the failed operation in the request.
The zero-based position of the failed request precondition.
The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.
For range_not_satisfiable, the size in bytes of the file that the range was requested from.
The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.
The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.
Example
demoThe split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.
The capability feature that isn’t supported, when the code is not_supported.
A human-readable description of the error.
The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.
The request ID. The server also sends this ID in the x-request-id response header.
Headers
Section titled “Headers ”Unique request identifier echoed in error envelopes and server logs
Unauthorized
The JSON body that LoonFS APIs return with an HTTP error status.
object
The stable, machine-readable error code.
Optional machine-readable context for the error code.
object
The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.
The namespace’s current writer epoch.
The writer of the current epoch. It’s present in every writer_fenced error.
The access revision that is actually current for the inode.
The fork sequence that the merge started after.
The attribute revision that is actually current for the inode.
The current binding token.
The deletion sequence that is actually active for the inode.
The namespace’s actual head sequence.
The inode that the path actually contained.
Example
ino_000000r0000013kje0d47gc8kwThe revision that is actually current. It’s absent when the inode has no current revision.
The after_seq value from the change feed request.
Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.
The idempotency key of the commit that the error is about.
Example
cmt_7kn71d9dq885x91hejz3gvf9p0The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.
The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.
The first inode whose change a refused merge can’t apply.
object
The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The inode. It has the same ID in the fork and in the namespace being merged into.
Example
ino_000000r0000013kje0d47gc8kwWhich check failed.
The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The number of inodes whose change a refused merge can’t apply.
The access revision that the request expected to be current.
The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.
The attribute revision that the request expected to be current.
The opaque binding token that the request supplied.
The deletion sequence that the restore expected to be active.
The head sequence that the request required.
The inode that the request expected the path to contain.
Example
ino_000000r0000013kje0d47gc8kwThe revision that the request expected to be current.
The epoch of the failed writer session at the time another writer displaced it.
The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.
The from_seq value from the diff request.
The inode that the failed precondition or operation targeted.
Example
ino_000000r0000013kje0d47gc8kwThe bound that a merge’s size exceeded.
The deleted namespace that caused the operation to fail.
Example
demoThe index of the failed operation in the request.
The zero-based position of the failed request precondition.
The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.
For range_not_satisfiable, the size in bytes of the file that the range was requested from.
The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.
The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.
Example
demoThe split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.
The capability feature that isn’t supported, when the code is not_supported.
A human-readable description of the error.
The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.
The request ID. The server also sends this ID in the x-request-id response header.
Headers
Section titled “Headers ”Unique request identifier echoed in error envelopes and server logs
The server can’t complete the request now. Check code to find whether the outcome is unknown (after a deadline or a lost acknowledgment), or the cause is shutdown, load, writer session admission, store contention, required maintenance, or invalid storage credentials. When its request cap is full, the reference server returns server_busy with Retry-After: 1 before it reads the body. Health and readiness probes are exempt from the cap. A mutation might still complete after a deadline or a lost acknowledgment, so check its outcome before retrying.
The JSON body that LoonFS APIs return with an HTTP error status.
object
The stable, machine-readable error code.
Optional machine-readable context for the error code.
object
The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.
The namespace’s current writer epoch.
The writer of the current epoch. It’s present in every writer_fenced error.
The access revision that is actually current for the inode.
The fork sequence that the merge started after.
The attribute revision that is actually current for the inode.
The current binding token.
The deletion sequence that is actually active for the inode.
The namespace’s actual head sequence.
The inode that the path actually contained.
Example
ino_000000r0000013kje0d47gc8kwThe revision that is actually current. It’s absent when the inode has no current revision.
The after_seq value from the change feed request.
Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.
The idempotency key of the commit that the error is about.
Example
cmt_7kn71d9dq885x91hejz3gvf9p0The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.
The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.
The first inode whose change a refused merge can’t apply.
object
The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The inode. It has the same ID in the fork and in the namespace being merged into.
Example
ino_000000r0000013kje0d47gc8kwWhich check failed.
The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The number of inodes whose change a refused merge can’t apply.
The access revision that the request expected to be current.
The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.
The attribute revision that the request expected to be current.
The opaque binding token that the request supplied.
The deletion sequence that the restore expected to be active.
The head sequence that the request required.
The inode that the request expected the path to contain.
Example
ino_000000r0000013kje0d47gc8kwThe revision that the request expected to be current.
The epoch of the failed writer session at the time another writer displaced it.
The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.
The from_seq value from the diff request.
The inode that the failed precondition or operation targeted.
Example
ino_000000r0000013kje0d47gc8kwThe bound that a merge’s size exceeded.
The deleted namespace that caused the operation to fail.
Example
demoThe index of the failed operation in the request.
The zero-based position of the failed request precondition.
The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.
For range_not_satisfiable, the size in bytes of the file that the range was requested from.
The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.
The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.
Example
demoThe split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.
The capability feature that isn’t supported, when the code is not_supported.
A human-readable description of the error.
The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.
The request ID. The server also sends this ID in the x-request-id response header.
Headers
Section titled “Headers ”Seconds to wait before retrying when code is commit_queue_full, server_busy, or shutting_down.
Unique request identifier echoed in error envelopes and server logs