You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+10-25
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,8 @@ run();
110
110
111
111
### [events](docs/sdks/events/README.md)
112
112
113
+
*[getWorkspaceEvents](docs/sdks/events/README.md#getworkspaceevents) - Load recent events for a particular workspace
114
+
*[getWorkspaceTargets](docs/sdks/events/README.md#getworkspacetargets) - Load targets for a particular workspace
113
115
*[postWorkspaceEvents](docs/sdks/events/README.md#postworkspaceevents) - Post events for a specific workspace
114
116
<!-- End Available Resources and Operations [operations] -->
115
117
@@ -264,13 +266,14 @@ const sdk = new Speakeasy({defaultClient: httpClient});
264
266
265
267
### Per-Client Security Schemes
266
268
267
-
This SDK supports the following security scheme globally:
269
+
This SDK supports the following security schemes globally:
268
270
269
-
| Name | Type | Scheme |
270
-
| -------- | -------- | -------- |
271
-
|`apiKey`| apiKey | API key |
271
+
| Name | Type | Scheme |
272
+
| ----------- | ----------- | ----------- |
273
+
|`apiKey`| apiKey | API key |
274
+
|`bearer`| http | HTTP Bearer |
272
275
273
-
You can set the security parameters through the `security` optional parameter when initializing the SDK client instance. For example:
276
+
You can set the security parameters through the `security` optional parameter when initializing the SDK client instance. The selected scheme will be used by default to authenticate with the API for all operations that support it. For example:
A parameter is configured globally. This parameter may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, This global value will be used as the default on the operations that use it. When such operations are called, there is a place in each to override the global value, if needed.
304
307
305
-
For example, you can set `workspaceID` to `"<value>"` at SDK initialization and then you do not have to pass the same value on calls to operations like `postWorkspaceEvents`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
308
+
For example, you can set `workspaceID` to `"<value>"` at SDK initialization and then you do not have to pass the same value on calls to operations like `getWorkspaceEvents`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
306
309
307
310
308
311
### Available Globals
@@ -318,10 +321,6 @@ The following global parameter is available.
0 commit comments