Spaces:
Sleeping
Sleeping
Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,12 +1,20 @@
|
|
| 1 |
---
|
| 2 |
title: WaveSign API
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
-
license: apache-2.0
|
| 9 |
-
short_description: Invisible file signing and tamper detection for images& docs
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: WaveSign API
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: indigo
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# WaveSign API
|
| 11 |
+
|
| 12 |
+
Private API space β not publicly accessible.
|
| 13 |
+
|
| 14 |
+
All endpoints (except `/health`) require an `Authorization: Bearer <key>` header matching the `WS_API_KEY` environment variable configured for this Space.
|
| 15 |
+
|
| 16 |
+
## Endpoints
|
| 17 |
+
|
| 18 |
+
- `GET /health` β liveness check, no auth required
|
| 19 |
+
- `POST /sign` β sign an image or PDF; returns a ZIP containing the signed file and `sig.json`
|
| 20 |
+
- `POST /verify` β verify a previously signed file against its `sig.json`; returns a JSON result
|