Function Commit
Get Commit Content
GetCommitContent retrieves a commit and all its file contents in a single unary response. This is a non-streaming alternative to GetCommit for REST API consumers.
get/api/v1/functions/{function_id}/commits/{id}
Path parameters
function_idstring required
The function ID (KSUID).
idstring required
The commit reference to retrieve. Accepts a KSUID, "HEAD", or a tag reference like "refs/tags/v1.0".
Response
FunctionsServiceGetCommitContentResponse contains a commit and all its file contents.