Skip to content

Commit 6fbdbc6

Browse files
[Docs Site] Update pinned api-schemas commit (#24652)
* [Docs Site] Update pinned api-schemas commit to bafa67041798bebefd77ad1e4148f9a55527cf50 --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Pedro Sousa <[email protected]>
1 parent 8048b0d commit 6fbdbc6

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

src/content/docs/logs/instant-logs.mdx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,15 @@ Below we have three examples of filters:
6767
Example request using cURL:
6868

6969
<APIRequest
70-
path="/zones/{zone_id}/logpush/edge"
71-
method="POST"
72-
json={{
73-
fields: "ClientIP,ClientRequestHost,ClientRequestMethod,ClientRequestURI,EdgeEndTimestamp,EdgeResponseBytes,EdgeResponseStatus,EdgeStartTimestamp,RayID",
74-
sample: 100,
75-
filter: "",
76-
kind: "instant-logs"
77-
}}
70+
path="/zones/{zone_id}/logpush/edge/jobs"
71+
method="POST"
72+
json={{
73+
fields:
74+
"ClientIP,ClientRequestHost,ClientRequestMethod,ClientRequestURI,EdgeEndTimestamp,EdgeResponseBytes,EdgeResponseStatus,EdgeStartTimestamp,RayID",
75+
sample: 100,
76+
filter: "",
77+
kind: "instant-logs",
78+
}}
7879
/>
7980

8081
Response:

src/util/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import SwaggerParser from "@apidevtools/swagger-parser";
22
import type { OpenAPI } from "openapi-types";
33

4-
const COMMIT = "f800c3f3a8528c05b4199ebbbb82c5af9a644ad9";
4+
const COMMIT = "bafa67041798bebefd77ad1e4148f9a55527cf50";
55
let schema: OpenAPI.Document | undefined;
66

77
export const getSchema = async () => {

0 commit comments

Comments
 (0)