Skip to content

List changes after a sequence

GET
/v0/namespaces/{namespace}/changes

Returns committed changes from the write-ahead log. Callers can use this feed to keep another projection synchronized with WAL history.

namespace
required
string

Namespace id

after_seq
required
integer format: int64

Return committed changes after this sequence

limit
string

Maximum page size

Committed changes

Change-feed response after a cursor.

object
after_seq
required

Exclusive cursor supplied by the caller, or the endpoint’s initial position.

integer format: int64
changes
required

Logical commits after after_seq, ordered by ascending namespace sequence.

Array<object>

One committed change in namespace order.

object
commit_id
required

Client idempotency key for this logical commit.

string
committed_at_ms
required

Wall-clock stamp of the commit, in Unix milliseconds. Observational: seq is the order.

integer format: int64
events
required

Semantic filesystem events, one per committed operation, in request-operation order.

Array
One of:
FilesystemChangeCreated

A file or directory was created.

object
content_ref
One of:
null
inode_id
required

Newly allocated namespace-scoped inode identity.

integer format: int64
inode_kind
required

File-or-directory classification fixed at creation.

string
Allowed values: file dir
kind
required
string
Allowed values: created
name
required

User-facing spelling of the new entry.

string
parent_inode_id
required

Directory the new entry was bound under.

integer format: int64
revision_no
One of:
null
message

Caller annotation, omitted when absent and carrying no filesystem semantics.

string | null
seq
required

Namespace sequence for this logical commit.

integer format: int64
namespace_id
required

Namespace whose ordered commit stream was read.

string
next_after_seq
One of:
null
through_seq
required

Snapshot head through which this page was evaluated.

integer format: int64

Invalid change cursor or limit

HTTP error body used by LoonFS APIs.

object
code
required

Stable machine-readable reason from the ErrorCode registry.

Carried as a string so clients keep working when a newer server introduces a code they do not know; use ErrorCode::parse for typed access.

string
details
One of:
null
feature

For not_supported errors, the capability-document feature key the client should reconcile against.

string | null
message
required

Human-readable error message.

string
request_id

Correlation id the server assigned to the failed request; the same value is sent as the x-request-id response header.

string | null

Unauthorized

HTTP error body used by LoonFS APIs.

object
code
required

Stable machine-readable reason from the ErrorCode registry.

Carried as a string so clients keep working when a newer server introduces a code they do not know; use ErrorCode::parse for typed access.

string
details
One of:
null
feature

For not_supported errors, the capability-document feature key the client should reconcile against.

string | null
message
required

Human-readable error message.

string
request_id

Correlation id the server assigned to the failed request; the same value is sent as the x-request-id response header.

string | null

Namespace not found

HTTP error body used by LoonFS APIs.

object
code
required

Stable machine-readable reason from the ErrorCode registry.

Carried as a string so clients keep working when a newer server introduces a code they do not know; use ErrorCode::parse for typed access.

string
details
One of:
null
feature

For not_supported errors, the capability-document feature key the client should reconcile against.

string | null
message
required

Human-readable error message.

string
request_id

Correlation id the server assigned to the failed request; the same value is sent as the x-request-id response header.

string | null

Namespace deleted

HTTP error body used by LoonFS APIs.

object
code
required

Stable machine-readable reason from the ErrorCode registry.

Carried as a string so clients keep working when a newer server introduces a code they do not know; use ErrorCode::parse for typed access.

string
details
One of:
null
feature

For not_supported errors, the capability-document feature key the client should reconcile against.

string | null
message
required

Human-readable error message.

string
request_id

Correlation id the server assigned to the failed request; the same value is sent as the x-request-id response header.

string | null