feat: implement hybrid landing page and developer api section

This commit is contained in:
dyzulk
2026-01-08 20:35:47 +07:00
parent 3533d630d8
commit b376dd6620
9 changed files with 152 additions and 13 deletions

View File

@@ -0,0 +1,4 @@
{
"index": "Overview",
"endpoints": "Endpoints"
}

View 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/developer/index.mdx Normal file
View 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>
```