List Files in Branch
curl --request GET \
--url https://api.zerodrive.dev/v1/branches/{branch_name}/files \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zerodrive.dev/v1/branches/{branch_name}/files', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/branches/{branch_name}/files"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){}List Files in Branch
List live files inside a drive branch overlaid on top of main.
GET
https://api.zerodrive.dev
/
v1
/
branches
/
{branch_name}
/
files
List Files in Branch
curl --request GET \
--url https://api.zerodrive.dev/v1/branches/{branch_name}/files \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zerodrive.dev/v1/branches/{branch_name}/files', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/branches/{branch_name}/files"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){}
