How to Queue / Dequeue via API
You can use a set of Aviator APIs and webhooks to build custom workflows. Get instructions on how to queue / dequeue via API in our manual guide.
curl -X POST \
-H "Authorization: Bearer <aviator_token>" \
-H "Content-Type: application/json" \
-d '{"action": "queue",
"pull_request": {
"number": 1234,
"repository": {"name": "repo_name", "org": "org_name"},
"head_commit_sha":" "69f4404fda48aa2932abfbcb6956a9ccd473b17d",
"merge_commit_message": {
"title": "This is where title goes",
"body": "This is where body goes"
}
}
}’ \
https://api.aviator.co/api/v1/pull_request/Last updated
Was this helpful?
