Skip to main content
POST
Stage files to workspace

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

namespace
string
required

The namespace of the repository

repo_name
string
required

The name of the repository

workspace_id
string
required

The UUID of the workspace

directory
string
required

The directory to stage the files into

Body

application/json

List of files and their pre-calculated hashes (must exist in version store).

hash
string
required
path
string
required

Response

Files staged successfully

status
string
required
status_message
string
required
oxen_version
string | null
err_files
object[]