Skip to main content
PUT
Upload files

Authorizations

Authorization
string
header
required

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

Path Parameters

namespace
string
required

Namespace of the repository

repo_name
string
required

Name of the repository

resource
string
required

Path of the directory to add files in (including branch)

Body

multipart/form-data

Multipart form for uploading files. Use file for a single full-path upload, or files[] for uploading one or more files into a directory.

files
file[]
required
email
string | null
Example:

"bessie@oxen.ai"

file
file | null
deprecated

Deprecated: use files[] instead.

message
string | null
Example:

"Adding a new image to the training set"

name
string | null
Example:

"bessie"

Response

Files committed successfully

status
string
required
status_message
string
required
commit
object
required
Example:
oxen_version
string | null