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
*[ValidateApiKey](docs/sdks/speakeasy/README.md#validateapikey) - Validate the current api key.
51
-
52
50
### [Apis](docs/sdks/apis/README.md)
53
51
54
52
*[DeleteApi](docs/sdks/apis/README.md#deleteapi) - Delete an Api.
@@ -86,23 +84,25 @@ var res = await sdk.Apis.GetApisAsync(req);
86
84
*[GetSchemas](docs/sdks/schemas/README.md#getschemas) - Get information about all schemas associated with a particular apiID.
87
85
*[RegisterSchema](docs/sdks/schemas/README.md#registerschema) - Register a schema.
88
86
87
+
### [Auth](docs/sdks/auth/README.md)
88
+
89
+
*[ValidateApiKey](docs/sdks/auth/README.md#validateapikey) - Validate the current api key.
90
+
89
91
### [Requests](docs/sdks/requests/README.md)
90
92
91
93
*[GenerateRequestPostmanCollection](docs/sdks/requests/README.md#generaterequestpostmancollection) - Generate a Postman collection for a particular request.
92
94
*[GetRequestFromEventLog](docs/sdks/requests/README.md#getrequestfromeventlog) - Get information about a particular request.
93
95
*[QueryEventLog](docs/sdks/requests/README.md#queryeventlog) - Query the event log to retrieve a list of requests.
94
96
95
-
### [Plugins](docs/sdks/plugins/README.md)
96
-
97
-
*[GetPlugins](docs/sdks/plugins/README.md#getplugins) - Get all plugins for the current workspace.
98
-
*[RunPlugin](docs/sdks/plugins/README.md#runplugin) - Run a plugin
99
-
*[UpsertPlugin](docs/sdks/plugins/README.md#upsertplugin) - Upsert a plugin
100
-
101
97
### [Embeds](docs/sdks/embeds/README.md)
102
98
103
99
*[GetEmbedAccessToken](docs/sdks/embeds/README.md#getembedaccesstoken) - Get an embed access token for the current workspace.
104
100
*[GetValidEmbedAccessTokens](docs/sdks/embeds/README.md#getvalidembedaccesstokens) - Get all valid embed access tokens for the current workspace.
105
101
*[RevokeEmbedAccessToken](docs/sdks/embeds/README.md#revokeembedaccesstoken) - Revoke an embed access EmbedToken.
102
+
103
+
### [Events](docs/sdks/events/README.md)
104
+
105
+
*[PostWorkspaceEvents](docs/sdks/events/README.md#postworkspaceevents) - Post events for a specific workspace
106
106
<!-- End Available Resources and Operations [operations] -->
107
107
108
108
@@ -142,17 +142,80 @@ You can set the security parameters through the `security` optional parameter wh
142
142
```csharp
143
143
usingSpeakeasySDK;
144
144
usingSpeakeasySDK.Models.Shared;
145
+
usingSpeakeasySDK.Models.Operations;
145
146
146
-
varsdk=newSpeakeasy(security: newSecurity() {
147
+
varsdk=newSpeakeasy(
148
+
security: newSecurity() {
147
149
APIKey="<YOUR_API_KEY_HERE>",
148
-
});
150
+
},
151
+
workspaceID: "string");
152
+
153
+
DeleteApiRequestreq=newDeleteApiRequest() {
154
+
ApiID="string",
155
+
VersionID="string",
156
+
};
149
157
150
-
varres=awaitsdk.ValidateApiKeyAsync();
158
+
varres=awaitsdk.Apis.DeleteApiAsync(req);
151
159
152
160
// handle response
153
161
```
154
162
<!-- End Authentication [security] -->
155
163
164
+
<!-- Start Global Parameters [global-parameters] -->
165
+
## Global Parameters
166
+
167
+
## Global Parameters
168
+
169
+
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.
170
+
171
+
For example, you can set `workspaceID` to `"string"` 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.
172
+
173
+
174
+
### Available Globals
175
+
176
+
The following global parameter is available.
177
+
178
+
| Name | Type | Required | Description |
179
+
| ---- | ---- |:--------:| ----------- |
180
+
| workspaceID | string || The WorkspaceID parameter. |
0 commit comments