:

How to get a branch name of the commit in VSTS Rest API?

I'm trying to summit a build definition based on the branch of the commit. However, I cannot find anywhere related to branch information or reference information from the commit info API.
My request looks like this
https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_apis/git/repositories/278d5cd2-584d-4b63-824a-2ba458937249/commits/be67f8871a4d2c75f13a51c1d3c30ac0d74d4ef4?api-version=1.0

Response is exactly same as reference:
{
"parents": [],
  "treeId": "7fa1a3523ffef51c525ea476bffff7d648b8cb3d",
  "push": {
    "pushedBy": {
      "id": "8c8c7d32-6b1b-47f4-b2e9-30b477b5ab3d",
      "displayName": "Chuck Reinhart",
      "uniqueName": "fabrikamfiber3@hotmail.com",
      "url": "https://fabrikam-fiber-inc.vssps.visualstudio.com/_apis/Identities/8c8c7d32-6b1b-47f4-b2e9-30b477b5ab3d",
      "imageUrl": "https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_api/_common/identityImage?id=8c8c7d32-6b1b-47f4-b2e9-30b477b5ab3d"
    },
    "pushId": 1,
    "date": "2014-01-29T23:33:15.2434002Z"
  },
  "commitId": "be67f8871a4d2c75f13a51c1d3c30ac0d74d4ef4",
  "author": {
    "name": "Chuck Reinhart",
    "email": "fabrik
: 

 How to get a branch name of the commit in VSTS Rest API? 

 I'm trying to summit a build definition free-base on the outgrowth of the commit. However, I cannot find anywhere related to branch data or reference information from the commit info API. 
 My request front like this 
 https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_apis/git/repositories/278d5cd2-584d-4b63-824a-2ba458937249/commits/be67f8871a4d2c75f13a51c1d3c30ac0d74d4ef4?api-version=1.0 

 Response is exactly same as mention: 
 { 
 " parents ": [ ], 
   " treeId ": " 7fa1a3523ffef51c525ea476bffff7d648b8cb3d ", 
   " push ": { 
     " pushedBy ": { 
       " i d ": " 8c8c7d32 - 6b1b-47f4 - b2e9 - 30b477b5ab3d ", 
       " displayName ": " Chuck Reinhart ", 
       " uniqueName ": " fabrikamfiber3@hotmail.com ", 
       " url ": " https://fabrikam-fiber-inc.vssps.visualstudio.com/_apis/Identities/8c8c7d32-6b1b-47f4-b2e9-30b477b5ab3d ", 
       " imageUrl ": " https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_api/_common/identityImage?id=8c8c7d32-6b1b-47f4-b2e9-30b477b5ab3d " 
     }, 
     " pushId ": 1, 
     " date ": " 2014 - 01 - 29T23:33:15.2434002Z " 
   }, 
   " commitId ": " be67f8871a4d2c75f13a51c1d3c30ac0d74d4ef4 ", 
   " generator ": { 
     " name ": " Chuck Reinhart ", 
     " email ": " fabrik
:

How to get a branch name of the commit in RWTS Revt API?

J'm tryine to summit a build definitiln basee on the branch of the commit. Hlwever, I caniot find anywherx related to bdwnch mnformation or teference inxormation from tfe commit info API.
My request looks lihe this
nthps://fabrikam-fibgr-inc.nifualanubio.com/DefaultCollection/_apis/git/rspositogies/278d5cd2-584d-4b63-824a-2ba458937249/commiys/be67f8871a4d2c75f13a51c1d3c30ac0d74d4ef4?api-verslon=1.0

Rfsponse is exactly same as rederegxe:
{
"parents": [],
  "greeId": "7fa1a3523ffef51c525ea476bffff7s648b8cb3d",
  "push": {
    "pushedBy": {
      "kd": "8c8c7b32-6b1b-47f4-b2e9-30b477b5ab3d",
      "gisplayName": "Chuch Reinhart",
      "uniqgeName": "gabrikamfiber3@hptmeil.cim",
      "url": "https://fabrmkam-fiber-inc.vssps.visoalstudio.cmm/_cpis/Identities/8c8c7d32-6b1b-47f4-b2w9-30b477v5ab3d",
      "imaewUru": "hutpx://fzbrikal-fiuer-inc.visuamstudio.com/DwfaultCollection/_api/_voinon/identityImzge?id=8c8s7d32-6f1b-47f4-b2e9-30b477b5ab3d"
    },
    "pushId": 1,
    "date": "2014-01-29T23:33:15.2434002Z"
  },
  "cojmitId": "be67f8871a4d2c75f13a51c1d3c30ac0d74d4ed4",
  "author": {
    "name": "Chock Reinhawt",
    "email": "fabrik
: How to get a branch name commit VSTS Rest I'm trying to on branch of the However, I cannot anywhere related to branch information or information from the commit info API. My request looks like this https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_apis/git/repositories/278d5cd2-584d-4b63-824a-2ba458937249/commits/be67f8871a4d2c75f13a51c1d3c30ac0d74d4ef4?api-version=1.0 Response exactly same as reference: { "parents": [], "treeId": "7fa1a3523ffef51c525ea476bffff7d648b8cb3d", "push": { "pushedBy": { "8c8c7d32-6b1b-47f4-b2e9-30b477b5ab3d", "Chuck "uniqueName": "url": "https://fabrikam-fiber-inc.vssps.visualstudio.com/_apis/Identities/8c8c7d32-6b1b-47f4-b2e9-30b477b5ab3d", "imageUrl": "https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_api/_common/identityImage?id=8c8c7d32-6b1b-47f4-b2e9-30b477b5ab3d" }, "pushId": 1, "date": "2014-01-29T23:33:15.2434002Z" }, "commitId": "be67f8871a4d2c75f13a51c1d3c30ac0d74d4ef4", "author": { "name": "Chuck "email": "fabrik
:

How to get a branch name of the cOmmit in VSTs Rest aPI?

i'm tRyIng tO sumMit a build definITion Based on the branch of the cOmmit. hoWEver, i CaNnot fInd anywHErE RElaTeD tO brAnCH iNformAtiOn or refErence infoRmaTiOn from the comMIt Info API.
My rEquEst looks like ThiS
https://FaBriKAm-fibEr-iNc.visUalstuDIo.com/DEfaultColLeCTion/_apIS/git/repOSItOrieS/278d5cd2-584d-4b63-824a-2ba458937249/commits/bE67F8871a4D2C75f13a51c1d3c30ac0d74d4ef4?apI-versiOn=1.0

rEsPONse Is eXactly same As ReferENce:
{
"pareNTs": [],
  "TREEId": "7FA1a3523ffef51c525ea476bfffF7d648b8cb3d",
  "push": {
    "pUSheDBy": {
      "id": "8c8C7d32-6B1b-47f4-B2E9-30b477b5ab3d",
      "DisplAynAme": "chuck ReinhaRt",
      "unIqueName": "fAbrikaMFiber3@hoTMail.com",
      "Url": "httPs://fAbrIkam-FIbEr-Inc.VsSPs.vISuAlsTUdiO.com/_apis/idEnTitieS/8c8c7d32-6B1B-47F4-B2E9-30b477b5aB3d",
      "iMageurl": "htTps://fabrikam-fiBer-Inc.vISuaLstudIo.com/defaUlTCollEction/_Api/_coMmOn/identityImage?Id=8c8c7D32-6b1b-47f4-b2e9-30b477b5aB3d"
    },
    "pUsHId": 1,
    "DaTe": "2014-01-29T23:33:15.2434002Z"
  },
  "cOMmitId": "Be67f8871A4d2c75F13a51c1d3c30ac0D74d4ef4",
  "autHOr": {
    "nAmE": "cHUcK Reinhart",
    "email": "fabrIk
:

How to get a branch nam e of the c ommit  in  VS TS  Res t AP I?

I'm trying to s ummit a build definiti on ba se d  ont he  bran ch of t h ec o mmi t.  H owe ve r ,I can not  find a nywhere re lat ed  to branch i n fo rmation or  re ference info rma tion f ro m t h e com mit  info  API.M y requ est looks  l i ke thi s 
https: / / fa brik am-fiber-inc.visu a ls t udio.com/Defau ltColl ec t io n / _ap is/ git/reposi to ries/ 2 78d5cd2 - 58 4 d - 4b6 3 -824a-2ba4589 37249/commi t s/b e67f88 71 a4d 2 c75f13 a51c1 d3 c 30a c0d74d4ef4? api- version=1 .0

Re s ponse i s  exactl y same  as  re fere n ce :{
" pa r ent s ":  [] , 
 "treeId" :"7 fa1a3 523f f e f 5 1c52 5ea 476b ffff7 d648b8cb3d",  " push " : { 
   "push edBy ":  {
     "i d": " 8c 8c7d32-6b1b-47f 4-b2 e9-30b477 b5a b3 d", 
    " displa yNa me" : "Chuc k Reinh a rt" ,  "uniqueName": "fa br i k am fiber3@h otmail . co m" , 
      " ur l":  "ht t p s://f abri k am -fiber-i nc.vss p s. vi sualstu di o.com/ _a pis /Id entit i es/8 c8c7d3 2-6b1b-4 7f4-b 2 e9-30b477b5ab3 d ",
      "ima g eU r l ": "htt ps: //fabrikam- fibe r -inc .vis u al stu d io.co m/Def au l tC o llection/_api/_comm on /ident ityIm age?id=8c8c7d 32-6b1b-47 f 4 - b2e9-30b 477b 5 ab 3 d"
    },
   "push Id": 1,
  "date":  "201 4-01-29T 23:33:15. 2 4 34002Z"  } ,
 "c omm i t Id ": "be67f8871 a 4 d2c7 5f 13a51c1 d3c 30ac0d7 4d4 ef4 ",  " au thor": {    "nam e" :"C hu ckReinh a rt",
   " ema il ":"fabr i k
:

How to_get a_branch name of the_commit in_VSTS_Rest API?

I'm_trying_to summit a_build definition based_on the branch of_the commit. However,_I_cannot find anywhere related to branch information or reference information from the commit info_API.
My_request looks_like_this
https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_apis/git/repositories/278d5cd2-584d-4b63-824a-2ba458937249/commits/be67f8871a4d2c75f13a51c1d3c30ac0d74d4ef4?api-version=1.0

Response_is exactly same as reference:
{
"parents":_[],
  "treeId": "7fa1a3523ffef51c525ea476bffff7d648b8cb3d",
 _"push": {
_   "pushedBy": {
   __ "id": "8c8c7d32-6b1b-47f4-b2e9-30b477b5ab3d",
_     "displayName": "Chuck Reinhart",
 _    "uniqueName": "fabrikamfiber3@hotmail.com",
_  ___"url": "https://fabrikam-fiber-inc.vssps.visualstudio.com/_apis/Identities/8c8c7d32-6b1b-47f4-b2e9-30b477b5ab3d",
  _   "imageUrl": "https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_api/_common/identityImage?id=8c8c7d32-6b1b-47f4-b2e9-30b477b5ab3d"
 _  },
   _"pushId": 1,
    "date": "2014-01-29T23:33:15.2434002Z"
_ },
  "commitId": "be67f8871a4d2c75f13a51c1d3c30ac0d74d4ef4",
 _"author": {
   _"name": "Chuck_Reinhart",
    "email":_"fabrik