exceptionfactory commented on a change in pull request #5630: URL: https://github.com/apache/nifi/pull/5630#discussion_r787784455
########## File path: nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/FlowResource.java ########## @@ -1358,6 +1359,41 @@ public Response getReportingTaskTypes( return generateOkResponse(entity).build(); } + @GET + @Consumes(MediaType.WILDCARD) + @Produces(MediaType.APPLICATION_JSON) + @Path("runtime-manifest") + @ApiOperation( + value = "Retrieves the runtime manifest for this NiFi instance.", + notes = NON_GUARANTEED_ENDPOINT, + response = RuntimeManifest.class, + authorizations = { + @Authorization(value = "Read - /flow") + } + ) + @ApiResponses( + value = { + @ApiResponse(code = 400, message = "NiFi was unable to complete the request because it was invalid. The request should not be retried without modification."), + @ApiResponse(code = 401, message = "Client could not be authenticated."), + @ApiResponse(code = 403, message = "Client is not authorized to make this request."), + @ApiResponse(code = 409, message = "The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.") + } + ) + public Response getRuntimeManifest() throws InterruptedException { + + authorizeFlow(); + + if (isReplicateRequest()) { + return replicate(HttpMethod.GET); + } Review comment: Thanks for the reply. Since it is a `GET` request, it seems reasonable that the request should not be replicated. To clarify, should this conditional block be removed since the request will not be replicated? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org