mirror of
https://github.com/dyzulk/trustlab-docs.git
synced 2026-01-26 13:32:08 +07:00
refactor: migrate to official nextra i18n and native navigation
This commit is contained in:
4
pages/en/developer/_meta.json
Normal file
4
pages/en/developer/_meta.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"index": "Overview",
|
||||
"endpoints": "Endpoints"
|
||||
}
|
||||
16
pages/en/developer/endpoints.mdx
Normal file
16
pages/en/developer/endpoints.mdx
Normal file
@@ -0,0 +1,16 @@
|
||||
# Endpoints
|
||||
|
||||
## Certificates
|
||||
|
||||
### List Certificates
|
||||
`GET /certificates`
|
||||
|
||||
### Request Certificate
|
||||
`POST /certificates`
|
||||
|
||||
```json
|
||||
{
|
||||
"csr": "-----BEGIN CERTIFICATE REQUEST-----...",
|
||||
"validity_days": 365
|
||||
}
|
||||
```
|
||||
18
pages/en/developer/index.mdx
Normal file
18
pages/en/developer/index.mdx
Normal file
@@ -0,0 +1,18 @@
|
||||
# Developer API
|
||||
|
||||
Welcome to the TrustLab API documentation.
|
||||
You can use our REST API to automate certificate issuance, revocation, and retrieval for your internal services.
|
||||
|
||||
## Base URL
|
||||
|
||||
```http
|
||||
https://trustlab.dyzulk.com/api/v1
|
||||
```
|
||||
|
||||
## Authentication
|
||||
|
||||
All API requests must include your API Key in the `Authorization` header.
|
||||
|
||||
```bash
|
||||
Authorization: Bearer <YOUR_API_KEY>
|
||||
```
|
||||
Reference in New Issue
Block a user