cURL
curl --request POST \ --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/fork \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '"{\n \"namespace\": \"5b1d2e0f-6e7b-4ce6-8009-e11e9475026d\",\n \"new_repo_name\": \"my_name\" // optional\n}"'
Fork repo
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"ox"
"0ac8da37-dd47-4404-a096-07f797291a19"
The body is of type any.
any