Download OpenAPI specification:
CertVault RESTful API Doc
CertVault Self-Signed SSL Certificate Management Platform.
User login
Login entity
| username required | string User account(can be username or email) |
| password required | string Password of the user |
{- "username": "testadmin",
- "password": 123456
}{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}{- "code": 200,
- "msg": "OIDC Enabled",
- "data": [
- {
- "provider": "oidc",
- "displayName": "OpenID Connect",
- "logo": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGhlaWdodD0iNTEycHgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTI7IiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiB3aWR0aD0iNTEycHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxnIGlkPSJfeDMyXzM5LW9wZW5pZCI+PGc+PHBhdGggZD0iTTIzNC44NDksNDE5djYuNjIzYy03OS4yNjgtOS45NTgtMTM5LjMzNC01My4zOTMtMTM5LjMzNC0xMDUuNzU3ICAgIGMwLTM5LjMxMywzMy44NzMtNzMuNTk1LDg0LjQ4NS05Mi41MTFMMTc4LjAyMywxODBDODguODkyLDIwMi40OTcsMjYuMDAxLDI1Ni42MDcsMjYuMDAxLDMxOS44NjYgICAgYzAsNzYuMjg4LDkwLjg3MSwxMzkuMTI4LDIwOC45NSwxNDkuNzA1bDAuMDE4LTAuMDA5VjQxOUgyMzQuODQ5eiIgc3R5bGU9ImZpbGw6I0IyQjJCMjsiLz48cG9seWdvbiBwb2ludHM9IjMwNC43NzIsNDM2LjcxMyAzMDQuNjcsNDM2LjcxMyAzMDQuNjcsMjIxLjY2NyAzMDQuNjcsMjEzLjY2NyAzMDQuNjcsNDIuNDI5ICAgICAyMzQuODQ5LDc4LjI1IDIzNC44NDksMjIxLjY2NyAyMzQuOTY5LDIyMS42NjcgMjM0Ljk2OSw0NjkuNTYzICAgIiBzdHlsZT0iZmlsbDojRjc5MzFFOyIvPjxwYXRoIGQ9Ik00ODUuOTk5LDI5MS45MzhsLTkuNDQ2LTEwMC4xMTRsLTM1LjkzOCwyMC4zMzFDNDE1LjA4NywxOTYuNjQ5LDM4Mi41LDE3Ny41LDM0MCwxNzcuMjYxICAgIGwwLjAwMiwzNi40MDZ2Ny40OThjMy41MDIsMC45NjgsNi45MjMsMi4wMjQsMTAuMzAxLDMuMTI1YzE0LjE0NSw0LjYxMSwyNy4xNzYsMTAuMzUyLDM4LjY2NiwxNy4xMjhsLTM3Ljc4NiwyMS4yNTQgICAgTDQ4NS45OTksMjkxLjkzOHoiIHN0eWxlPSJmaWxsOiNCMkIyQjI7Ii8+PC9nPjwvZz48ZyBpZD0iTGF5ZXJfMSIvPjwvc3ZnPg=="
}
], - "timestamp": "2025-03-29T00:59:00.06971"
}OpenID Connect IdP Login Success Callback Endpoint
| code required | string Example: code=c1ds5v1... OpenID Connect IdP Response JWT Code |
| state required | string Example: state=s1ds5v1... OpenID Connect IdP Response State |
{- "code": 204,
- "msg": "OIDC Disabled",
- "data": null,
- "timestamp": "2025-03-29T00:59:00+08:00"
}OpenID Connect IdP Login Success Callback Endpoint
| provider required | string OIDC provider |
| code required | string Example: code=c1ds5v1... OpenID Connect IdP Response JWT Code |
| state required | string Example: state=s1ds5v1... OpenID Connect IdP Response State |
{- "code": 204,
- "msg": "OIDC Disabled",
- "data": null,
- "timestamp": "2025-03-29T00:59:00+08:00"
}Renew the SSL certificate
| uuid required | string Example: 3885be11-4084-4538-9fa0-70ffe4c4cbe0 SSL certificate UUID |
New expiry
{- "expiry": 365
}{- "code": 200,
- "message": "Success",
- "data": {
- "uuid": "2f2d63a8-b29c-4404-ae10-81f5ff023a69",
- "algorithm": "RSA",
- "keySize": 2048,
- "privkey": null,
- "cert": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk...",
- "caUuid": "3885be11-4084-4538-9fa0-70ffe4c4cbe0",
- "notBefore": "2025-03-22T23:05:54+08:00",
- "notAfter": "2035-03-20T23:05:54+08:00",
- "comment": "CertVault Website SSL Certificate"
}
}Delete the SSL certificate
| uuid required | string Example: 3885be11-4084-4538-9fa0-70ffe4c4cbe0 SSL certificate UUID |
{- "code": 200,
- "msg": "Success",
- "data": null,
- "timestamp": "2025-04-04T16:16:02+08:00"
}Retrieve all certificate information for the user (paged retrieval)
| keyword | string Example: keyword=72267ce5-e94a-4cdb-b35b-63f1f385b253 Search keywords (Can be UUID, comments) |
| page | integer <int32> Default: 1 Example: page=1 Page number |
| limit | integer <int32> Default: 10 Example: limit=10 Page limit |
| orderBy | string Example: orderBy=username Order by field |
| isAsc | boolean Default: true Example: isAsc=true Ascending or descending |
{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Request a new SSL certificate
Request certificate entity
| caUuid | string CA UUID |
| allowSubCa | string Whether to allow sub-CA |
| algorithm | string Algorithm (Can be RSA, EC, Ed25519) |
| keySize | string Key Size |
| country required | string Country |
| province required | string Province |
| city required | string City |
| organization required | string Organization |
| organizationalUnit required | string Organizational Unit |
| commonName required | string Common Name |
| expiry required | string Expiry (day) |
| subjectAltNames | string Subject Alternative Name |
| comment | string Comment |
{- "caUuid": "3885be11-4084-4538-9fa0-70ffe4c4cbe0",
- "allowSubCa": true,
- "algorithm": "RSA",
- "keySize": 2048,
- "country": "CN",
- "province": "Guangdong",
- "city": "Canton",
- "organization": "GregPerlinLi",
- "organizationalUnit": "Cert Vault",
- "commonName": "a.b.c",
- "expiry": 30,
- "subjectAltNames": [
- {
- "type": "DNS_NAME",
- "value": "a.b.c"
}, - {
- "type": "IP_ADDRESS",
- "value": "10.18.0.1"
},
], - "comment": "CertVault SSL Certificate"
}{- "code": 200,
- "message": "Success",
- "data": {
- "uuid": "2f2d63a8-b29c-4404-ae10-81f5ff023a69",
- "algorithm": "RSA",
- "keySize": 2048,
- "privkey": "LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUV2Z0lCQU...",
- "cert": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk...",
- "caUuid": "3885be11-4084-4538-9fa0-70ffe4c4cbe0",
- "notBefore": "2025-03-22T23:05:54+08:00",
- "notAfter": "2035-03-20T23:05:54+08:00",
- "comment": "CertVault Website SSL Certificate"
}
}Retrieve the private key of the SSL certificate (Need user password verify)
| uuid required | string Example: 3885be11-4084-4538-9fa0-70ffe4c4cbe0 SSL certificate UUID |
Confirm password
{- "password": "123456"
}{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Private key parser, used for parsing private key information
Private key Base64
{- "privkey": "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC1GAQWvotGCPu1QAB14hzKF5C2bc9WRecF..."
}{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Convert PEM format certificate and private key to PFX(PKCS12) format
Certificate Base64
{- "cert": "MIIB+zCCAVigAwIBAgIQJz+JlZg97kbB6ZnzUfe8pYDANBgk...",
- "privkey": "LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUV2Z0lCQU...",
- "password": "password"
}{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Convert PEM format certificate and private key to DER format
Base64 encoded Certificate and Private Key Information
| cert required | string Certificate with BASE64 encoding |
| privkey | string Private key with BASE64 encoding |
{- "cert": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUV2QUl...",
- "privkey": "LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUV2QUl..."
}{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Convert DER format certificate and private key to PEM format
Base64 encoded Certificate and Private Key Information
| cert required | string Certificate with BASE64 encoding |
| privkey | string Private key with BASE64 encoding |
{- "cert": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUV2QUl...",
- "privkey": "LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUV2QUl..."
}{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Certificate parser, used for parsing certificate information
Certificate Base64
{- "cert": "MIIB+zCCAVigAwIBAgIQJz+JlZg97kbB6ZnzUfe8pYDANBgk..."
}{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Update user's own personal information Write the specific part that needs to be modified, do not include any part that does not need to be changed in the body (including keys and values).
Update user profile entity
| displayName required | string Display name of the user |
| email required | string Email of the user |
| oldPassword required | string Old password of the user |
| newPassword required | string New password of the user |
{- "displayName": "John Doe",
- "email": "john.doe@example.com",
- "oldPassword": "oldPass123",
- "newPassword": "newPass456"
}{- "code": 200,
- "msg": "Success",
- "data": null,
- "timestamp": "2025-04-04T16:16:02+08:00"
}Update the comment of the certificate
| uuid required | string Example: 3885be11-4084-4538-9fa0-70ffe4c4cbe0 SSL certificate UUID |
Update comment
{- "comment": "New comment of the cert"
}{- "code": 200,
- "msg": "Success",
- "data": null,
- "timestamp": "2025-04-04T16:16:02+08:00"
}Retrieve user's own login records (paged retrieval)
| status | integer <int32> Default: -1 Example: status=-1 Login status (-1: all, 0: offline, 1:online) |
| page | integer <int32> Default: 1 Example: page=1 Page number |
| limit | integer <int32> Default: 10 Example: limit=10 Page limit |
| orderBy | string Example: orderBy=username Order by field |
| isAsc | boolean Default: true Example: isAsc=true Ascending or descending |
{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Retrieve the SSL certificate allocated to the user
| uuid required | string Example: 3885be11-4084-4538-9fa0-70ffe4c4cbe0 SSL certificate UUID |
| isChain | boolean Default: false Example: isChain=true Whether to get the certificate chain |
| needRootCa | boolean Default: true Example: needRootCa=true Whether to get the root CA certificate in the chain |
{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Retrieve all CA information bound to your own account (paged retrieval)
| keyword | string Example: keyword=3885be11-4084-4538-9fa0-70ffe4c4cbe0 Search keywords (Can be UUID, comments) |
| page | integer <int32> Default: 1 Example: page=1 Page number |
| limit | integer <int32> Default: 10 Example: limit=10 Page limit |
| orderBy | string Example: orderBy=username Order by field |
| isAsc | boolean Default: true Example: isAsc=true Ascending or descending |
{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Obtain the CA certificate allocated to the user
| uuid required | string Example: 3885be11-4084-4538-9fa0-70ffe4c4cbe0 CA UUID |
| isChain | boolean Default: false Example: isChain=true Whether to get the certificate chain |
| needRootCa | boolean Default: true Example: needRootCa=true Whether to get the root CA certificate in the chain |
{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Batch delete users
Username list of the users to be deleted
[- "string"
]{- "code": 200,
- "msg": "Success",
- "data": null,
- "timestamp": "2025-04-04T16:16:02+08:00"
}Create multiple new users (i.e., import users)
List of create user entities
| username required | string Username of the user |
| displayName required | string Display name of the user |
| email required | string Email address of the user |
| password required | string Password of the user |
| role required | string Role of the user (1: User, 2: Admin, 3: Superadmin) |
[- {
- "username": "hello",
- "displayName": "Hello Admin",
- "email": "k8qscp.k65@yahoo.com.cn",
- "password": 1234567890,
- "role": 2
}
]{- "code": 200,
- "msg": "Success",
- "data": null,
- "timestamp": "2025-04-04T16:16:02+08:00"
}Create a new user
Create user entity
| username required | string Username of the user |
| displayName required | string Display name of the user |
| email required | string Email address of the user |
| password required | string Password of the user |
| role required | string Role of the user (1: User, 2: Admin, 3: Superadmin) |
{- "username": "hello",
- "displayName": "Hello Admin",
- "email": "k8qscp.k65@yahoo.com.cn",
- "password": 1234567890,
- "role": 2
}{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Batch update user roles
List of update user role entities
| username required | string Username of the user whose role information needs to be updated |
| role required | string Role of the user (1: User, 2: Admin, 3: Superadmin) |
[- {
- "username": "john.doe",
- "role": 2
}
]{- "code": 200,
- "msg": "Success",
- "data": null,
- "timestamp": "2025-04-04T16:16:02+08:00"
}Update user information
| username required | string Example: user Username of the user to be updated |
Update user entity
| displayName required | string Display name of the user |
| email required | string Email of the user |
| oldPassword required | string Old password of the user |
| newPassword required | string New password of the user |
{- "displayName": "John Doe",
- "email": "john.doe@example.com",
- "oldPassword": "oldPass123",
- "newPassword": "newPass456"
}{- "code": 200,
- "msg": "Success",
- "data": null,
- "timestamp": "2025-04-04T16:16:02+08:00"
}Update user role
Update user role entity
| username required | string Username of the user whose role information needs to be updated |
| role required | string Role of the user (1: User, 2: Admin, 3: Superadmin) |
{- "username": "john.doe",
- "role": 2
}{- "code": 200,
- "msg": "Success",
- "data": null,
- "timestamp": "2025-04-04T16:16:02+08:00"
}Get all user's login records
| keyword | string Example: keyword=gregPerlinLi Search keywords (username) |
| status | integer <int32> Default: -1 Example: status=-1 Status of the login record (-1: all, 0: offline, 1: online) |
| page | integer <int32> Default: 1 Example: page=1 Page number |
| limit | integer <int32> Default: 10 Example: limit=10 Number of records per page |
| orderBy | string Example: orderBy=username Order by field |
| isAsc | boolean Default: true Example: isAsc=true Ascending or descending |
{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Get a user's login records
| username required | string Example: gregPerlinLi Username |
| status | integer <int32> Default: -1 Example: status=-1 Status of the login record (-1: all, 0: offline, 1: online) |
| page | integer <int32> Default: 1 Example: page=1 Page number |
| limit | integer <int32> Default: 10 Example: limit=10 Number of records per page |
| orderBy | string Example: orderBy=username Order by field |
| isAsc | boolean Default: true Example: isAsc=true Ascending or descending |
{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Renew the specified CA certificate
| uuid required | string Example: bf35ecb1-9b67-4083-9476-e264ba153188 CA UUID |
New expiry
{- "expiry": 3650
}{- "code": 200,
- "msg": "Success",
- "data": {
- "uuid": "bf35ecb1-9b67-4083-9476-e264ba153188",
- "algorithm": "RSA",
- "keySize": 2048,
- "privkey": null,
- "cert": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUV2QUl...",
- "parentCa": "3885be11-4084-4538-9fa0-70ffe4c4cbe0",
- "allowSubCa": true,
- "notBefore": "2025-03-23T12:49:45.733",
- "notAfter": "2025-09-19T12:49:45.733",
- "comment": "Cert Vault Default Intermediate Certificate Authority"
}, - "timestamp": "2025-03-19T01:38:31+08:00"
}Retrieve all CA information under this username (paged)
| keyword | string Example: keyword=3885be11-4084-4538-9fa0-70ffe4c4cbe0 Search keywords (Can be UUID, comments) |
| page | integer <int32> Default: 1 Example: page=1 Page number |
| limit | integer <int32> Default: 10 Example: limit=10 Page limit |
| orderBy | string Example: orderBy=username Order by field |
| isAsc | boolean Default: true Example: isAsc=true Ascending or descending |
{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Request a new CA certificate
Request certificate entity
| caUuid | string CA UUID |
| allowSubCa | string Whether to allow sub-CA |
| algorithm | string Algorithm (Can be RSA, EC, Ed25519) |
| keySize | string Key Size |
| country required | string Country |
| province required | string Province |
| city required | string City |
| organization required | string Organization |
| organizationalUnit required | string Organizational Unit |
| commonName required | string Common Name |
| expiry required | string Expiry (day) |
| subjectAltNames | string Subject Alternative Name |
| comment | string Comment |
{- "caUuid": "3885be11-4084-4538-9fa0-70ffe4c4cbe0",
- "allowSubCa": true,
- "country": "China",
- "province": "Guangdong",
- "city": "Canton",
- "organization": "CertVault Develop Org",
- "organizationalUnit": "CertVault Dev",
- "commonName": "CertVault Intermediate CA",
- "expiry": 180,
- "comment": "Cert Vault Default Intermediate Certificate Authority"
}{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Obtain the CA private key allocated to the user (Need user password verify)
| uuid required | string Example: 3885be11-4084-4538-9fa0-70ffe4c4cbe0 CA UUID |
Confirm password
{- "password": "123456"
}{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Import a CA certificate and private key allocated to the user
Import certificate entity
| privkey required | string Private key of the certificate |
| certificate required | string Certificate of the certificate |
| comment required | string Comment of the certificate |
{- "privkey": "LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUpRd0lCQURBTkJn...",
- "certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUdFekNDQ...",
- "comment": "Testing CA"
}{- "code": 200,
- "msg": "Success",
- "data": {
- "uuid": "bf35ecb1-9b67-4083-9476-e264ba153188",
- "algorithm": "RSA",
- "keySize": 2048,
- "privkey": null,
- "cert": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUV2QUl...",
- "parentCa": "3885be11-4084-4538-9fa0-70ffe4c4cbe0",
- "allowSubCa": true,
- "notBefore": "2025-03-23T12:49:45.733",
- "notAfter": "2025-09-19T12:49:45.733",
- "comment": "Cert Vault Default Intermediate Certificate Authority"
}, - "timestamp": "2025-03-19T01:38:31+08:00"
}Batch unbind users from specified CA certificate
List of CA-User binding entities
| caUuid required | string The UUID of the Certificate Authority (CA) |
| username required | string The username of the user associated with the CA binding |
[- {
- "caUuid": "2f2d63a8-b29c-4404-ae10-81f5ff023a69",
- "username": "john.doe"
}
]{- "code": 200,
- "msg": "Success",
- "data": null,
- "timestamp": "2025-04-04T16:16:02+08:00"
}Batch bind users to specified CA certificate
List of CA-User binding entities
| caUuid required | string The UUID of the Certificate Authority (CA) |
| username required | string The username of the user associated with the CA binding |
[- {
- "caUuid": "2f2d63a8-b29c-4404-ae10-81f5ff023a69",
- "username": "john.doe"
}
]{- "code": 200,
- "msg": "Success",
- "data": null,
- "timestamp": "2025-04-04T16:16:02+08:00"
}Unbind a specified CA certificate from a user
CA-User binding entity
| caUuid required | string The UUID of the Certificate Authority (CA) |
| username required | string The username of the user associated with the CA binding |
{- "caUuid": "2f2d63a8-b29c-4404-ae10-81f5ff023a69",
- "username": "john.doe"
}{- "code": 200,
- "msg": "Success",
- "data": null,
- "timestamp": "2025-04-04T16:16:02+08:00"
}Bind a specified CA for user to sign SSL certificates
CA-User binding entity
| caUuid required | string The UUID of the Certificate Authority (CA) |
| username required | string The username of the user associated with the CA binding |
{- "caUuid": "2f2d63a8-b29c-4404-ae10-81f5ff023a69",
- "username": "john.doe"
}{- "code": 200,
- "msg": "Success",
- "data": null,
- "timestamp": "2025-04-04T16:16:02+08:00"
}Update the comment of the CA allocated to the user
| uuid required | string Example: 3885be11-4084-4538-9fa0-70ffe4c4cbe0 CA UUID |
Update comment
{- "comment": "This is a comment"
}{- "code": 200,
- "msg": "Success",
- "data": null,
- "timestamp": "2025-04-04T16:16:02+08:00"
}Modify the availability of the CA allocated to the user
| uuid required | string Example: 3885be11-4084-4538-9fa0-70ffe4c4cbe0 CA UUID |
{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Retrieve all users (paged)
| keyword | string Example: keyword=user Search keywords (Can be username, display name, and email) |
| page | integer <int32> Default: 1 Example: page=1 Page number |
| limit | integer <int32> Default: 10 Example: limit=10 Page limit |
| orderBy | string Example: orderBy=username Order by field |
| isAsc | boolean Default: true Example: isAsc=true Ascending or descending |
{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Calculate the total number of users
| role | integer <int32> Default: 0 Role of the user (0: all user, 1: user, 2: admin, 3: superadmin) |
{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Count the number of SSL/CA certificates signed by a CA certificate
| uuid required | string Example: 3885be11-4084-4538-9fa0-70ffe4c4cbe0 CA UUID |
| caOrSsl | boolean Default: false Flag of CA or SSL (true if count ca certificates, false if count ssl certificates) |
{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Obtain the CA certificate allocated to the user
| uuid required | string Example: 3885be11-4084-4538-9fa0-70ffe4c4cbe0 CA UUID |
| isChain | boolean Default: false Example: isChain=true Whether to get the certificate chain |
| needRootCa | boolean Default: true Example: needRootCa=true Whether to get the root CA certificate in the chain |
{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Retrieve all user information bound to a ca (paged)
| uuid required | string Example: 3885be11-4084-4538-9fa0-70ffe4c4cbe0 CA UUID |
| keyword | string Example: keyword=user Search keywords (Can be username, display name, and email) |
| page | integer <int32> Default: 1 Example: page=1 Page number |
| limit | integer <int32> Default: 10 Example: limit=10 Page limit |
| orderBy | string Example: orderBy=username Order by field |
| isAsc | boolean Default: true Example: isAsc=true Ascending or descending |
{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Retrieve all user information not bound to a ca (paged)
| uuid required | string Example: 3885be11-4084-4538-9fa0-70ffe4c4cbe0 CA UUID |
| keyword | string Example: keyword=user Search keywords (Can be username, display name, and email) |
| page | integer <int32> Default: 1 Example: page=1 Page number |
| limit | integer <int32> Default: 10 Example: limit=10 Page limit |
| orderBy | string Example: orderBy=username Order by field |
| isAsc | boolean Default: true Example: isAsc=true Ascending or descending |
{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}Count the number of user requested CA certificates
| condition | string Default: "none" Example: condition=none Condition of the CA certificate |
{- "code": "200",
- "msg": "Success",
- "data": "string",
- "timestamp": "2025-03-19T01:38:31+08:00"
}