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

creates mapper

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

Sub-Resources
Resources
NameDescription
{id}

Resource Methods
Method Summary
NameDescription
POST /admin/realms/{realm}/oauth-clients-by-id/{clientId}/protocol-mappers/modelscreates mapper
GET /admin/realms/{realm}/oauth-clients-by-id/{clientId}/protocol-mappers/models 

Method Detail

POST /admin/realms/{realm}/oauth-clients-by-id/{clientId}/protocol-mappers/models

creates mapper

HTTP Example:
POST /admin/realms/{realm}/oauth-clients-by-id/{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-by-id/{clientId}/protocol-mappers/models

HTTP Example:
GET /admin/realms/{realm}/oauth-clients-by-id/{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