find clients
Changed onRequest
- Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/clients
- Auth: API key in header Authorization
Query parameters
An optional generic filtering query parameter selects only items that contain parameter value in properties (member name, member_class, member_code, subsystem_code) . Needs to be properly encoded for the special characters, too. Empty value means the parameter is ignored.
optional paging and sorting parameters. Sorting possible according to one of the following values: <ul> <li><b>id</b> for id</li> <li><b>member_name</b> for client's member name,</li> <li><b>xroad_id.instance_id</b> for client's instance id</li> <li><b>xroad_id.member_class</b> for client's member class or</li> <li><b>xroad_id.member_code</b> for client's member code or</li> <li><b>client_type</b> for client type.</li>
</ul>{
"sort": "title"
}an optional search string (member name). Client field needs to contain parameter value (case insensitive). Empty value means the parameter is ignored.
an optional search string (instance). Client field needs to contain parameter value (case insensitive). Empty value means the parameter is ignored.
an optional search string (member_class). Client field needs to contain parameter value (case insensitive). Empty value means the parameter is ignored.
an optional search string (member_code). Client field needs to contain parameter value (case insensitive). Empty value means the parameter is ignored.
an optional search string (subsystem_code). Client field needs to contain parameter value (case insensitive). Empty value means the parameter is ignored.
client type
an optional parameter limiting search to either members or subsystems. If not used, both are searched for.
<instance_id>:<member_class>:<member_code>:<security_server_code>
an optional security server id parameter - only return clients that belong to this security server. Empty value means the parameter is ignored.
an optional global group code parameter - only return clients that do not belong to this group. Empty value means the parameter is ignored.
Response
paged clients results
Example response
{
"clients": [
{
"member_name": "Member123"
}
]
}Changes
- ○
mapped value for discriminator key
MEMBERchanged fromClientIdto for//////response property for the response status - ○
mapped value for discriminator key
SERVERchanged fromSecurityServerIdto for//////response property for the response status - ○
mapped value for discriminator key
SUBSYSTEMchanged fromClientIdto for//////response property for the response status
- ○
- ▲
the
///////response's property format changed fromtext§totextfor status
- ▲