roseluo commited on
Commit
18dd133
Β·
verified Β·
1 Parent(s): 88b2f48

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -6
README.md CHANGED
@@ -1,12 +1,20 @@
1
  ---
2
  title: WaveSign API
3
- emoji: πŸ“Š
4
- colorFrom: indigo
5
- colorTo: purple
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
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
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