Expand description
Request and response shapes for the v0 HTTP API.
Structs§
- Advance
Retention Request - An option-free request that selects retention-floor advancement.
- Advance
Retention Response - Result of advancing the retention floor.
- ApiError
- HTTP error body used by LoonFS APIs.
- Attributes
Projection - The optional attributes returned for one inode.
- Checkpoint
- One checkpoint resource described by its durable record.
- Commit
- One committed logical commit: its identity and the events it applied.
- Commit
Request - A request to commit one or more filesystem operations atomically in order.
- Complete
Multipart Upload Request - Information required to complete a
direct_multipartupload. - Completed
Upload Part - One uploaded part accepted by the object-store provider.
- Content
Token - Proof that a specific
content_refmay be used in a later commit. - Create
Checkpoint Request - Request to create a durable checkpoint pin.
- Create
Download ByInode Response - A short-lived capability to read one inode revision.
- Create
Download Request - The path to download and, optionally, the revision to download.
- Create
Download Response - A presigned URL for one content object.
- Create
Namespace Request - Request to create a namespace.
- Create
Snapshot Request - Request to create a snapshot.
- Delete
Checkpoint Response - Identifies the checkpoint record that was deleted.
- Delete
Namespace Response - Result of deleting a namespace.
- Delete
Snapshot Response - Identifies the snapshot record that was deleted.
- Deleted
Checkpoints ByOwner - Checkpoint record counts deleted by one garbage-collection pass, grouped by owner.
- Deleted
Object Counts - Object counts deleted by one garbage-collection pass, grouped by family.
- Destination
Precondition - Requirements for replacing a move or copy destination.
- Directory
Binding - A directory entry’s parent and name.
- Error
Details - Optional machine-readable identifiers and state for an
ApiError. - Expected
File State - Validated file state required before replacement.
- Extend
Snapshot Request - Request to extend a read snapshot.
- File
Bytes - File bytes plus the metadata entry they came from.
- File
Revision - One immutable file revision.
- Flush
WalResponse - The current manifest state after one WAL flush.
- Fork
Namespace Request - Request to fork a namespace.
- GcRequest
- Optional overrides for one garbage-collection pass.
- GcResponse
- The result of one stateless garbage-collection call.
- Grep
GcRequest - One explicit grep index garbage-collection pass (maintenance API group).
- Grep
GcResponse - Result of one explicit grep index garbage-collection pass (maintenance API group).
- Grep
Index - The maintenance status of a namespace’s grep index.
- Grep
Match - One line-oriented match.
- Grep
Request - One content-search request.
- Grep
Response - One content-search page.
- List
Changes Response - Change-feed response after a cursor.
- List
Checkpoints Response - One page of active checkpoint records.
- List
File Revisions Response - Response for listing file revisions.
- List
Inode Children Response - One directory listing addressed by parent inode and the namespace head used to read it.
- List
Path Entries Response - One directory listing and the namespace head used to read it.
- List
Snapshots Response - One page of live read snapshots.
- List
Trash Response - One trash listing page: the namespace’s recoverable deletions.
- Metadata
Compaction Request - An option-free request that selects one full metadata compaction.
- Metadata
Compaction Response - What one metadata compaction run did.
- Metadata
Maintenance Request - Overrides for the metadata-upkeep action.
- Metadata
Maintenance Response - What one metadata-upkeep action did, part by part.
- Namespace
- Current state for one namespace.
- Namespace
Diagnostics - Namespace state and storage details used by maintenance.
- Namespace
Fork Basis - The source a forked namespace started from.
- Path
Entry - Metadata for one path returned by stat and directory listings.
- Recover
Administrator Request - Grants
adminon the root row to one principal, keeping every other root grant, through a commit that checks no subject. - Recover
Administrator Response - The committed administrator recovery.
- Retained
Candidates - The candidates inspected but not deleted by one garbage-collection pass.
- Sign
Upload Parts Request - Request for part-upload capabilities on an open multipart session.
- Sign
Upload Parts Response - Response carrying one capability per requested part.
- Signed
Upload Part - One authorized part upload.
- Snapshot
Summary - A live snapshot.
- Store
Probe Check Result - One named contract check and what the store did with it.
- Store
Probe Request - An empty request for one store contract probe.
- Store
Probe Response - The ordered results from one store contract probe.
- Trash
Entry - One recoverable deletion and its removed directory binding.
- Upload
Content Claim - The size and checksum reported for a complete direct-upload payload.
- Upload
Part Checksum Claim - One upload part number and its checksum.
- Upload
Session - Current view of one upload session.
Enums§
- Checkpoint
Owner Summary - The owner of a checkpoint record.
- Commit
Precondition - Admission conditions checked against the candidate’s pre-state before its operations. The pre-state head sequence is the last admitted commit’s sequence in the batch, or the batch’s base head sequence when no earlier candidate was admitted.
- Complete
Upload Body - Completes an upload using the mode that started it.
- Create
Upload Body - Selects the transport for a new upload session.
- Delete
Directory Behavior - Directory delete behavior for path-oriented deletes.
- Destination
Behavior - Destination-conflict behavior for path-oriented puts, moves, and copies.
- Destination
Precondition Error - Why a destination precondition is not a valid request.
- Filesystem
Change - One filesystem change within a commit.
- Filesystem
Operation - One filesystem operation.
- Flush
WalOutcome - How one WAL flush satisfied its goal.
- Grep
Index Lifecycle - The grep index lifecycle for a namespace.
- Metadata
Compaction Outcome - The outcome of one metadata compaction run.
- Namespace
Access Mode - A namespace’s access mode as reported, without its genesis grants.
- Object
Transfer Access - Client-facing direct transfer capability.
- Path
Entry Kind - Kind-specific metadata for a path entry.
- Precondition
Fields - Field-name family used when validating replacement preconditions.
- Reorganize
Step Outcome - The outcome of the metadata-reorganization part of a maintenance pass.
- Retained
Reason - The reason one candidate was retained and the corresponding
RetainedCandidatesfield. - RunMaintenance
Request - One maintenance job for one namespace.
- RunMaintenance
Response - The result of one maintenance job. The
kindmatches the request. - Store
Probe Check Outcome - What one contract check concluded about the store.
- Upload
Mode - Upload transport mode.
- Upload
Session Status - The current state of an upload session.
- WalFlush
Step Outcome - What the WAL-flush part of a maintenance pass did.
Functions§
- validate_
access_ precondition - Rejects an access revision precondition without an inode precondition.
- validate_
attributes_ precondition - Rejects an attribute revision precondition without an inode precondition.