GET
/
api
/
repos
/
{namespace}
/
{repo_name}
/
file
/
{resource}
curl --request GET \
  --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/file/{resource} \
  --header 'Authorization: Bearer <token>'
""

Authorizations

Authorization
string
header
required

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

Path Parameters

namespace
string
required

(Required)

repo_name
string
required
resource
string
required

(Required) A combination of branch or commit ID plus a path

Response

200 - text/plain
OK

The response is of type file.