TOOL API

get_file

Reads the contents of a file in a CNB repository, including files in nested paths.

devAPI Key1 credits

Call information

Tool slug
cnb.get_file
Provider
CNB
Average response
0 ms
Calls in 7 days
0

Input parameters

reporequired

仓库路径,如 org/name(不含 .git)

file_pathrequired

如 README.md 或 src/main.go

ref

分支或 commit