All URIs are relative to https://api.clerk.dev/v1
| Method | HTTP request | Description |
|---|---|---|
| get_client | GET /clients/{client_id} | Get a client |
| get_client_last_active_session | GET /clients/{client_id}/last_active_session | Get the last active session of a client |
| get_client_list | GET /clients | List all clients |
| verify_client | POST /clients/verify | Verify a client |
crate::models::Client get_client(client_id) Get a client
Returns the details of a client.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| client_id | String | Client ID. | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::Session get_client_last_active_session(client_id) Get the last active session of a client
Returns the details of the last active session of a client.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| client_id | String | Client ID. | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Veccrate::models::Client get_client_list(limit, offset) List all clients
Returns a list of all clients. The clients are returned sorted by creation date, with the newest clients appearing first.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| limit | Option<f32> | Applies a limit to the number of results returned. Can be used for paginating the results together with offset. Must be an integer greater than zero and less than 500. By default, if not supplied, a limit of 10 is used. |
[default to 10] | |
| offset | Option<f32> | Skip the first offset results when paginating. Needs to be an integer greater or equal to zero. To be used in conjunction with limit. |
[default to 0] |
Veccrate::models::Client
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::Client verify_client(verify_client_request) Verify a client
Verifies the client in the provided token
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| verify_client_request | Option<VerifyClientRequest> | Parameters. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]