We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ffc3ed commit a3cf61aCopy full SHA for a3cf61a
.changeset/eight-masks-shop.md
@@ -0,0 +1,5 @@
1
+---
2
+"@squarecloud/api-types": minor
3
4
+
5
+Add typings for `/apps/:appId/network/purge_cache`
rest/v2/network.ts
@@ -8,3 +8,12 @@ export interface RESTPostAPINetworkCustomDomainJSONBody {
8
}
9
10
export type RESTPostAPINetworkCustomDomainResultPayload = APIPayloadStatusOnly;
11
12
+/**
13
+ * @see https://docs.squarecloud.app/api-reference/endpoint/apps/network/purge_cache
14
+ */
15
+export interface RESTPostAPINetworkPurgeCacheJSONBody {
16
+ paths: string[];
17
+}
18
19
+export type RESTPostAPINetworkPurgeCacheResultPayload = APIPayloadStatusOnly;
0 commit comments