cURL
curl --request POST \ --url https://hub.oxen.ai/{namespace}/{repo_name}/workspaces/{workspace_id}/files/restore \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' [ "images/train/revert_me.jpg", "data/config.json" ] '
{ "status": "<string>", "status_message": "<string>", "oxen_version": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The namespace of the repository
The name of the repository
The UUID of the workspace
List of paths to restore/unstage from the workspace staging area
Files restored from staging