Hello,
If I am looking into an API to list all branches created by a particular person and I can’t find the “owner” field there.
In GUI my branch has an owner “marcin_auto”
but in API I can’t find it the owner of the branch, only the author of the parent commit is propagated.
{
"name": "test_me",
"commit": {
"id": "ac9112b9fedb026f980120718615b94306891245",
"message": "new test 0910 (#90)\n\nReviewed-on: \n",
"url": "http://172.25.118.178:4000/pioro/test/commit/ac9112b9fedb026f980120718615b94306891245",
"author": {
"name": "marcin",
"email": "marcin1@foo.bar",
"username": "marcin"
},
"committer": {
"name": "marcin",
"email": "marcin1@foo.bar",
"username": "marcin"
},
"verification": {
"verified": false,
"reason": "gpg.error.not_signed_commit",
"signature": "",
"signer": null,
"payload": ""
},
"timestamp": "2024-10-09T12:26:34+02:00",
"added": null,
"removed": null,
"modified": null
},
"protected": false,
"required_approvals": 0,
"enable_status_check": false,
"status_check_contexts": [],
"user_can_push": true,
"user_can_merge": true,
"effective_branch_protection_name": ""
}
Is there a way to display only branches created by someone ?
I know in git doesn’t really have an owner but Gitea GUI is displaying it so it is saved somewhere
regards,
Marcin