I am looking for a solution to get all content with a status "Awaiting Your Review" when Content approval is enabled. I know its available in Task Pane but I want to access this through code.
You can get like this-
var approvals = await approvalRepository.ListAsync(new ContentApprovalQuery
Username = "user",
Status = ApprovalStatus.InReview,
DefinitionID = definition.ID