Abort upload
Aborts an open upload session and deletes the object that the session was writing. Repeating the request succeeds, but a completed session can’t be aborted. An abort still runs after the namespace is deleted, and returns namespace_deleted once the namespace is retired.
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 upload session.
Example
upl_2dhwp939xk9r7srv8t5cz5yw4cThe upload session ID.
Header Parameters
Section titled “Header Parameters ”A stable, opaque actor ID of 1 to 256 visible ASCII characters.
Example
usr_8f3cStable opaque actor ID supplied by the application. Keep this value unchanged when retrying a commit; it is attribution, not authentication.
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 ”Upload aborted
A session that accepts content until its lease ends.
object
The checksum algorithm that the store uses for content.
The staged content. It’s present after content is staged in a service_proxied session.
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 time after which cleanup can abort the session, in Unix milliseconds.
The transport that was selected when the session began.
The namespace that the session belongs to.
Example
demoThe size of every part except the last, in bytes. It’s present for direct_multipart sessions.
Whether the upload session is open, completed, or aborted.
A short-lived URL, with the headers that one object store read or write requires.
object
The time the URL expires, in Unix milliseconds.
The headers that the signature covers, which the client must send.
object
The HTTP method that the client must use.
The full presigned URL.
The upload session ID.
Example
upl_2dhwp939xk9r7srv8t5cz5yw4cA session that ended with durable, verified content.
object
The time the session completed, in Unix milliseconds.
The verified content that the session completed with.
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.
A new content token, which a later commit can use to reference the content. It’s absent after the window for issuing tokens closes.
object
The content that this token authorizes.
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 opaque token that the server signed. Clients must not parse it.
The transport that was selected when the session began.
The namespace that the session belongs to.
Example
demoWhether the upload session is open, completed, or aborted.
The upload session ID.
Example
upl_2dhwp939xk9r7srv8t5cz5yw4cA session that was aborted before it completed. Its object no longer exists.
object
The time the session was aborted, in Unix milliseconds.
The transport that was selected when the session began.
The namespace that the session belongs to.
Example
demoWhether the upload session is open, completed, or aborted.
The upload session ID.
Example
upl_2dhwp939xk9r7srv8t5cz5yw4cHeaders
Section titled “Headers ”Unique request identifier echoed in error envelopes and server logs
Invalid upload 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
Namespace or upload not found
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
Upload already completed
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 retired
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