diff --git a/src/Public.Api/Road/Changes/ChangeFeedController-GetHead.cs b/src/Public.Api/Road/Changes/ChangeFeedController-GetHead.cs index f638641e8..22f0b1846 100644 --- a/src/Public.Api/Road/Changes/ChangeFeedController-GetHead.cs +++ b/src/Public.Api/Road/Changes/ChangeFeedController-GetHead.cs @@ -13,12 +13,14 @@ public partial class ChangeFeedController [HttpGet("wegen/activiteit/begin", Name = nameof(GetHead))] public async Task GetHead( [FromQuery] int? maxEntryCount, + [FromQuery] string? filter, [FromServices] ProblemDetailsHelper problemDetailsHelper, CancellationToken cancellationToken = default) { RestRequest BackendRequest() => CreateBackendRestRequest(Method.Get, "changefeed/head") - .AddParameter(nameof(maxEntryCount), maxEntryCount, ParameterType.QueryString); + .AddParameter(nameof(maxEntryCount), maxEntryCount, ParameterType.QueryString) + .AddParameter(nameof(filter), filter, ParameterType.QueryString); var response = await GetFromBackendWithBadRequestAsync( AcceptType.Json, diff --git a/src/Public.Api/Road/Changes/ChangeFeedController-GetNext.cs b/src/Public.Api/Road/Changes/ChangeFeedController-GetNext.cs index 037b3ecdd..302c188fe 100644 --- a/src/Public.Api/Road/Changes/ChangeFeedController-GetNext.cs +++ b/src/Public.Api/Road/Changes/ChangeFeedController-GetNext.cs @@ -14,13 +14,15 @@ public partial class ChangeFeedController public async Task GetNext( [FromQuery] long? afterEntry, [FromQuery] int? maxEntryCount, + [FromQuery] string? filter, [FromServices] ProblemDetailsHelper problemDetailsHelper, CancellationToken cancellationToken = default) { RestRequest BackendRequest() => CreateBackendRestRequest(Method.Get, "changefeed/next") .AddParameter(nameof(maxEntryCount), maxEntryCount, ParameterType.QueryString) - .AddParameter(nameof(afterEntry), afterEntry, ParameterType.QueryString); + .AddParameter(nameof(afterEntry), afterEntry, ParameterType.QueryString) + .AddParameter(nameof(filter), filter, ParameterType.QueryString); var response = await GetFromBackendWithBadRequestAsync( AcceptType.Json, diff --git a/src/Public.Api/Road/Changes/ChangeFeedController-GetPrevious.cs b/src/Public.Api/Road/Changes/ChangeFeedController-GetPrevious.cs index e82f26a26..60364c5b1 100644 --- a/src/Public.Api/Road/Changes/ChangeFeedController-GetPrevious.cs +++ b/src/Public.Api/Road/Changes/ChangeFeedController-GetPrevious.cs @@ -14,13 +14,15 @@ public partial class ChangeFeedController public async Task GetPrevious( [FromQuery] long? beforeEntry, [FromQuery] int? maxEntryCount, + [FromQuery] string? filter, [FromServices] ProblemDetailsHelper problemDetailsHelper, CancellationToken cancellationToken = default) { RestRequest BackendRequest() => CreateBackendRestRequest(Method.Get, "changefeed/previous") .AddParameter(nameof(maxEntryCount), maxEntryCount, ParameterType.QueryString) - .AddParameter(nameof(beforeEntry), beforeEntry, ParameterType.QueryString); + .AddParameter(nameof(beforeEntry), beforeEntry, ParameterType.QueryString) + .AddParameter(nameof(filter), filter, ParameterType.QueryString); var response = await GetFromBackendWithBadRequestAsync( AcceptType.Json,