Fetches branches belonging to this project.
GET /api/projects/{projectId}/branches
Optionalparams: BranchesParamsOptional filters: limit, offset, branchName
An array of branches
Fetches the project details.
GET /api/projects/{projectId}
The project object
Allows the resource to be awaited directly, resolving with the project info. Delegates to ProjectResource.get.
Optionalonfulfilled: null | (value: CheckmarxProject) => TResult1 | PromiseLike<TResult1>Optionalonrejected: null | (reason: unknown) => TResult2 | PromiseLike<TResult2>
Represents a Checkmarx project resource with chainable async methods.
Implements
PromiseLike<CheckmarxProject>so it can be awaited directly to fetch the project info, while also exposing sub-resource methods.Example