Skip to content

Commit b63698a

Browse files
committed
improve readme
1 parent e2ca7f8 commit b63698a

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -83,21 +83,6 @@ PUT - `/schema/deactivate` Deactivates a schema by id. The schema will no longer
8383
</p>
8484
</details>
8585

86-
POST - `/schema/garbage_collect` Removes all schemas except the most recent N of every service. Returns the removed schemas. This could be called by a [trigger](https://developers.cloudflare.com/workers/platform/cron-triggers).
87-
88-
<details>
89-
<summary>Example Request</summary>
90-
<p>
91-
92-
```jsonc
93-
{
94-
"num_schemas_keep": 10 // minimum is 10
95-
}
96-
```
97-
98-
</p>
99-
</details>
100-
10186
### Validation
10287

10388
POST - `/schema/diff` Returns the schema report of all services and the provided new schema.
@@ -171,7 +156,22 @@ DELETE - `/persisted_query` Deletes persisted query from KV Storage.
171156
</p>
172157
</details>
173158

174-
### Monitoring
159+
### Monitoring / Maintanance
160+
161+
POST - `/schema/garbage_collect` Removes all schemas except the most recent N of every service. Returns the removed schemas. This could be called by a [trigger](https://developers.cloudflare.com/workers/platform/cron-triggers).
162+
163+
<details>
164+
<summary>Example Request</summary>
165+
<p>
166+
167+
```jsonc
168+
{
169+
"num_schemas_keep": 10 // minimum is 10
170+
}
171+
```
172+
173+
</p>
174+
</details>
175175

176176
GET - `/health` healthcheck endpoint.
177177

0 commit comments

Comments
 (0)