Parameters
| Parameter | Type | Description |
|---|---|---|
ref | Optional | Branch name or commit SHA. If not specified, uses the repository’s default branch |
JWT Requirements
- The JWT must include the repository in the
repoclaim - Requires
git:readscope
Response
Notes
- Returns all files in the repository at the specified ref
- Directories are not included in the list, only files
- File paths are relative to the repository root
- If no
refis specified, the repository’s default branch is used (typicallymainormaster) paths: Array of file paths in the repositoryref: The resolved reference (branch name or commit SHA) that was used
Error Responses
| Status | Description |
|---|---|
404 Not Found | Reference doesn’t exist |
401 Unauthorized | Invalid JWT or missing git:read scope |