## Path: / admin / realms / {realm} / oauth-clients / {clientId} / protocol-mappers / models

creates mapper

Path parameters:
  realm - realm name (not id!)
  clientId - oauth client's clientId

Sub-Resources

  Resources
  Name | Description
  --- | ---
  {id} |

Resource Methods

  Method Summary
  Name | Description
  --- | ---
  `POST /admin/realms/{realm}/oauth-clients/{clientId}/protocol-mappers/models` | creates mapper
  `GET /admin/realms/{realm}/oauth-clients/{clientId}/protocol-mappers/models` |

Method Detail
### POST /admin/realms/{realm}/oauth-clients/{clientId}/protocol-mappers/models creates mapper
  HTTP Example:
      POST /admin/realms/{realm}/oauth-clients/{clientId}/protocol-mappers/models
| API Example: `ProtocolMappersResource.createMapper({'realm': /* name realm name (not id!) */, 'clientId': /* clientId oauth client's clientId */, '$entity': /* rep */});`
Input: `ProtocolMapperRepresentation` Output: `Response` Consumes: application/json
### GET /admin/realms/{realm}/oauth-clients/{clientId}/protocol-mappers/models
  HTTP Example:
      GET /admin/realms/{realm}/oauth-clients/{clientId}/protocol-mappers/models
| API Example: `ProtocolMappersResource.getMappers({'realm': /* name realm name (not id!) */, 'clientId': /* clientId oauth client's clientId */});`
Output: `List<ProtocolMapperRepresentation>` Produces: application/json