Sync upstream
Repo
Sync upstream
Enqueue a sync for the repository upstream. Returns the sync, which the worker processes asynchronously. Read repo.upstream.latest_sync, fetch GET /:repo/upstream/syncs/:syncId, or list GET /:repo/upstream/syncs for status.
POST
Sync upstream
Required scope:
writeAuthorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Organization slug
Minimum string length:
1Repository name
Minimum string length:
1Body
application/json
Response
Sync enqueued
Available options:
pull, push Available options:
queued, in_progress, completed, failed 
