curl --request GET \
--url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/metadata/{resource} \
--header 'Authorization: Bearer <token>'{
"status": "<string>",
"status_message": "<string>",
"entry": {
"data_type": "dir",
"extension": "<string>",
"filename": "<string>",
"hash": "<string>",
"is_dir": true,
"mime_type": "<string>",
"size": 1,
"is_queryable": true,
"latest_commit": "<unknown>",
"metadata": "<unknown>",
"resource": "<unknown>"
},
"oxen_version": "<string>"
}curl --request GET \
--url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/metadata/{resource} \
--header 'Authorization: Bearer <token>'{
"status": "<string>",
"status_message": "<string>",
"entry": {
"data_type": "dir",
"extension": "<string>",
"filename": "<string>",
"hash": "<string>",
"is_dir": true,
"mime_type": "<string>",
"size": 1,
"is_queryable": true,
"latest_commit": "<unknown>",
"metadata": "<unknown>",
"resource": "<unknown>"
},
"oxen_version": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Namespace of the repository
Name of the repository
Path to the file/dir (including branch/commit info)