v2/endentity
Searches and sorts for end entity conforming given criteria.
Changed onInsert as many search criteria as needed and optionally a sorting criteria. A reference about allowed values for criteria could be found below, under SearchEndEntityCriteriaRestRequestV2 model.
post/v2/endentity/search
Request
- Base URL/ejbca/ejbca-rest-api (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"max_number_of_results": 10,
"current_page": 1,
"criteria": [
{
"value": "exampleUsername"
}
]
}Response
Successful operation
Example response
{
"end_entities": [
{
"username": "JohnDoe",
"dn": "CN=John Doe,SURNAME=Doe,GIVENNAME=John,C=SE",
"subject_alt_name": "rfc822Name=john.doe@example.com",
"email": "john.doe@example.com",
"status": "NEW",
"token": "P12",
"extension_data": [
{
"name": "1.3.6.1.5.5.7.1.24",
"value": "3003020105"
}
]
}
]
}Changes
- breaking
removed the enum value
EQUAL_CASE_SENSITIVEof the request property// - warning
removed the optional property
////from the response with the status
- breaking
- breaking
removed the enum value
SUBJECT_DNof the request property// - breaking
removed the enum value
USERNAMEof the request property//
- breaking