Skip to main content
POST
Copy a committed file to a new path within the 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

path
string
required

The path of the committed file to copy

Body

application/json

The path for the copy

new_path
string
required
Example:

"path/to/new_file.txt"

Response

Copy staged

status
string
required
status_message
string
required
oxen_version
string | null