Ask or search…
K
Links
Comment on page

JSON API

Repository

post
https://api.aviator.co/api/v1
/repo
Pause / unpause the merging of PRs on a repository.

get
https://api.aviator.co/api/v1
/repo
Fetch the list of repositories along with their pause and active status.

Branches

post
https://api.aviator.co/api/v1
/branches
Pause / unpause the merging of PRs for specific base branches.
get
https://api.aviator.co/api/v1
/branches
Get base branches and their statuses (paused / unpaused)

PullRequest

post
https://api.aviator.co/api/v1
/pull_request
Queue or Dequeue a Pull Request
post
https://api.aviator.co/api/v1
/pull_request/backport
Request to backport a PR on the specified target branch.
get
https://api.aviator.co/api/v1
/pull_request
Fetch information of a PR based on the branch name or number
get
https://api.aviator.co/api/v1/
pull_request/queued
Fetch information of PRs that are in the queued state

BotPullRequest

get
https://api.aviator.co/api/v1
/bot_pull_request
Fetch information of PRs associated with a provided Bot PullRequest

Config

get
https://api.aviator.co/api/v1
/config
Fetch the current YAML config associated with the given GitHub repository.
post
https://api.aviator.co/api/v1
/config
Change the YAML config associated with the given GitHub repository.

Config Change

get
https://api.aviator.co/api/v1
/config/history
Fetch the history of config changes associated with a given repository.
The modified_by property contains email and gh_username. If the config was modified from the Dashboard, email of the user would be present, and if the config was modified from the GitHub repo change, a gh_username would be present. commit_sha property may also be only present if the change was made from the GitHub repository.

Analytics

get
https://api.aviator.co/api
/v1/analytics
Get list of analytics objects representing statistics on a daily basis.

Queue

get
https://api.aviator.co/api
/v1/queue/stats
Get live statistics about the state of the merge queue
Last modified 12d ago