Delete snapshot
Deletes a snapshot by recording the server’s current time as its delete time. From then on, the snapshot can’t be read, forked, extended, or retrieved, and the snapshot listing leaves it out. Garbage collection can then reclaim its unreferenced manifest and runs after the grace window. Deleting a missing or deleted snapshot succeeds without a write, so repeating the request has the same result. The ID of a fork snapshot returns snapshot_not_found. Deletion stays available after the namespace is deleted, except to a request with principals, which returns namespace_deleted.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The durable ID of one namespace. Each namespace ID refers to one namespace lifetime, and it isn’t a display name. Its serialized form is 1 to 128 lowercase ASCII letters, digits, dots, underscores, or hyphens, and it starts with a letter or digit. The loonfs- prefix is reserved for system use.
Example
demoThe namespace ID.
The durable ID of one snapshot.
A snapshot ID uses the spelling of every generated ID: snp_ and the 26-character body. The high 64 bits of the body’s 128 bits are the number of the manifest that the snapshot keeps, and the low 64 bits are random.
Example
snp_0000000000000tfy68ekkbj6bxThe snapshot ID.
Header Parameters
Section titled “Header Parameters ”Send service for a trusted application request using the deployment token’s full authority, or send Loonfs-Principals for a user request. Exactly one is required; never send both. Service context bypasses per-user permission checks.
Example
serviceComma-separated opaque principal IDs, without spaces, whose combined grants authorize this request. Send this header or Loonfs-Context: service; exactly one is required. The application authenticates users and supplies their principals.
Example
user_123,team_designResponses
Section titled “ Responses ”Snapshot deleted, or already absent
The snapshot record that was deleted.
object
The namespace that the snapshot belonged to.
Example
demoThe ID of the deleted snapshot record.
Example
snp_0000000000000tfy68ekkbj6bxHeaders
Section titled “Headers ”Unique request identifier echoed in error envelopes and server logs
Invalid namespace or snapshot ID
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
Forbidden
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
Namespace not found, or the ID belongs to a fork snapshot
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
Namespace deleted, returned only to a request with principals
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