From f782764ba5ece26cffa7a101517e9734864bfedc Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Fri, 3 Apr 2015 17:10:57 -0400 Subject: [PATCH] trigger: add commit_sha to json schema --- endpoints/api/trigger.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/endpoints/api/trigger.py b/endpoints/api/trigger.py index 8df544ea2..9b0b1de64 100644 --- a/endpoints/api/trigger.py +++ b/endpoints/api/trigger.py @@ -392,6 +392,10 @@ class ActivateBuildTrigger(RepositoryParamResource): 'branch_name': { 'type': 'string', 'description': '(GitHub Only) If specified, the name of the GitHub branch to build.' + }, + 'commit_sha': { + 'type': 'string', + 'description': '(Custom Only) If specified, the ref/SHA1 used to checkout a git repository.' } } }