List branches
import requests
url = "https://api.13-215-85-171.sslip.io/v1/machines/{id}/git/branch"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)curl --request GET \
--url https://api.13-215-85-171.sslip.io/v1/machines/{id}/git/branch \
--header 'Authorization: Bearer <token>'{
"branches": [
"<string>"
],
"current": "<string>"
}Git
List branches
GET
/
v1
/
machines
/
{id}
/
git
/
branch
List branches
import requests
url = "https://api.13-215-85-171.sslip.io/v1/machines/{id}/git/branch"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)curl --request GET \
--url https://api.13-215-85-171.sslip.io/v1/machines/{id}/git/branch \
--header 'Authorization: Bearer <token>'{
"branches": [
"<string>"
],
"current": "<string>"
}