Hi,

In Keycloak REST Service there is List< AuthenticationFlowModel> as a return type when you call GET /admin/realms/{realm}/authentication/flows.

When you call
GET /admin/realms/{realm}/clients or GET /admin/realms/{realm}/users there is list of corresponding representation.

Representations are created https://github.com/keycloak/keycloak/blob/master/services/src/main/java/org/keycloak/services/resources/admin/UsersResource.java#L268 for users.

Shouldn't be flows also converted from model to representation.

Thanks,
Vlasta