cURL
curl --request PUT \ --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/workspaces/{workspace_id}/data_frames/resource/{path} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "is_indexed": true }'
{ "oxen_version": "0.23.1", "status": "success", "status_message": "resource_updated" }
Index Data Frame for Querying
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"{{repo_namespace}}"
"{{repo_name}}"
"{{workspace_id}}"
"fake_branch/fake_file.ex"
OK
The response is of type object.
object