Skip to main content
POST
/
{org}
/
{repo}
/
lfs
/
objects
Upload LFS objects
curl --request POST \
  --url https://depot.mesa.dev/api/v1/{org}/{repo}/lfs/objects \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "objects": [
    {
      "oid": "<string>",
      "size": 4503599627370495
    }
  ]
}
'
{
  "objects": [
    {
      "oid": "<string>",
      "size": 123,
      "exists": true,
      "upload_url": "<string>",
      "download_url": "<string>",
      "expires_in": 123,
      "error": {
        "code": "<string>",
        "message": "<string>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

org
string
required
Minimum string length: 1
repo
string
required
Minimum string length: 1

Body

application/json
objects
object[]
required
Required array length: 1 - 100 elements

Response

Upload URLs generated

objects
object[]
required