mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
Update path for persistence health endpoint (#5198)
See https://github.com/openhab/openhab-core/pull/4682#discussion_r2619044396. Signed-off-by: Florian Hotze <dev@florianhotze.com>
This commit is contained in:
+1
-1
@@ -359,7 +359,7 @@ public class PersistenceResource implements RESTResource {
|
||||
@GET
|
||||
@RolesAllowed({ Role.ADMIN })
|
||||
@Produces({ MediaType.APPLICATION_JSON })
|
||||
@Path("persistencehealth")
|
||||
@Path("health")
|
||||
@Operation(operationId = "getPersistenceHealth", summary = "Gets configuration problems with persistence services.", security = {
|
||||
@SecurityRequirement(name = "oauth2", scopes = { "admin" }) }, responses = {
|
||||
@ApiResponse(responseCode = "200", description = "OK", content = @Content(array = @ArraySchema(schema = @Schema(implementation = PersistenceServiceProblem.class), uniqueItems = true))) })
|
||||
|
||||
Reference in New Issue
Block a user