Skip to main content
GET
/
{org}
/
{repo}
/
sync
Get sync status
curl --request GET \
  --url https://depot.mesa.dev/api/v1/{org}/{repo}/sync \
  --header 'Authorization: Bearer <token>'
{
  "last_sync_attempt": "2023-11-07T05:31:56Z",
  "last_sync_success": "2023-11-07T05:31:56Z",
  "status": {
    "type": "<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

Response

Sync status

last_sync_attempt
string<date-time> | null
required

Timestamp of the last sync attempt

last_sync_success
string<date-time> | null
required

Timestamp of the last successful sync

status
object
required

What the status of the last sync was.