Branches
Get branch commit
Retrieves a specific commit on a branch by commit ID or keywords.
get/api/projects/{projectId}/branches/{branchId}/commits/{commitId}
Request
- The document declares no server URL.
- Auth
- HTTP bearer
- or HTTP internal
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Changes
No recorded changes to this operation across all 1 revision of this API.