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)

Example:

"ox"

repo_name
string
required
Example:

"test-repo"

resource
string
required

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

Example:

"{{last_branch_name}}/README.md"

Response

200 - text/plain
OK

The response is of type file.