Skip to content

Commit

Permalink
Remove certificate id
Browse files Browse the repository at this point in the history
  • Loading branch information
lomigmegard committed Aug 16, 2024
1 parent 4de1273 commit 98a7f57
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,25 +44,19 @@ Request body:
}
```

Response body:
```json
{
"certificate_id": "<opaque identifier>"
}
```
Response body is empty.

### Get certificate

This endpoint get the status of the certificate and its value when computed.

```
GET /zkcertificate/:id
GET /zkcertificate?user_id=<id>
```

Response body:
```json
{
"status": "...",
"certificate": "..."
}
```
Expand Down

0 comments on commit 98a7f57

Please sign in to comment.