v1
latestOpenAPI 3.1.02026-07-261344388.3 KBBranches
Get branch commit
Retrieves a specific commit on a branch by commit ID or keywords.
get/api/projects/{projectId}/branches/{branchId}/commits/{commitId}
Path parameters
projectIdstring uuid required
Project ID
Branch ID or "main" for the default branch
Commit ID or "base"/"latest" keywords
Query parameters
contentboolean
Whether to include file content in the response
Response
The requested commit