Skip to content

Commit

Permalink
improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
StarpTech authored Apr 24, 2021
1 parent 13f6a17 commit 440add3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ POST - `/schema/validate` Validate schema between provided and latest schemas.
</p>
</details>

### Monitoring

GET - `/health` healthcheck endpoint.

### Persisted Queries

GET - `/persisted_query?key=foo` Looks up persisted query from KV Storage.
Expand All @@ -104,7 +100,7 @@ POST - `/persisted_query` Adds persisted query to the KV Storage.
<summary>Example Request</summary>
<p>

```json
```jsonc
{
"key": "apq:foo",
"query": "query",
Expand All @@ -131,6 +127,10 @@ DELETE - `/persisted_query` Deletes persisted query from KV Storage.
</p>
</details>

### Monitoring

GET - `/health` healthcheck endpoint.

### Authentication

Clients authenticate via [`Basic-Auth`](https://en.wikipedia.org/wiki/Basic_access_authentication). You have to set the cloudflare secret `ALLOWED_CLIENT_SECRETS=secret1,secret2`. The secret is used as user and pass combination.
Expand Down

0 comments on commit 440add3

Please sign in to comment.