public async Task <ActionResult <List <HttpTimelinePost> > > List([FromRoute][GeneralTimelineName] string timeline, [FromQuery] DateTime?modifiedSince, [FromQuery] bool?includeDeleted) { var timelineId = await _timelineService.GetTimelineIdByNameAsync(timeline); if (!UserHasAllTimelineManagementPermission && !await _timelineService.HasReadPermissionAsync(timelineId, GetOptionalUserId())) { return(ForbidWithCommonResponse()); } var posts = await _postService.GetPostsAsync(timelineId, modifiedSince, includeDeleted ?? false); var result = await Map(posts); return(result); }