PUT
/
api
/
repos
/
{namespace}
/
{repo_name}
/
workspaces
/
{workspace_id}
/
data_frames
/
resource
/
{path}
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"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

namespace
string
required
Example:

"{{repo_namespace}}"

repo_name
string
required
Example:

"{{repo_name}}"

workspace_id
string
required
Example:

"{{workspace_id}}"

path
string
required
Example:

"fake_branch/fake_file.ex"

Body

application/json
is_indexed
boolean
Example:

true

Response

200 - application/json
OK
oxen_version
string
Example:

"0.23.1"

status
string
Example:

"success"

status_message
string
Example:

"resource_updated"