title: How to create mapper for each user attribute in Keycloak via REST API?
body: <p>How do I create Protocol Mappers with the following values (as seen in the attached image) via Keycloak's REST API? I couldn't find it in the documentation - I did find this: <a href="https://www.keycloak.org/docs-api/5.0/rest-api/index.html#_protocol_mappers_resource" rel="nofollow noreferrer">Protocol Mapper</a> - but the <a href="https://www.keycloak.org/docs-api/5.0/rest-api/index.html#_protocolmapperrepresentation" rel="nofollow noreferrer">ProtocolMapperRepresentation</a> takes in a Map and a couple of Strings. When I see the UI - I see a lot more fields and I'm not sure if I'm looking at the right API.</p>
  <p>Here's the UI:</p>
  <p><a href="https://i.stack.imgur.com/bA6Dr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bA6Dr.png" alt="enter image description here" /></a></p>
  <p>How do I do it via API?</p>