List namespaces
Lists the store’s namespaces in object-key order (namespace ID order, except that an ID sorts after the longer IDs that extend it with - or .), and returns for each one the object that GET /v0/namespaces/{namespace_id} returns. The list leaves out deleted namespaces and namespaces whose creation hasn’t finished, so a page can have fewer namespaces than limit, even none, and still include next_cursor. Without limit, a page lists up to 100 namespaces.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”The maximum number of namespace IDs the page lists from the store.
The opaque cursor that the previous page returned.
Responses
Section titled “ Responses ”Namespaces
One page of the namespaces in a store.
object
The namespaces, in object-key order, which is namespace ID order except that an ID sorts after the longer IDs that extend it with - or .. Deleted namespaces and namespaces whose creation hasn’t finished are left out, so a page can have fewer namespaces than its limit, even none, and still have a next_cursor.
The current state of one namespace.
object
The time the namespace was created, in Unix milliseconds.
The actor that created the namespace, as the application supplied it.
Example
usr_8f3cThe namespace and sequence this namespace was forked from. Only a forked namespace has this field.
object
The source namespace’s sequence that the fork captured.
The fork point snapshot, which keeps this namespace’s state at fork_point_seq readable. That state is the source’s state at the fork point. A read of this namespace accepts the ID as snapshot_id.
Example
snp_0000000000000tfy68ekkbj6bxThe fork whose unmerged commits a rebase replays into this namespace. Only a namespace that a rebase created has this field.
object
The fork sequence that the fork’s next merge would have started after when the rebase created the namespace. The namespace’s first replay commit starts after it.
The fork whose commits the namespace’s replay commits apply.
Example
demoThe namespace that the fork was taken from.
Example
demoThe sequence of the namespace’s newest visible commit.
The namespace ID.
Example
demoThe pool that stores the namespace’s content objects and upload records. A fork has the same pool as its source.
Example
pool_3s0drmj8em84yb4mnetqkz2j0xThe 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.
The namespace’s retention window, in milliseconds. Only a namespace with a window has this field. An advance under the namespace’s window, such as the reference server’s maintenance round sends, doesn’t move the floor of a namespace without a window.
An opaque cursor for the next page.
Headers
Section titled “Headers ”Unique request identifier echoed in error envelopes and server logs
Invalid limit or cursor
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