From 747f26bd4108085254fc9bc2a34f87b68d1d1f79 Mon Sep 17 00:00:00 2001 From: marc Date: Mon, 13 Jan 2025 12:56:45 +0100 Subject: [PATCH] fix: Adapt open api docs to assigned user modes [DHIS2-13960] (#19631) * fix: Adapt open api docs to assigned user modes [DHIS2-13960] * fix: Adapt open api docs to assigned user modes [DHIS2-13960] --- .../src/main/resources/openapi/EventsExportController.md | 3 +++ .../main/resources/openapi/TrackedEntitiesExportController.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dhis-2/dhis-web-api/src/main/resources/openapi/EventsExportController.md b/dhis-2/dhis-web-api/src/main/resources/openapi/EventsExportController.md index e02f714e120c..1591af35259a 100644 --- a/dhis-2/dhis-web-api/src/main/resources/openapi/EventsExportController.md +++ b/dhis-2/dhis-web-api/src/main/resources/openapi/EventsExportController.md @@ -80,6 +80,9 @@ Get events using given organisation unit mode. ### `*.parameter.EventRequestParams.assignedUserMode` +Get events assigned to users according to the specified user mode. By default, +all events will be retrieved, regardless of whether a user is assigned. + ### `*.parameter.EventRequestParams.assignedUsers` `[,...]` diff --git a/dhis-2/dhis-web-api/src/main/resources/openapi/TrackedEntitiesExportController.md b/dhis-2/dhis-web-api/src/main/resources/openapi/TrackedEntitiesExportController.md index 2d089c687bff..4098e086a485 100644 --- a/dhis-2/dhis-web-api/src/main/resources/openapi/TrackedEntitiesExportController.md +++ b/dhis-2/dhis-web-api/src/main/resources/openapi/TrackedEntitiesExportController.md @@ -155,6 +155,9 @@ Get tracked entities with given UID(s). ### `*.parameter.TrackedEntityRequestParams.assignedUserMode` +Get tracked entities with events assigned to users according to the specified user mode. By default, +all events will be retrieved, regardless of whether a user is assigned. + ### `*.parameter.TrackedEntityRequestParams.assignedUsers` `[,...]`